Skip to content

Commit

Permalink
fix: Deploy Contract Error: Network goerli doesn't exist
Browse files Browse the repository at this point in the history
basic/14-chainlink-price-feed:
npx hardhat run scripts/01-PriceConsumerV3Deploy.js --network goerli
  • Loading branch information
since2006 committed Dec 7, 2023
1 parent c86ec0f commit af0571a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions basic/14-chainlink-price-feed/hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ module.exports = {
// url: mainnetRpcUrl
// }
},
// goerli: {
// url: 'https://goerli.infura.io/v3/' + process.env.INFURA_ID, //<---- YOUR INFURA ID! (or it won't work)
// accounts: [mnemonic()],
// },
goerli: {
url: 'https://goerli.infura.io/v3/' + process.env.INFURA_ID, //<---- YOUR INFURA ID! (or it won't work)
accounts: [mnemonic()],
},
},
namedAccounts: {
deployer: {
Expand Down

0 comments on commit af0571a

Please sign in to comment.