topic-democracy/config/blockchain.js

54 lines
917 B
JavaScript

module.exports = {
default: {
enabled: true,
client: "geth"
},
development: {
client: 'ganache-cli',
clientConfig: {
miningMode: 'dev'
}
},
testnet: {
networkType: "testnet",
syncMode: "light",
accounts: [
{
nodeAccounts: true,
password: "config/testnet/.password"
}
]
},
livenet: {
networkType: "livenet",
syncMode: "light",
rpcCorsDomain: "http://localhost:8000",
wsOrigins: "http://localhost:8000",
accounts: [
{
nodeAccounts: true,
password: "config/livenet/.password"
}
]
},
rinkeby: {
enabled: true,
networkType: "rinkeby",
syncMode: "light",
rpcHost: "localhost",
rpcPort: 8545,
rpcCorsDomain: "http://localhost:8000",
accounts: [
{
nodeAccounts: true,
password: "config/rinkeby/.password"
}
],
}
};