Test npx hardhat compile npx hardhat test Deploy on mainnet fork Run a fork npx hardhat node --fork https://cloudflare-eth.com Deploy npx hardhat compile npx hardhat run scripts/deploy.js Deploy on mainnet npx hardhat run --network mainnet scripts/deploy.js