RLN contract
Go to file
Keshav Gupta 9c7926ad01
Readme file for testing and deployment
2022-09-25 23:48:17 +02:00
contracts Solidity compiler 2022-08-09 16:39:57 +02:00
scripts Deploy and test scripts. 2022-08-09 15:27:34 +02:00
test Deploy and test scripts. 2022-08-09 15:27:34 +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:48:17 +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 SNTcontract compiler version mismatch. 2022-08-09 14:43:53 +02:00
package.json SNTcontract compiler version mismatch. 2022-08-09 14:43:53 +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