- npm install
- change .env file with the public and private key
- npx hardhat compile
- npx hardhat run --network mainnet scripts/deploy.js
- npx hardhat run --network testnet scripts/deploy.js
- npx hardhat --network localhost run scripts/deploy.js
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/deploy.js
npx hardhat help
- accounts: [
0x${process.env.PRIVATEKEY}
] - 0 required in private key
- In case of 504 Gateway Time-out: Try back again in some time or else we need to change the node