npm i
npm run test
npm run test:gas-report
npx hardhat run --network <network> scripts/deploy/deploy.ts
Available networks:
localhost
. You need to run a local node withnpx hardhat node
deploy
. You must need to export NETWORK with the desired one. E.g:NETWORK=MUMBAI npx hardhat run --network deploy scripts/deploy.ts