Problem in Sepolia network
Opened this issue · 1 comments
sahilihas commented
After I compile deployment file in deploy.js file and run npx hardhat run scripts/deploy.js --network sepolia command its shows me "Error HH100: Sepolia Network doesn't exist".
How to solve this??
NeoZ666 commented
You need to update your network in the hardhat.config.js file. Here's the code :
sepolia: {
url: "https://sepolia.infura.io/v3/<your_infura_key>",
accounts: privateKey(),
}
Add your infura key by creating a project on Infura and enable Sepolia under Ethereum if it's not already. Now it shouldn't cause any problems.