-
Install plugins
Prettier
Solidity
Tools for solidity
-
Execute the following commands:
yarn yarn compile
-
Copy
.env.example
to.env
and fill in the valuescp .env.example .env
on one terminal
npx hardhat node
on another terminal
npx hardhat run scripts/deploy.ts --network localhost
yarn deploy
After deployment, a json file will be generated in deployments/
folder.
yarn verify
It will pop up a prompt, require user to input the json file path in deployments/
folder
yarn test