Hardhat basic usage with forked mainnet and console.log for POLYGON TESTNET (mumbai)
Must fill a .env
file with proper Key data, check .evn.example
Install dependencies with npm install
or yarn
npm run compile
yarn compile
npm run test
yarn test
NOTE: unit test is mean for local blockchain, not testnet nor mainnet. (it will deploy a new contract)
npm run deploy
yarn deploy
npm run deploy-testnet
yarn deploy-testnet