From ea376285394602459ecb4a43432ff0bae5320e24 Mon Sep 17 00:00:00 2001 From: Max Hampshire Date: Fri, 1 Apr 2022 16:29:04 +0200 Subject: [PATCH] updated .env file + uncommented networks in hardhat config file --- .../hardhat.config.js | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/contracts/basic-bandwidth-generation/hardhat.config.js b/contracts/basic-bandwidth-generation/hardhat.config.js index cdbf642536..152d1faf02 100644 --- a/contracts/basic-bandwidth-generation/hardhat.config.js +++ b/contracts/basic-bandwidth-generation/hardhat.config.js @@ -22,22 +22,22 @@ module.exports = { localhost: { url: "http://127.0.0.1:8545" }, - // rinkeby: { - // url: process.env.RINKEBY_URL, //Infura url with projectId - // accounts: [process.env.PRIV_KEY], // private key of account used for contract interaction - // gas: "auto", - // gasPrice: "auto" - // }, - // mainnet: { - // url: process.env.MAINNET_URL, //Infura url with projectId - // accounts: [process.env.PRIV_KEY], // private key of account used for contract interaction - // gas: "auto", - // gasPrice: "auto" - // } + rinkeby: { + url: process.env.RINKEBY_URL, //Infura url with projectId + accounts: [process.env.PRIV_KEY], // private key of account used for contract interaction + gas: "auto", + gasPrice: "auto" + }, + mainnet: { + url: process.env.MAINNET_URL, //Infura url with projectId + accounts: [process.env.PRIV_KEY], // private key of account used for contract interaction + gas: "auto", + gasPrice: "auto" + } }, etherscan: { // Your API key for Etherscan // Obtain one at https://etherscan.io/ - // apiKey: process.env.ETHERSCAN_API_KEY + apiKey: process.env.ETHERSCAN_API_KEY } };