c30913520f | ||
---|---|---|
contracts | ||
scripts | ||
test | ||
.env.example | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.npmignore | ||
.prettierignore | ||
.prettierrc | ||
.solhint.json | ||
.solhintignore | ||
README.md | ||
hardhat.config.ts | ||
package-lock.json | ||
package.json | ||
tsconfig.json |
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