mirror of
https://github.com/tornadocash/tornado-root-updater.git
synced 2024-12-04 15:14:38 +01:00
broadcastNodes
This commit is contained in:
parent
8a3ad1de40
commit
4e83afe633
@ -1,4 +1,6 @@
|
||||
RPC_URL=
|
||||
# additional nodes to send raw tx to. comma separated values
|
||||
BROADCAST_NODES=https://api.taichi.network:10001/rpc/public,https://cloudflare-eth.com
|
||||
REDIS_URL=redis://127.0.0.1:6379
|
||||
|
||||
AGGREGATOR=0x8cb1436F64a3c33aD17bb42F94e255c4c0E871b2
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "root-updater",
|
||||
"version": "1.0.7",
|
||||
"version": "1.0.8",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -16,6 +16,7 @@ web3.eth.defaultAccount = web3.eth.accounts.privateKeyToAccount('0x' + process.e
|
||||
const txManager = new TxManager({
|
||||
privateKey: process.env.PRIVATE_KEY,
|
||||
rpcUrl: process.env.RPC_URL,
|
||||
broadcastNodes: process.env.BROADCAST_NODES.split(','),
|
||||
config: {
|
||||
CONFIRMATIONS: process.env.CONFIRMATION_BLOCKS,
|
||||
MAX_GAS_PRICE: process.env.GAS_PRICE,
|
||||
|
Loading…
Reference in New Issue
Block a user