build-test-circuits-c
ts-node ./ts/compile.ts --cWitness
build-test-circuits-wasm
ts-node ./ts/compile.ts
gen-zkeys
ts-node ./ts/genZkeys.ts
info
NODE_OPTIONS=--max-old-space-size=4096 ts-node ./ts/info.ts
watch
tsc --watch
build
tsc -p tsconfig.build.json
circom:build
NODE_OPTIONS=--max-old-space-size=4096 circomkit compile
circom:setup
NODE_OPTIONS=--max-old-space-size=4096 circomkit setup
types
tsc -p tsconfig.json --noEmit
mocha-test
NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit -g '^(?!.*\[fuzz\]).*$'
test
pnpm run mocha-test ts/__tests__/*.test.ts
test:fuzz
NODE_OPTIONS=--max-old-space-size=4096 ts-mocha --exit -g '\[fuzz\]' ./ts/__tests__/*.test.ts
test:hasher
pnpm run mocha-test ts/__tests__/Hasher.test.ts
test:slAndBallotTransformer
pnpm run mocha-test ts/__tests__/StateLeafAndBallotTransformer.test.ts
test:messageToCommand
pnpm run mocha-test ts/__tests__/MessageToCommand.test.ts
test:messageValidator
pnpm run mocha-test ts/__tests__/MessageValidator.test.ts
test:verifySignature
pnpm run mocha-test ts/__tests__/VerifySignature.test.ts
test:splicer
pnpm run mocha-test ts/__tests__/Splicer.test.ts
test:privToPubKey
pnpm run mocha-test ts/__tests__/PrivToPubKey.test.ts
test:calculateTotal
pnpm run mocha-test ts/__tests__/CalculateTotal.test.ts
test:processMessages
pnpm run mocha-test ts/__tests__/ProcessMessages.test.ts
test:tallyVotes
pnpm run mocha-test ts/__tests__/TallyVotes.test.ts
test:ceremonyParams
pnpm run mocha-test ts/__tests__/CeremonyParams.test.ts
test:incrementalQuinaryTree
pnpm run mocha-test ts/__tests__/IncrementalQuinaryTree.test.ts