maci-contracts

v0.0.0-ci.e5fc8f2
Solidity Smart Contracts for MACI (Minimal Anti-Collusion Infrastructure)

docs

hardhat docgen

test

hardhat test --network hardhat

build

tsc -p tsconfig.build.json

merge

hardhat merge

prove

hardhat prove

types

tsc -p tsconfig.json --noEmit

watch

tsc --watch

deploy

hardhat deploy-full

verify

hardhat verify-full

hardhat

hardhat node

prebuild

pnpm run compileSol

postbuild

cp -r ./artifacts ./build

test:maci

pnpm run test ./tests/MACI.test.ts

test:poll

pnpm run test ./tests/Poll.test.ts

compileSol

TS_NODE_TRANSPILE_ONLY=1 ts-node ./scripts/compileSol.ts

test:tally

pnpm run test ./tests/Tally.test.ts

deploy-poll

hardhat deploy-poll

test:hasher

pnpm run test ./tests/Hasher.test.ts

merge:scroll

pnpm run merge --network scroll

prove:scroll

pnpm run prove --network scroll

deploy:scroll

pnpm run deploy --network scroll

merge:sepolia

pnpm run merge --network sepolia

prove:sepolia

pnpm run prove --network sepolia

test:accQueue

pnpm run test ./tests/AccQueue.test.ts

test:verifier

pnpm run test ./tests/Verifier.test.ts

verify:scroll

pnpm run verify --network scroll

deploy:sepolia

pnpm run deploy --network sepolia

merge:arbitrum

pnpm run merge --network arbitrum

merge:optimism

pnpm run merge --network optimism

prove:arbitrum

pnpm run prove --network arbitrum

prove:optimism

pnpm run prove --network optimism

test:utilities

pnpm run test ./tests/Utilities.test.ts

verify:sepolia

pnpm run verify --network sepolia

deploy:arbitrum

pnpm run deploy --network arbitrum

deploy:optimism

pnpm run deploy --network optimism

merge:localhost

pnpm run merge

prove:localhost

pnpm run prove

test:tallyNonQv

pnpm run test ./tests/TallyNonQv.test.ts

test:vkRegistry

pnpm run test ./tests/VkRegistry.test.ts

verify:arbitrum

pnpm run verify --network arbitrum

verify:optimism

pnpm run verify --network optimism

deploy:localhost

pnpm run deploy

test:pollFactory

pnpm run test ./tests/PollFactory.test.ts

deploy-poll:scroll

pnpm run deploy-poll --network scroll

deploy-poll:sepolia

pnpm run deploy-poll --network sepolia

test:eas_gatekeeper

pnpm run test ./tests/EASGatekeeper.test.ts

deploy-poll:arbitrum

pnpm run deploy-poll --network arbitrum

deploy-poll:optimism

pnpm run deploy-poll --network optimism

merge:scroll-sepolia

pnpm run merge --network scroll_sepolia

prove:scroll-sepolia

pnpm run prove --network scroll_sepolia

test:hats_gatekeeper

pnpm run test ./tests/HatsGatekeeper.test.ts

deploy-poll:localhost

pnpm run deploy-poll

deploy:scroll-sepolia

pnpm run deploy --network scroll_sepolia

test:hasherBenchmarks

pnpm run test ./tests/HasherBenchmarks.test.ts

test:messageProcessor

pnpm run test ./tests/MessageProcessor.test.ts

test:signupGatekeeper

pnpm run test ./tests/SignUpGatekeeper.test.ts

verify:scroll-sepolia

pnpm run verify --network scroll_sepolia

merge:arbitrum-sepolia

pnpm run merge --network arbitrum_sepolia

merge:optimism-sepolia

pnpm run merge --network optimism_sepolia

prove:arbitrum-sepolia

pnpm run prove --network arbitrum_sepolia

prove:optimism-sepolia

pnpm run prove --network optimism_sepolia

test:accQueueBenchmark

pnpm run test ./tests/AccQueueBenchmark.test.ts

test:zupass_gatekeeper

pnpm run test ./tests/ZupassGatekeeper.test.ts

deploy:arbitrum-sepolia

pnpm run deploy --network arbitrum_sepolia

deploy:optimism-sepolia

pnpm run deploy --network optimism_sepolia

test:gitcoin_gatekeeper

pnpm run test ./tests/GitcoinPassportGatekeeper.test.ts

verify:arbitrum-sepolia

pnpm run verify --network arbitrum_sepolia

verify:optimism-sepolia

pnpm run verify --network optimism_sepolia

moveIntegrationArtifacts

cp -r artifacts/ ../integrationTests/artifacts

test:semaphore_gatekeeper

pnpm run test ./tests/SemaphoreGatekeeper.test.ts

deploy-poll:scroll-sepolia

pnpm run deploy-poll --network scroll_sepolia

deploy-poll:arbitrum-sepolia

pnpm run deploy-poll --network arbitrum_sepolia

deploy-poll:optimism-sepolia

pnpm run deploy-poll --network optimism_sepolia

Metadata

  • Unknown
  • Whatever
  • Unknown
  • released 7/16/2024

Downloads