tornado-relayer/config.js

56 lines
1.5 KiB
JavaScript
Raw Normal View History

2019-07-18 17:05:09 +03:00
require('dotenv').config()
module.exports = {
2019-11-26 18:01:37 +03:00
netId: Number(process.env.NET_ID) || 42,
2019-07-18 17:05:09 +03:00
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51',
privateKey: process.env.PRIVATE_KEY,
2019-12-03 16:26:16 +03:00
nonce: 0,
2019-12-02 15:49:24 +03: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 19:07:33 +03:00
defaultGasPrice: 2,
gasOracleUrls: ['https://ethgasstation.info/json/ethgasAPI.json', 'https://gasprice.poa.network/'],
2019-11-23 11:18:54 +03:00
port: process.env.APP_PORT,
2019-11-28 22:04:21 +03:00
relayerServiceFee: Number(process.env.RELAYER_FEE)
2019-07-18 17:05:09 +03:00
}