Bandada smart contracts to manage off-chain groups and verify their zero-knowledge proofs.
Install the @bandada/contracts
package with npm:
npm i @bandada/contracts
or yarn:
yarn add @bandada/contracts
Compile the smart contracts with Hardhat:
yarn compile
Run Mocha to test the contracts:
yarn test
You can also generate a test coverage report:
yarn test:coverage
Or a test gas report:
yarn test:report-gas
Deploy a bandada contract:
yarn deploy:bandada
# or
yarn deploy:bandada-semaphore
If you want to deploy contracts on Sepolia or Arbitrum, remember to provide a valid private key and an Infura API in your .env
file.