Waku's Fork of the RLN contract
Go to file
s1fr0 20d98afcda
fix(rln): no need to expose hash in Rln.sol
2022-10-04 01:16:33 +02:00
contracts fix(rln): no need to expose hash in Rln.sol 2022-10-04 01:16:33 +02:00
scripts Using unindexed events. Setting depth to 20 2022-06-23 18:21:08 +02:00
test refactor(poseidon): use correct constants in poseidon, i.e. hardcode Bn254(2,8,56) 2022-10-04 01:09:33 +02:00
.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 Readme file for testing and deployment 2022-09-25 23:49:21 +02:00
hardhat.config.ts Config using .env for private key and alchemy api 2022-06-23 17:25:07 +02: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

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