2018-07-19 16:20:38 -04:00

83 lines
2.5 KiB
JSON

{
"gasPrice": 20,
"node": {
"local":{
"protocol": "ws",
"host": "localhost",
"port": 8546
},
"ganache": {
"protocol": "http",
"host": "localhost",
"port": 8545
},
"blockchain": {
"account": "0x47B9F15c410E2f254E5e065ca515379b090c63e1"
},
"whisper": {
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
"ttl": 20,
"minPow": 0.8,
"powTime": 1000
}
},
"heartbeat": {
"enabled": true,
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b"
},
"tokens": {
"0x0000000000000000000000000000000000000000": {
"name": "Ethereum",
"symbol": "ETH",
"minAccepted":{
"value": 1,
"currency": "USD"
}
},
"0xD10e6dAe987Dcc0B3ADaA375C9f59690a4C97a27": {
"name": "Status Network Token",
"symbol": "SNT",
"minAccepted":{
"value": 1,
"currency": "USD"
},
"pricePlugin": "../plugins/token-utils.js"
}
},
"contracts":{
"IdentityGasRelay": {
"abiFile": "../abi/IdentityGasRelay.json",
"isIdentity": true,
"factoryAddress": "0x9AA17f02d8f6Bc2553d06c60f99Bcc97Cd5E5A89",
"kernelVerification": "isKernel(bytes32)",
"allowedFunctions": [
{
"function": "approveAndCallGasRelayed(address,address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
"isToken": true
},
{
"function": "callGasRelayed(address,uint256,bytes,uint256,uint256,uint256,address,bytes)",
"isToken": false
}
],
"strategy": "../src/strategy/IdentityGasRelay.js"
},
"SNTController": {
"abiFile": "../abi/SNTController.json",
"isIdentity": false,
"address": "0x96f0811c6484c59c2674da1f64e725c01d82c1b5",
"allowedFunctions": [
{
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
},
{
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)"
}
]
}
}
}