79 lines
2.4 KiB
JavaScript
Raw Normal View History

2018-08-09 16:31:38 -04:00
module.exports = {
"gasPrice": 20,
"node": {
"local":{
"protocol": "ws",
"host": "localhost",
"port": 8546
},
"ganache": {
"protocol": "http",
"host": "localhost",
"port": 8545
},
"blockchain": {
"account": "0xb8d851486d1c953e31a44374aca11151d49b8bb3"
},
"whisper": {
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
2018-09-14 09:31:35 -04:00
"ttl": 1000,
"minPow": 0.2,
"powTime": 1000
2018-08-09 16:31:38 -04:00
}
},
"tokens": {
"0x0000000000000000000000000000000000000000": {
"name": "Ethereum",
"symbol": "ETH",
"minAccepted":{
"value": 1,
"currency": "USD"
}
},
2018-08-10 10:30:40 -04:00
"%STTAddress%": {
2018-08-09 16:31:38 -04:00
"name": "Status Test Token",
2018-08-13 11:11:28 -04:00
"symbol": "SNT",
2018-08-09 16:31:38 -04:00
"minAccepted":{
"value": 1,
"currency": "USD"
},
"pricePlugin": "../plugins/token-utils.js"
}
},
"contracts":{
"IdentityGasRelay": {
"abiFile": "../abi/IdentityGasRelay.json",
"isIdentity": true,
2018-08-10 10:30:40 -04:00
"factoryAddress": "%IdentityFactoryAddress%",
2018-08-09 16:31:38 -04:00
"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/IdentityStrategy.js"
},
"SNTController": {
"abiFile": "../abi/SNTController.json",
"isIdentity": false,
2018-08-10 10:30:40 -04:00
"address": "%SNTController%",
2018-08-09 16:31:38 -04:00
"allowedFunctions": [
{
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
},
{
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)"
}
],
"strategy": "../src/strategy/SNTStrategy.js"
}
}
};