1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-26 07:55:24 +00:00
discover/config/blockchain.js

31 lines
730 B
JavaScript
Raw Normal View History

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