scaffold-eth / scaffold-eth-challenges

Scaffold-Eth 🏗 Challenges repository
https://speedrunethereum.com
652 stars 3.3k forks source link

Error HH100: Network goerli doesn't exist #289

Closed GratefulLion21 closed 1 year ago

GratefulLion21 commented 1 year ago

Getting error message, when I run npx hardhat run script/deploy.js --network goerli

Terminal error response:Error HH100: Network goerli doesn't exist

For more info go to https://hardhat.org/HH100 or run Hardhat with --show-stack-traces

require("@nomicfoundation/hardhat-toolbox"); require("dotenv").config(); require("@nomiclabs/hardhat-ethers");

/* @type import('hardhat/config').HardhatUserConfig /

module.exports = { solidity: "0.8.7", Network:{ hardhat: { Goerli: { url: process.env.RPC_URL, account: [process.env.PRIVATE_KEY], }, }, }, etherscan: { apiKey: process.env.ETHERSCAN_KEY, }, };