3.5.0 • Published 2 years ago
@semaphore-protocol/cli-template-hardhat v3.5.0
Semaphore Hardhat template
This project demonstrates a basic Semaphore use case. It comes with a sample contract, a test for that contract and a sample task that deploys that contract.
Usage
Compile
yarn compile
Testing
yarn test
You can also generate a test coverage report:
yarn test:coverage
Or a test gas report:
yarn test:report-gas
Deploy
- Copy the
.env.example
file as.env
.
cp .env.example .env
- Add your environment variables.
Note
You should at least set a valid Ethereum URL (e.g. Infura) and a private key with some ethers.
- And deploy your contract.
yarn deploy --semaphore <semaphore-address> --group <group-id> --network goerli
Note
Check the Semaphore contract addresses here.Warning
The group id is a number!
3.4.0
2 years ago
3.2.2
2 years ago
3.3.0
2 years ago
3.2.1
2 years ago
3.2.0
2 years ago
3.5.0
2 years ago
3.2.3
2 years ago
3.1.0
2 years ago
3.0.0
2 years ago
3.0.0-beta.8
2 years ago
3.0.0-beta.7
2 years ago
3.0.0-beta.6
2 years ago
3.0.0-beta.5
2 years ago
0.5.0
2 years ago
0.4.0
2 years ago
0.3.0
2 years ago
0.2.0
3 years ago
0.1.0
3 years ago