Open sandeepV2 opened 12 months ago
defaultNetwork: "sepolia",
networks: { sepolia: { url: RPC_API_KEY, // accounts: [WALLET_PRIVATE_KEY], accounts: [
0x${WALLET_PRIVATE_KEY}
], chainID: 5, }, },
Following steps helped me to unblock the issue:
I think this change has to be mentioned in the lesson, when users hit failure.
Hey @sandeepV2
Sorry for the very, very long wait.
Please be sure to enter your command like so:
npx hardhat run scripts/deploy.js --network sepolia
Your terminal needs to read the commands in the correct order. Here hardhat
will recognise the following run
as a command. If followed by --network
, it will throw an error because Hardhat won't recognise it as a command.
Hope this helps 😃
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
npx hardhat --network sepolia run scripts/deploy.js
Expected behavior Deploy the NFT on sepolia test net.
Screenshots/ERROR
Desktop (please complete the following information):