Skip to content

Commit

Permalink
minor improvements in config
Browse files Browse the repository at this point in the history
  • Loading branch information
zaryab2000 committed Mar 1, 2024
1 parent a487450 commit 56e4a7d
Showing 1 changed file with 20 additions and 30 deletions.
50 changes: 20 additions & 30 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,13 @@ module.exports = {
// ETH Network
goerli: {
url: `https://goerli.infura.io/v3/${process.env.INFURA_PROJECT_ID}`, // <---- YOUR INFURA ID! (or it won't work)
accounts: {
mnemonic: mnemonic(),
},
accounts: [process.env.PRIVATE]

},
sepolia: {
url: `https://sepolia.infura.io/v3/${process.env.INFURA_PROJECT_ID}`,
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},
mainnet: {
url: `https://mainnet.infura.io/v3/${process.env.INFURA_PROJECT_ID}`, // <---- YOUR INFURA ID! (or it won't work)
Expand All @@ -91,15 +89,13 @@ module.exports = {
// Polygon Chain
polygonMumbai: {
url: `https://rpc-mumbai.maticvigil.com/`, // <---- YOUR INFURA ID! (or it won't work)
accounts: {
mnemonic: mnemonic(),
},
accounts: [process.env.PRIVATE]

},
polygon: {
url: `https://polygon-rpc.com/`, // <---- YOUR INFURA ID! (or it won't work)
accounts: {
mnemonic: mnemonic(),
},
accounts: [process.env.PRIVATE]

},

// BSC Chain
Expand All @@ -111,37 +107,32 @@ module.exports = {
},
bscMainnet: {
url: "https://bsc-dataseed1.binance.org/",
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},

// Polygon zkEVM Chain
zkEVMTestnet: {
url: "https://rpc.public.zkevm-test.net ",
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},
zkEVMMainnet: {
url: "https://zkevm-rpc.com ",
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},

// Optimisim Chain
optimismSepolia: {
url: "https://sepolia.optimism.io",
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},
optimismMainnet: {
url: "https://mainnet.optimism.io",
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},

// Arbitrum Sepolia
Expand All @@ -153,9 +144,8 @@ module.exports = {
// Linea Chain
linea: {
url: `https://rpc.goerli.linea.build/`,
accounts: {
mnemonic: mnemonic(),
}
accounts: [process.env.PRIVATE]

},

//Fuse Mainnet
Expand Down

0 comments on commit 56e4a7d

Please sign in to comment.