2019-07-18 16:05:09 +02:00
|
|
|
require('dotenv').config()
|
|
|
|
|
|
|
|
module.exports = {
|
2019-11-26 16:01:37 +01:00
|
|
|
netId: Number(process.env.NET_ID) || 42,
|
2019-12-12 11:58:58 +01:00
|
|
|
redisUrl: process.env.REDIS_URL,
|
2019-07-18 16:05:09 +02:00
|
|
|
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51',
|
|
|
|
privateKey: process.env.PRIVATE_KEY,
|
2019-12-02 13:49:24 +01:00
|
|
|
mixers: {
|
|
|
|
netId1: {
|
|
|
|
dai: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:57:28 +01:00
|
|
|
'100': '0xD4B88Df4D29F5CedD6857912842cff3b20C8Cfa3',
|
2019-12-02 13:49:24 +01:00
|
|
|
'500': undefined,
|
|
|
|
'1000': undefined,
|
|
|
|
'5000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
|
|
decimals: 18
|
|
|
|
},
|
|
|
|
eth: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:01:26 +01:00
|
|
|
'0.1': '0x12D66f87A04A9E220743712cE6d9bB1B5616B8Fc',
|
2019-12-16 23:57:28 +01:00
|
|
|
'1': '0x47CE0C6eD5B0Ce3d3A51fdb1C52DC66a7c3c2936',
|
|
|
|
'10': '0x910Cbd523D972eb0a6f4cAe4618aD62622b39DbF',
|
2019-12-02 13:49:24 +01:00
|
|
|
'100': undefined
|
|
|
|
},
|
|
|
|
decimals: 18
|
|
|
|
}
|
|
|
|
},
|
|
|
|
netId42: {
|
|
|
|
dai: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:57:28 +01:00
|
|
|
'100': '0x7832f65F4030113C007538f29AbC6C13241d4478',
|
2019-12-02 13:49:24 +01:00
|
|
|
'500': undefined,
|
|
|
|
'1000': undefined,
|
|
|
|
'5000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x8c158c7e57161dd4d3cb02bf1a3a97fcc78b75fd',
|
|
|
|
decimals: 18
|
|
|
|
},
|
|
|
|
eth: {
|
|
|
|
mixerAddress: {
|
2019-12-16 23:57:28 +01:00
|
|
|
'0.1': '0x8b3f5393bA08c24cc7ff5A66a832562aAB7bC95f',
|
|
|
|
'1': '0xD6a6AC46d02253c938B96D12BE439F570227aE8E',
|
|
|
|
'10': '0xe1BE96331391E519471100c3c1528B66B8F4e5a7',
|
2019-12-02 13:49:24 +01:00
|
|
|
'100': undefined
|
|
|
|
},
|
|
|
|
decimals: 18
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2019-07-23 18:07:33 +02:00
|
|
|
defaultGasPrice: 2,
|
2019-12-05 13:51:01 +01:00
|
|
|
gasOracleUrls: ['https://ethgasstation.info/json/ethgasAPI.json', 'https://gasprice.poa.network/'],
|
2019-11-23 09:18:54 +01:00
|
|
|
port: process.env.APP_PORT,
|
2019-11-28 20:04:21 +01:00
|
|
|
relayerServiceFee: Number(process.env.RELAYER_FEE)
|
2019-07-18 16:05:09 +02:00
|
|
|
}
|