Skip to content

Error HH100: Network rinkeby doesn't exist #444

Discussion options

You must be logged in to vote

@shahbaz41290 You are exporting the module twice, and the second one overrides the first one, where no network is defined.

you should change it like this

module.exports = {
  defaultNetwork: "hardhat",
  networks: {
    rinkeby: {
      url: RINKEYBY_RPC_URL,
      accunts: [PRIVATE_KEY],
      chainId: 4,
    },
  },
  solidity: "0.8.4",
  etherscan: {
    apiKey: ETHERSCAN_API_KEY,
  },
};

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@shahbaz41290
Comment options

Answer selected by alymurtazamemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants