service fee handling

This commit is contained in:
Alexey 2019-11-26 18:01:37 +03:00
parent ab088a0855
commit 1edc8ff69c
5 changed files with 24 additions and 15 deletions

View file

@ -1,20 +1,23 @@
require('dotenv').config()
module.exports = {
netId: process.env.NET_ID || 42,
netId: Number(process.env.NET_ID) || 42,
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/v3/a3f4d001c1fc4a359ea70dd27fd9cb51',
privateKey: process.env.PRIVATE_KEY,
mixers: [ {
address: process.env.ETH_MIXER_ADDRESS,
currency: 'eth'
currency: 'eth',
amount: '0.1'
},
{
address: process.env.DAI_MIXER_ADDRESS,
currency: 'dai'
currency: 'dai',
amount: '100'
} ],
defaultGasPrice: 2,
gasOracleUrls: ['https://www.etherchain.org/api/gasPriceOracle', 'https://gasprice.poa.network/'],
port: process.env.APP_PORT,
//dai
tokens: ['0x6b175474e89094c44da98b954eedeac495271d0f']
tokens: ['0x6b175474e89094c44da98b954eedeac495271d0f'],
relayerServiceFee: process.env.RELAYER_FEE
}