mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-08-16 18:10:36 -04:00
service fee handling
This commit is contained in:
parent
ab088a0855
commit
1edc8ff69c
5 changed files with 24 additions and 15 deletions
11
config.js
11
config.js
|
@ -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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue