Skip to content

Commit

Permalink
dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
artur committed Dec 22, 2020
1 parent c7fd713 commit b9982e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
require("hardhat-deploy");
require("dotenv").config();
const networks = require("./networks");

/**
Expand All @@ -13,12 +14,18 @@ module.exports = {
chainId: 999,
from: networks.development.accounts.Governor.address,
gasPrice: parseInt(networks.development.gasPrice, 10),
accounts: {
mnemonic: process.env.MNENOMIC,
},
},
ropsten: {
url: "http://46.165.249.37:8545",
chainId: 3,
from: networks.ropsten.accounts.Governor.address,
gasPrice: parseInt(networks.ropsten.gasPrice, 10),
accounts: {
mnemonic: process.env.MNENOMIC,
},
},
},
};

0 comments on commit b9982e9

Please sign in to comment.