2018-08-09 20:31:38 +00:00
|
|
|
module.exports = {
|
|
|
|
"node": {
|
|
|
|
"local":{
|
|
|
|
"protocol": "ws",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": 8546
|
|
|
|
},
|
|
|
|
"ganache": {
|
|
|
|
"protocol": "http",
|
|
|
|
"host": "localhost",
|
|
|
|
"port": 8545
|
|
|
|
},
|
|
|
|
"blockchain": {
|
2018-10-10 19:43:31 +00:00
|
|
|
// DO NOT USE THIS ACCOUNT ON MAINNET - IT IS ONLY FOR DEV PURPOSES
|
|
|
|
// For dev chain, address: 0x5b9b5db9cde96fda2e2c88e83f1b833f189e01f4 has this privKey
|
|
|
|
privateKey: "b2ab40d549e67ba67f278781fec03b3a90515ad4d0c898a6326dd958de1e46fa" //
|
|
|
|
|
|
|
|
|
2018-10-10 19:31:04 +00:00
|
|
|
// privateKey: "your_private_key",
|
|
|
|
|
2018-10-10 19:43:31 +00:00
|
|
|
|
2018-10-10 19:31:04 +00:00
|
|
|
// privateKeyFile: "path/to/file"
|
|
|
|
|
|
|
|
// mnemonic: "12 word mnemonic",
|
|
|
|
// addressIndex: "0", // Optionnal. The index to start getting the address
|
|
|
|
// hdpath: "m/44'/60'/0'/0/" // Optionnal. HD derivation path
|
2018-08-09 20:31:38 +00:00
|
|
|
},
|
|
|
|
"whisper": {
|
|
|
|
"symKey": "0xd0d905c1c62b810b787141430417caf2b3f54cffadb395b7bb39fdeb8f17266b",
|
2018-09-14 13:31:35 +00:00
|
|
|
"ttl": 1000,
|
|
|
|
"minPow": 0.2,
|
|
|
|
"powTime": 1000
|
2018-08-09 20:31:38 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"tokens": {
|
|
|
|
"0x0000000000000000000000000000000000000000": {
|
|
|
|
"name": "Ethereum",
|
|
|
|
"symbol": "ETH",
|
2018-09-18 13:11:53 +00:00
|
|
|
"minAcceptedRate": 1,
|
|
|
|
"refreshPricePeriod": 60000
|
2018-08-09 20:31:38 +00:00
|
|
|
},
|
2018-08-10 14:30:40 +00:00
|
|
|
"%STTAddress%": {
|
2018-08-09 20:31:38 +00:00
|
|
|
"name": "Status Test Token",
|
2018-08-13 15:11:28 +00:00
|
|
|
"symbol": "SNT",
|
2018-10-09 21:25:10 +00:00
|
|
|
"minAcceptedRate": 150000000000000,
|
2018-09-18 13:11:53 +00:00
|
|
|
"refreshPricePeriod": 60000,
|
2018-08-09 20:31:38 +00:00
|
|
|
"pricePlugin": "../plugins/token-utils.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
|
|
|
|
"contracts":{
|
|
|
|
"IdentityGasRelay": {
|
|
|
|
"abiFile": "../abi/IdentityGasRelay.json",
|
|
|
|
"isIdentity": true,
|
2018-08-10 14:30:40 +00:00
|
|
|
"factoryAddress": "%IdentityFactoryAddress%",
|
2018-08-09 20:31:38 +00: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 14:30:40 +00:00
|
|
|
"address": "%SNTController%",
|
2018-08-09 20:31:38 +00:00
|
|
|
"allowedFunctions": [
|
|
|
|
{
|
|
|
|
"function":"transferSNT(address,uint256,uint256,uint256,bytes)"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"function":"executeGasRelayed(address,bytes,uint256,uint256,uint256,bytes)"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"strategy": "../src/strategy/SNTStrategy.js"
|
|
|
|
}
|
2018-10-09 21:25:10 +00:00
|
|
|
},
|
|
|
|
"gasPrice": {
|
|
|
|
"modifier": 50000, // Added/removed to current network gas price
|
|
|
|
"maxPrice": 20000000000 // 20 gwei
|
2018-08-09 20:31:38 +00:00
|
|
|
}
|
|
|
|
};
|