2022-09-25 23:49:21 +02:00

30 lines
600 B
Markdown

# Hardhat Project for Rln-membership-contract
## Compilation
```shell
npx hardhat compile
```
## Testing
```shell
npx hardhat test
```
## Deploying
- To deploy on local node, first start the local node and then run the deploy script
```shell
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.
```shell
npx hardhat run --network <your-network> scripts/deploy.js
```
## References
For more information, see https://hardhat.org/hardhat-runner/docs/guides/project-setup