broadcastNodes
This commit is contained in:
parent
8a3ad1de40
commit
4e83afe633
|
@ -1,4 +1,6 @@
|
||||||
RPC_URL=
|
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
|
REDIS_URL=redis://127.0.0.1:6379
|
||||||
|
|
||||||
AGGREGATOR=0x8cb1436F64a3c33aD17bb42F94e255c4c0E871b2
|
AGGREGATOR=0x8cb1436F64a3c33aD17bb42F94e255c4c0E871b2
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "root-updater",
|
"name": "root-updater",
|
||||||
"version": "1.0.7",
|
"version": "1.0.8",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -16,6 +16,7 @@ web3.eth.defaultAccount = web3.eth.accounts.privateKeyToAccount('0x' + process.e
|
||||||
const txManager = new TxManager({
|
const txManager = new TxManager({
|
||||||
privateKey: process.env.PRIVATE_KEY,
|
privateKey: process.env.PRIVATE_KEY,
|
||||||
rpcUrl: process.env.RPC_URL,
|
rpcUrl: process.env.RPC_URL,
|
||||||
|
broadcastNodes: process.env.BROADCAST_NODES.split(','),
|
||||||
config: {
|
config: {
|
||||||
CONFIRMATIONS: process.env.CONFIRMATION_BLOCKS,
|
CONFIRMATIONS: process.env.CONFIRMATION_BLOCKS,
|
||||||
MAX_GAS_PRICE: process.env.GAS_PRICE,
|
MAX_GAS_PRICE: process.env.GAS_PRICE,
|
||||||
|
|
Loading…
Reference in New Issue