mirror of
https://github.com/vacp2p/rln-contract.git
synced 2025-01-09 22:05:47 +00:00
Aaryamann Challani
e31da6ac40
Merge pull request #12 from vacp2p/disallow-multiple-registrations
fix: disallow dupe registrations
The RLN and PoseidonHasher smart contracts are initially borrowed from the following repository https://github.com/kilic/rlnapp and some modifications are made on top of them. They may undertake further changes in the future as needed.
Hardhat Project for Rln-membership-contract
Compilation
npx hardhat compile
Testing
npx hardhat test
Deploying
- To deploy on local node, first start the local node and then run the deploy script
npx hardhat node
npx hardhat run --network localhost scripts/deploy.ts
- To deploy to an target network (like Goerli), use the name as mentioned in the Hardhat config file.
npx hardhat run --network <your-network> scripts/deploy.js
References
For more information, see https://hardhat.org/hardhat-runner/docs/guides/project-setup
Description
Languages
Shell
90.2%
Python
9.8%