Skip to content

Files

Latest commit

17804d5 Β· Feb 28, 2025

History

History

contracts

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 28, 2025
Mar 24, 2023
Jun 15, 2023
Mar 18, 2023
Feb 16, 2023
Jan 17, 2023
Jun 19, 2023
Feb 19, 2024
Mar 7, 2024
May 4, 2023
Feb 27, 2023

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.