rln-contract/README.md

890 B

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