topic-democracy/config/blockchain.js

54 lines
917 B
JavaScript
Raw Normal View History

module.exports = {
2019-03-28 23:16:54 +00:00
default: {
enabled: true,
2020-10-15 06:01:36 +00:00
client: "geth"
2019-03-28 23:16:54 +00:00
},
development: {
2020-10-15 06:01:36 +00:00
client: 'ganache-cli',
clientConfig: {
miningMode: 'dev'
}
},
2019-03-28 23:16:54 +00:00
testnet: {
networkType: "testnet",
syncMode: "light",
2019-01-12 13:42:31 +00:00
accounts: [
{
nodeAccounts: true,
password: "config/testnet/.password"
}
2019-03-28 23:16:54 +00:00
]
},
2019-03-28 23:16:54 +00:00
livenet: {
networkType: "livenet",
syncMode: "light",
rpcCorsDomain: "http://localhost:8000",
2019-03-28 23:16:54 +00:00
wsOrigins: "http://localhost:8000",
2019-01-12 13:42:31 +00:00
accounts: [
{
nodeAccounts: true,
password: "config/livenet/.password"
}
2019-03-28 23:16:54 +00:00
]
},
rinkeby: {
enabled: true,
networkType: "rinkeby",
syncMode: "light",
rpcHost: "localhost",
rpcPort: 8545,
rpcCorsDomain: "http://localhost:8000",
2019-01-12 13:42:31 +00:00
accounts: [
{
nodeAccounts: true,
password: "config/rinkeby/.password"
}
],
}
2019-03-28 23:16:54 +00:00
};