Closed GratefulLion21 closed 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, }, };
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, }, };