mirror of
https://github.com/tornadocash/tornado-relayer.git
synced 2024-10-01 08:25:37 -04:00
move aggregator to env
This commit is contained in:
parent
0dc148a806
commit
4f7089a2bc
@ -18,4 +18,6 @@ REWARD_ACCOUNT=
|
||||
# in GWEI
|
||||
MAX_GAS_PRICE=1000
|
||||
CONFIRMATIONS=8
|
||||
|
||||
AGGREGATOR=
|
||||
# 0xe4886c5f705850603f44bf730eb68749DA6DeB69 - goerli
|
||||
# 0x3a02d7828722059FCf570DA19b74B16ca69Cb770 - kovan
|
||||
|
@ -2,7 +2,6 @@ require('dotenv').config()
|
||||
|
||||
const jobType = require('./jobTypes')
|
||||
const tornConfig = require('torn-token')
|
||||
|
||||
module.exports = {
|
||||
netId: Number(process.env.NET_ID) || 42,
|
||||
redisUrl: process.env.REDIS_URL || 'redis://127.0.0.1:6379',
|
||||
@ -10,7 +9,7 @@ module.exports = {
|
||||
wsRpcUrl: process.env.WS_RPC_URL,
|
||||
oracleRpcUrl: process.env.ORACLE_RPC_URL || 'https://mainnet.infura.io/',
|
||||
oracleAddress: '0xA2b8E7ee7c8a18ea561A5CF7C9C365592026E374',
|
||||
aggregatorAddress: '0x3a02d7828722059FCf570DA19b74B16ca69Cb770',
|
||||
aggregatorAddress: process.env.AGGREGATOR,
|
||||
minerMerkleTreeHeight: 20,
|
||||
privateKey: process.env.PRIVATE_KEY,
|
||||
instances: tornConfig.instances,
|
||||
|
Loading…
Reference in New Issue
Block a user