Skip to content

Latest commit

 

History

History

contracts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.