Hardhat is used to manage smart contract deployment and testing.
yarn install | npm run install
: To install all packages and plugins.env
: Check the.env.exmaple
.secret
: Where your memonic needs to be
yarn test
: Test scripts will be executed from/test
yarn deploy:${network}
: Available networksmainnet
,rinkeyby
,goerli
,localhost
. For custom network it's configurable onhardhat.config.js
Deploy Script will automatically verify the contractyarn compile
: Compile the contracts from/contracts
yarn run-node
: Running a node instance on the local network. We use this to obeserving the events and transactions.