71 lines
1.3 KiB
JSON
71 lines
1.3 KiB
JSON
{
|
|
"default": {
|
|
"versions": {
|
|
"web3.js": "1.0.0-beta",
|
|
"solc": "0.4.17"
|
|
},
|
|
"deployment": {
|
|
"host": "localhost",
|
|
"port": 8545,
|
|
"type": "rpc"
|
|
},
|
|
"dappConnection": [
|
|
"$WEB3",
|
|
"http://localhost:8550",
|
|
"http://localhost:8545",
|
|
"http://localhost:8550"
|
|
],
|
|
"gas": "auto",
|
|
"contracts": {
|
|
"Ownable": {
|
|
"deploy": false
|
|
},
|
|
"SimpleStorage": {
|
|
"args": [
|
|
100
|
|
]
|
|
},
|
|
"AnotherStorage": {
|
|
"args": [
|
|
"$SimpleStorage"
|
|
]
|
|
},
|
|
"Token": {
|
|
"deploy": false,
|
|
"args": [1000]
|
|
},
|
|
"Test": {
|
|
"onDeploy": [
|
|
"Test.changeAddress('$MyToken')"
|
|
]
|
|
},
|
|
"MyToken": {
|
|
"instanceOf": "Token"
|
|
},
|
|
"MyToken2": {
|
|
"instanceOf": "Token",
|
|
"args": [200]
|
|
},
|
|
"AlreadyDeployedToken": {
|
|
"address": "0xece374063fe5cc7efbaca0a498477cada94e5ad6",
|
|
"instanceOf": "Token"
|
|
},
|
|
"MyToken3": {
|
|
"instanceOf": "Tokn"
|
|
}
|
|
},
|
|
"afterDeploy": [
|
|
"Test.changeAddress('$MyToken')",
|
|
"Test.changeAddress(web3.eth.accounts[1])"
|
|
]
|
|
},
|
|
"development": {
|
|
"contracts": {
|
|
"MyToken2": {
|
|
"instanceOf": "Token",
|
|
"args": [2000]
|
|
}
|
|
}
|
|
}
|
|
}
|