2017-02-10 00:38:02 +00:00
|
|
|
{
|
|
|
|
"default": {
|
2017-07-05 12:35:51 +00:00
|
|
|
"versions": {
|
2017-10-07 19:20:51 +00:00
|
|
|
"web3.js": "1.0.0-beta",
|
2017-10-22 13:27:13 +00:00
|
|
|
"solc": "0.4.17"
|
2017-07-05 12:35:51 +00:00
|
|
|
},
|
|
|
|
"deployment": {
|
|
|
|
"host": "localhost",
|
2017-07-06 00:24:28 +00:00
|
|
|
"port": 8545,
|
|
|
|
"type": "rpc"
|
2017-07-05 12:35:51 +00:00
|
|
|
},
|
|
|
|
"dappConnection": [
|
|
|
|
"$WEB3",
|
2017-07-06 22:48:20 +00:00
|
|
|
"http://localhost:8550",
|
|
|
|
"http://localhost:8545",
|
|
|
|
"http://localhost:8550"
|
2017-07-05 12:35:51 +00:00
|
|
|
],
|
2017-02-10 00:38:02 +00:00
|
|
|
"gas": "auto",
|
|
|
|
"contracts": {
|
2017-07-16 18:11:37 +00:00
|
|
|
"Ownable": {
|
|
|
|
"deploy": false
|
|
|
|
},
|
2017-02-10 00:38:02 +00:00
|
|
|
"SimpleStorage": {
|
|
|
|
"args": [
|
|
|
|
100
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"AnotherStorage": {
|
|
|
|
"args": [
|
|
|
|
"$SimpleStorage"
|
|
|
|
]
|
2017-02-10 02:05:45 +00:00
|
|
|
},
|
|
|
|
"Token": {
|
|
|
|
"deploy": false,
|
|
|
|
"args": [1000]
|
|
|
|
},
|
2017-12-20 14:41:52 +00:00
|
|
|
"Test": {
|
|
|
|
"onDeploy": [
|
2018-01-05 20:10:47 +00:00
|
|
|
"Test.methods.changeAddress('$MyToken')"
|
2017-12-20 14:41:52 +00:00
|
|
|
]
|
|
|
|
},
|
2017-02-10 02:05:45 +00:00
|
|
|
"MyToken": {
|
|
|
|
"instanceOf": "Token"
|
|
|
|
},
|
|
|
|
"MyToken2": {
|
|
|
|
"instanceOf": "Token",
|
2017-02-10 02:41:45 +00:00
|
|
|
"args": [200]
|
2017-02-10 02:05:45 +00:00
|
|
|
},
|
|
|
|
"AlreadyDeployedToken": {
|
2017-10-07 19:20:51 +00:00
|
|
|
"address": "0xece374063fe5cc7efbaca0a498477cada94e5ad6",
|
2017-02-10 02:05:45 +00:00
|
|
|
"instanceOf": "Token"
|
2017-12-19 19:07:48 +00:00
|
|
|
},
|
|
|
|
"MyToken3": {
|
|
|
|
"instanceOf": "Tokn"
|
2017-02-10 00:38:02 +00:00
|
|
|
}
|
2017-12-21 16:21:36 +00:00
|
|
|
},
|
|
|
|
"afterDeploy": [
|
2018-01-05 20:10:47 +00:00
|
|
|
"Test.methods.changeAddress('$MyToken')",
|
|
|
|
"web3.eth.getAccounts((err, accounts) => Test.methods.changeAddress(accounts[0]))"
|
2017-12-21 16:21:36 +00:00
|
|
|
]
|
2017-02-10 02:41:45 +00:00
|
|
|
},
|
|
|
|
"development": {
|
|
|
|
"contracts": {
|
|
|
|
"MyToken2": {
|
|
|
|
"instanceOf": "Token",
|
|
|
|
"args": [2000]
|
|
|
|
}
|
|
|
|
}
|
2017-02-10 00:38:02 +00:00
|
|
|
}
|
|
|
|
}
|