tornado-relayer/config.js

23 lines
689 B
JavaScript
Raw Normal View History

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