Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in Sepolia network #438

Open
sahilihas opened this issue Mar 12, 2024 · 1 comment
Open

Problem in Sepolia network #438

sahilihas opened this issue Mar 12, 2024 · 1 comment

Comments

@sahilihas
Copy link

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
Copy link

NeoZ666 commented Apr 15, 2024

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(),
    }

Create_new_apikey

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.
Enable_sepolia

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants