Update hardhat.config.js

This commit is contained in:
Thrilok kumar 2021-03-31 22:27:21 +05:30 committed by GitHub
parent 674824e7c6
commit bd31d7568f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,12 +29,7 @@ module.exports = {
] ]
}, },
networks: { networks: {
mainnet: { default: "hardhat",
url: process.env.ETH_NODE_URL,
chainId: 1,
timeout: 500000,
accounts: [`0x${PRIVATE_KEY}`]
},
kovan: { kovan: {
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`, url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`,
accounts: [`0x${PRIVATE_KEY}`] accounts: [`0x${PRIVATE_KEY}`]