-
Install plugins
PrettierSolidityTools for solidity
-
Execute the following commands:
yarn yarn compile
-
Copy
.env.exampleto.envand fill in the valuescp .env.example .env
on one terminal
npx hardhat nodeon another terminal
npx hardhat run scripts/deploy.ts --network localhostyarn deployAfter deployment, a json file will be generated in deployments/ folder.
yarn verifyIt will pop up a prompt, require user to input the json file path in deployments/ folder
yarn test