RLN contract
Go to file
Aaryamann Challani e31da6ac40
Merge pull request #12 from vacp2p/disallow-multiple-registrations
fix: disallow dupe registrations
2022-12-01 10:06:09 +05:30
contracts fix: disallow dupe registrations 2022-11-25 14:34:30 +05:30
scripts Using unindexed events. Setting depth to 20 2022-06-23 18:21:08 +02:00
test fix: disallow dupe registrations 2022-11-25 14:34:30 +05:30
.env.example Initializing Repository 2022-06-23 15:36:10 +02:00
.eslintignore Initializing Repository 2022-06-23 15:36:10 +02:00
.eslintrc.js Initializing Repository 2022-06-23 15:36:10 +02:00
.gitignore Initializing Repository 2022-06-23 15:36:10 +02:00
.npmignore Initializing Repository 2022-06-23 15:36:10 +02:00
.prettierignore Initializing Repository 2022-06-23 15:36:10 +02:00
.prettierrc Initializing Repository 2022-06-23 15:36:10 +02:00
.solhint.json Initializing Repository 2022-06-23 15:36:10 +02:00
.solhintignore Initializing Repository 2022-06-23 15:36:10 +02:00
README.md rewords 2022-11-25 17:07:22 -08:00
hardhat.config.ts fix: solidity version 2022-10-26 08:32:48 -04:00
package-lock.json Packages import, RLN name case sensitivity 2022-06-23 15:57:09 +02:00
package.json Packages import, RLN name case sensitivity 2022-06-23 15:57:09 +02:00
tsconfig.json Initializing Repository 2022-06-23 15:36:10 +02:00

README.md

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