76 lines
2.4 KiB
JSON
Raw Normal View History

2018-04-10 11:42:36 -04:00
{
"blockchain": {
"account": "0x9e14016ba37b23498885864053fded5226161a3a",
"rpcHost": "localhost",
"rpcPort": 8545
},
"whisper": {
"privateKey": "0x1d8ef80c9933e20fa9720bf82f3ad481c6be9e44920932c008bb76655a211add",
"protocol": "ws",
"host": "localhost",
"port": 8546,
"ttl": 20,
"minPow": 0.8,
"powTime": 1000
},
2018-04-11 09:56:25 -04:00
"tokens": {
"0x0000000000000000000000000000000000000000": {
2018-04-11 09:56:25 -04:00
"minRelayFactor": 1,
"name": "Ethereum",
"symbol": "ETH"
},
"0x00000000000000000000000000000000000ABeEF": {
2018-04-11 09:56:25 -04:00
"minRelayFactor": 1000000000000,
"name": "RandomToken",
"symbol": "RDN",
"pricePlugin": "../plugins/token-utils.js"
2018-04-11 09:56:25 -04:00
}
},
2018-04-10 11:42:36 -04:00
"contracts":{
"IdentityGasRelay": {
"isIdentity": true,
2018-04-11 09:56:25 -04:00
"factoryAddress": "0x96f0811c6484c59c2674da1f64e725c01d82c1b5",
2018-04-10 11:42:36 -04:00
"abiFile": "../abi/IdentityGasRelay.json",
"allowedFunctions": [
{
"function": "approveAndCallGasRelayed(address,address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
"to": "_to",
"value": "_value",
"data": "_data",
2018-04-11 09:56:25 -04:00
"gasPrice": "_gasPrice",
2018-04-10 11:42:36 -04:00
"isToken": true,
"token": "_baseToken"
},
{
"function": "callGasRelayed(address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
"to": "_to",
"value": "_value",
"data": "_data",
2018-04-11 09:56:25 -04:00
"gasPrice": "_gasPrice",
2018-04-10 11:42:36 -04:00
"isToken": false
}
]
},
"SNTController": {
"isIdentity": false,
"address": "0x96f0811c6484c59c2674da1f64e725c01d82c1b5",
"abiFile": "../abi/SNTController.json",
"allowedFunctions": [
{
"function":"transferSNT(address,uint256,uint256,uint256,bytes)",
"to": "_to",
"value": "_amount"
},
{
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)",
"to": "_to",
"value": "_amount"
}
]
}
}
}