@webb-tools/semaphore

v0.0.1-5
A library to help deploy Semaphore usage on typescript.

build:watch

rollup -c rollup.config.ts -w --configPlugin typescript

compile

rimraf -rf ./dist ./cache ./build/contracts; yarn compile:contracts && rollup -c rollup.config.ts --configPlugin typescript

prepublishOnly

yarn compile

docs

typedoc src/index.ts --out ../../docs/proof

start

hardhat node

compile:contracts

npx hardhat compile

deploy:verifier

hardhat deploy:verifier

deploy:verifiers

hardhat run scripts/deploy-verifiers.ts

deploy:semaphore

hardhat deploy:semaphore

deploy:semaphore-voting

hardhat deploy:semaphore-voting

deploy:semaphore-whistleblowing

hardhat deploy:semaphore-whistleblowing

verify:contracts

hardhat run scripts/verify-contracts.ts

test

npx hardhat test --no-compile

test:report-gas

REPORT_GAS=true hardhat test

test:coverage

hardhat coverage --no-compile

typechain

hardhat typechain

lint

solhint 'contracts/**/*.sol'
npm i @webb-tools/semaphore

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 12/20/2022

Downloads