Skip to content

Commit

Permalink
chore: update hardhat.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dp committed Mar 22, 2023
1 parent 5939d5a commit 8fa9a5b
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions hardhat.config.js
@@ -1,7 +1,7 @@
require('@nomiclabs/hardhat-waffle');
require('hardhat-gas-reporter');
require('solidity-coverage');
const secrets = require('./.secrets.json');
// const secrets = require('./.secrets.json');

module.exports = {
solidity: {
Expand Down Expand Up @@ -33,24 +33,27 @@ module.exports = {
defaultNetwork: 'hardhat',
networks: {
hardhat: {},
ropsten: {
url: secrets.ropsten.rpc,
accounts: {
mnemonic: secrets.ropsten.mnemonic,
path: "m/44'/60'/0'/0",
initialIndex: 0,
count: 1,
},
},
ganache: {
url: secrets.ganache.rpc,
accounts: {
mnemonic: secrets.ganache.mnemonic,
path: "m/44'/60'/0'/0",
initialIndex: 0,
count: 1,
},
coverage: {
url: 'http://127.0.0.1:8555', // Coverage launches its own ganache-cli client
},
// ropsten: {
// url: secrets.ropsten.rpc,
// accounts: {
// mnemonic: secrets.ropsten.mnemonic,
// path: "m/44'/60'/0'/0",
// initialIndex: 0,
// count: 1,
// },
// },
// ganache: {
// url: secrets.ganache.rpc,
// accounts: {
// mnemonic: secrets.ganache.mnemonic,
// path: "m/44'/60'/0'/0",
// initialIndex: 0,
// count: 1,
// },
// },
},
gasReporter: {
currency: 'USD',
Expand Down

0 comments on commit 8fa9a5b

Please sign in to comment.