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