From 433afcef66d59fbaa7684c3272950e2629fcab5f Mon Sep 17 00:00:00 2001 From: andytudhope Date: Wed, 7 Aug 2019 11:47:39 +0200 Subject: [PATCH] Updates after mainnet deployment --- config/blockchain.js | 2 +- config/contracts.js | 11 ++++++----- shared.mainnet.chains.json | 14 ++++++++++++++ 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 shared.mainnet.chains.json diff --git a/config/blockchain.js b/config/blockchain.js index a6944ec..16d626d 100644 --- a/config/blockchain.js +++ b/config/blockchain.js @@ -137,7 +137,7 @@ module.exports = { accounts: [ { nodeAccounts: true, - password: 'config/livenet/password', + password: 'config/livenet/password' }, ], }, diff --git a/config/contracts.js b/config/contracts.js index 2eb1681..ec3f827 100644 --- a/config/contracts.js +++ b/config/contracts.js @@ -1,4 +1,5 @@ -const wallet = require('./development/mnemonic') +const wallet = require('./livenet/mnemonic') +const devWallet = require('./development/mnemonic') module.exports = { // default applies to all environments @@ -33,7 +34,7 @@ module.exports = { accounts: [ { - mnemonic: wallet.mnemonic, + mnemonic: devWallet.mnemonic, balance: '1534983463450 ether', }, ], @@ -104,7 +105,7 @@ module.exports = { deployment: { accounts: [ { - mnemonic: wallet.mnemonic, + mnemonic: devWallet.mnemonic, }, ], host: `ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`, @@ -137,7 +138,7 @@ module.exports = { deployment: { accounts: [ { - // TODO: configure deployment account method. + mnemonic: wallet.mnemonic, }, ], host: `mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`, @@ -150,7 +151,7 @@ module.exports = { 'https://mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a', ], dappAutoEnable: false, - // gasPrice: "10000000000", // 10gwei. TODO: Set a proper gas price for deployment. See ethgasstation.info + gasPrice: "10000000000", // 10gwei. TODO: Set a proper gas price for deployment. See ethgasstation.info contracts: { MiniMeTokenFactory: { deploy: false, diff --git a/shared.mainnet.chains.json b/shared.mainnet.chains.json new file mode 100644 index 0000000..78c34fc --- /dev/null +++ b/shared.mainnet.chains.json @@ -0,0 +1,14 @@ +{ + "0xd4e56740f876aef8c010b86a40d5f56745a118d0906a34e69aec8c0db1cb8fa3": { + "contracts": { + "0xe901d01d0cf8056c85c28f67149efafe606ac20707c3069b1c61a78c601779e1": { + "name": "MiniMeToken", + "address": "0x744d70fdbe2ba4cf95131626614a1763df805b9e" + }, + "0x2c30a28de2c0681904196c9f6c6103eafb5ec55c6ac882db28da05045878c3b7": { + "name": "Discover", + "address": "0x5bCF2767F86f14eDd82053bfBfd5069F68C2C5F8" + } + } + } +}