New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@bandada/contracts

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bandada/contracts

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

0.12.0
Version published
Weekly downloads
110
-43.01%
Maintainers
2
Weekly downloads
 
Created

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 Goerli or Arbitrum, remember to provide a valid private key and an Infura API in your .env file.

FAQs

Package last updated on 09 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts