contracts/config/blockchain.js

73 lines
1.3 KiB
JavaScript
Raw Normal View History

module.exports = {
2019-03-28 20:10:02 -03:00
default: {
enabled: true,
2019-03-28 20:10:02 -03:00
rpcHost: "localhost",
rpcPort: 8545,
rpcCorsDomain: {
auto: true,
additionalCors: []
},
wsRPC: true,
wsOrigins: {
auto: true,
additionalCors: []
},
wsHost: "localhost",
wsPort: 8546
},
development: {
ethereumClientName: "geth",
networkType: "custom",
networkId: 1337,
isDev: true,
datadir: ".embark/development/datadir",
mineWhenNeeded: true,
nodiscover: true,
maxpeers: 0,
proxy: true,
targetGasLimit: 8000000,
simulatorBlocktime: 0
},
2019-03-28 20:10:02 -03:00
testnet: {
networkType: "testnet",
syncMode: "light",
2019-01-12 11:42:31 -02:00
accounts: [
{
nodeAccounts: true,
password: "config/testnet/.password"
}
2019-03-28 20:10:02 -03:00
]
},
2019-03-28 20:10:02 -03:00
livenet: {
networkType: "livenet",
syncMode: "light",
rpcCorsDomain: "http://localhost:8000",
2019-03-28 20:10:02 -03:00
wsOrigins: "http://localhost:8000",
2019-01-12 11:42:31 -02:00
accounts: [
{
nodeAccounts: true,
password: "config/livenet/.password"
}
2019-03-28 20:10:02 -03:00
]
},
rinkeby: {
enabled: true,
networkType: "rinkeby",
syncMode: "light",
rpcHost: "localhost",
rpcPort: 8545,
rpcCorsDomain: "http://localhost:8000",
2019-01-12 11:42:31 -02:00
accounts: [
{
nodeAccounts: true,
password: "config/rinkeby/.password"
}
],
}
2019-03-28 20:10:02 -03:00
};