2018-05-11 22:51:11 +00:00
|
|
|
module.exports = {
|
|
|
|
// default applies to all enviroments
|
|
|
|
default: {
|
|
|
|
// rpc to deploy the contracts
|
|
|
|
deployment: {
|
|
|
|
host: "localhost",
|
|
|
|
port: 8545,
|
|
|
|
type: "rpc"
|
|
|
|
},
|
|
|
|
// order of connections the dapp should connect to
|
|
|
|
dappConnection: [
|
|
|
|
"$WEB3", // uses pre existing web3 object if available (e.g in Mist)
|
2018-06-12 16:33:21 +00:00
|
|
|
"ws://localhost:8546",
|
2018-05-11 22:51:11 +00:00
|
|
|
"http://localhost:8545"
|
|
|
|
],
|
|
|
|
gas: "auto",
|
|
|
|
contracts: {
|
|
|
|
// example:
|
|
|
|
//SimpleStorage: {
|
|
|
|
// args: [ 100 ]
|
|
|
|
//}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|