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: {
|
|
|
|
'100': undefined,
|
|
|
|
'500': undefined,
|
|
|
|
'1000': undefined,
|
|
|
|
'5000': undefined
|
|
|
|
},
|
|
|
|
tokenAddress: '0x6b175474e89094c44da98b954eedeac495271d0f',
|
|
|
|
decimals: 18
|
|
|
|
},
|
|
|
|
eth: {
|
|
|
|
mixerAddress: {
|
|
|
|
'0.1': undefined,
|
|
|
|
'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 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
|
|
|
}
|