maci-circuits

v0.0.0-ci.b981f66
zk-SNARK circuits for MACI

test

ts-mocha --exit ts/__tests__/*.test.ts

build

tsc -p tsconfig.build.json

types

tsc -p tsconfig.json --noEmit

watch

tsc --watch

gen-zkeys

ts-node ./ts/genZkeys.ts

test:ecdh

ts-mocha --exit ts/__tests__/Ecdh.test.ts

test:hasher

ts-mocha --exit ts/__tests__/Hasher.test.ts

circom:build

NODE_OPTIONS=--max-old-space-size=4096 circomkit compile

circom:setup

NODE_OPTIONS=--max-old-space-size=4096 circomkit setup

test:splicer

ts-mocha --exit ts/__tests__/Splicer.test.ts

test:tallyVotes

NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit ts/__tests__/TallyVotes.test.ts

test:privToPubKey

ts-mocha --exit ts/__tests__/PrivToPubKey.test.ts

test:quinCheckRoot

ts-mocha --exit ts/__tests__/QuinCheckRoot.test.ts

test:unpackElement

ts-mocha --exit ts/__tests__/UnpackElement.test.ts

test:calculateTotal

ts-mocha --exit ts/__tests__/CalculateTotal.test.ts

test:ceremonyParams

ts-mocha --exit ts/__tests__/CeremonyParams.test.ts

test:processMessages

NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit ts/__tests__/ProcessMessages.test.ts

test:verifySignature

ts-mocha --exit ts/__tests__/VerifySignature.test.ts

build-test-circuits-c

ts-node ./ts/compile.ts --cWitness

test:messageToCommand

ts-mocha --exit ts/__tests__/MessageToCommand.test.ts

test:messageValidator

ts-mocha --exit ts/__tests__/MessageValidator.test.ts

build-test-circuits-wasm

ts-node ./ts/compile.ts

test:incrementalQuinTree

ts-mocha --exit ts/__tests__/IncrementalQuinTree.test.ts

test:slAndBallotTransformer

ts-mocha --exit ts/__tests__/StateLeafAndBallotTransformer.test.ts

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 1/29/2024

Downloads