1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-02-07 15:05:07 +00:00
discover/config/blockchain.js
Jonathan Rainville 863d9ea8e3
Update to Embark v5 (#62)
* chore: update to Embark v5

* fix: fix tests for Embark 5

* update Embark version and remove Geth client

* change contracts to deploy and add cross-env for Windows support

* feat: upgrade to Embark 5.1.nightly2

Fixes the problem of not exiting on build end

* update to Embark 5.1

Fixes issue where artifacts are not built
2020-01-30 11:45:09 +02:00

31 lines
730 B
JavaScript

if (!process.env.WALLET_MNEMONIC) {
throw Error('Env variable WALLET_MNEMONIC not defined!')
}
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',
},
],
},
development: {
networkType: 'testnet',
endpoint: `https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
},
testnet: {
networkType: 'testnet',
endpoint: `https://ropsten.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
},
livenet: {
endpoint: `https://mainnet.infura.io/v3/8675214b97b44e96b70d05326c61fd6a`,
},
}