classic-relayer/config.js

23 lines
689 B
JavaScript
Raw Normal View History

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-07-18 10:05:09 -04:00
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51',
privateKey: process.env.PRIVATE_KEY,
2019-09-19 15:56:45 -04:00
mixers: [ {
address: process.env.ETH_MIXER_ADDRESS,
2019-11-26 10:01:37 -05:00
currency: 'eth',
amount: '0.1'
2019-09-19 15:56:45 -04:00
},
{
address: process.env.DAI_MIXER_ADDRESS,
2019-11-26 10:01:37 -05:00
currency: 'dai',
amount: '100'
2019-09-19 15:56:45 -04:00
} ],
2019-07-23 12:07:33 -04:00
defaultGasPrice: 2,
2019-09-19 11:21:57 -04:00
gasOracleUrls: ['https://www.etherchain.org/api/gasPriceOracle', 'https://gasprice.poa.network/'],
2019-11-23 03:18:54 -05:00
port: process.env.APP_PORT,
//dai
2019-11-26 10:01:37 -05:00
tokens: ['0x6b175474e89094c44da98b954eedeac495271d0f'],
relayerServiceFee: process.env.RELAYER_FEE
2019-07-18 10:05:09 -04:00
}