24 lines
504 B
JavaScript
24 lines
504 B
JavaScript
|
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)
|
||
|
"http://localhost:8545"
|
||
|
],
|
||
|
gas: "auto",
|
||
|
contracts: {
|
||
|
SimpleStorage: {
|
||
|
fromIndex: 0,
|
||
|
args: [ 100 ]
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|