mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2025-08-16 10:00:31 -04:00
works for regular tornado. dirty and WIP though
This commit is contained in:
parent
d888fdbd44
commit
c16164876e
7 changed files with 114 additions and 144 deletions
|
@ -1,6 +1,11 @@
|
|||
require('dotenv').config()
|
||||
|
||||
module.exports = {
|
||||
function updateConfig(options) {
|
||||
config = Object.assign(config, options)
|
||||
}
|
||||
|
||||
let config = {
|
||||
updateConfig,
|
||||
netId: Number(process.env.NET_ID) || 42,
|
||||
redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379',
|
||||
rpcUrl: process.env.RPC_URL || 'https://kovan.infura.io/',
|
||||
|
@ -154,3 +159,5 @@ module.exports = {
|
|||
gasBumpPercentage: process.env.GAS_PRICE_BUMP_PERCENTAGE || 20,
|
||||
rewardAccount: '0x0000000000000000000000000000000000000000',
|
||||
}
|
||||
|
||||
module.exports = config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue