-
Run
npx hardhat nodeto create your local node. -
Run
npx hardhat run --network localhost scripts/deploy.tsto deploy.
- Run
npx hardhat testornpx hardhat test --network localhost
- Run
npx hardhat coverage
- Run
npx hardhat
- Do:
npx hardhat TASK_NAME
- For local deployment run
npx hardhat deploy-testnetsornpx hardhat deploy-testnets --network localhost - For testnet deployment run
npx hardhat deploy-testnets --network goerli
- Run
npx hardhat verify --network goerli "address"once contract is deployed
The verified contract can be found here.
npm install --save-dev @nomiclabs/hardhat-etherscan
npm install dotenv