2020-01-30 04:45:09 -05:00
|
|
|
if (!process.env.WALLET_MNEMONIC) {
|
|
|
|
throw Error('Env variable WALLET_MNEMONIC not defined!')
|
2019-08-07 16:16:03 -04:00
|
|
|
}
|
|
|
|
|
2019-05-27 17:22:45 +02:00
|
|
|
module.exports = {
|
|
|
|
default: {
|
|
|
|
enabled: true,
|
2019-08-12 09:54:36 -04:00
|
|
|
accounts: [
|
|
|
|
{
|
2020-01-30 04:45:09 -05:00
|
|
|
mnemonic: process.env.WALLET_MNEMONIC,
|
|
|
|
hdpath: process.env.HD_PATH, // If undefined, it will default to the default hd path
|
|
|
|
balance: '1534983463450 ether',
|
2019-08-12 09:54:36 -04:00
|
|
|
},
|
|
|
|
],
|
2019-05-27 17:22:45 +02:00
|
|
|
},
|
|
|
|
|
2020-01-30 04:45:09 -05:00
|
|
|
development: {
|
|
|
|
networkType: 'testnet',
|
|
|
|
endpoint: `https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
|
2019-05-27 17:22:45 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
testnet: {
|
|
|
|
networkType: 'testnet',
|
2020-01-30 04:45:09 -05:00
|
|
|
endpoint: `https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
|
2019-05-27 17:22:45 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
livenet: {
|
2020-01-30 04:45:09 -05:00
|
|
|
endpoint: `https://mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
|
2019-05-27 17:22:45 +02:00
|
|
|
},
|
|
|
|
}
|