@bandada/contracts

2.2.6 • Public • Published

Bandada contracts

Bandada smart contracts to manage off-chain groups and verify their zero-knowledge proofs.

Github license NPM version Downloads


🛠 Install

npm or yarn

Install the @bandada/contracts package with npm:

npm i @bandada/contracts

or yarn:

yarn add @bandada/contracts

📜 Usage

Compile contracts

Compile the smart contracts with Hardhat:

yarn compile

Testing

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 contracts

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.

Package Sidebar

Install

npm i @bandada/contracts

Weekly Downloads

25

Version

2.2.6

License

MIT

Unpacked Size

12 kB

Total Files

7

Last publish

Collaborators

  • vplasencia
  • saleel
  • cedoor