diff --git a/crawlers/deploy/ethereum-txpool.service b/crawlers/deploy/ethereum-txpool.service index d4221a6f..2d3e0e13 100644 --- a/crawlers/deploy/ethereum-txpool.service +++ b/crawlers/deploy/ethereum-txpool.service @@ -7,7 +7,7 @@ User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/moonstream/crawlers/txpool EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool -blockchain ethereum +ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool -blockchain ethereum -access-id "${NB_CONTROLLER_ACCESS_ID}" SyslogIdentifier=ethereum-txpool [Install] diff --git a/crawlers/deploy/polygon-txpool.service b/crawlers/deploy/polygon-txpool.service index cf4dae92..a5079a78 100644 --- a/crawlers/deploy/polygon-txpool.service +++ b/crawlers/deploy/polygon-txpool.service @@ -7,7 +7,7 @@ User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/moonstream/crawlers/txpool EnvironmentFile=/home/ubuntu/moonstream-secrets/app.env -ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool -blockchain polygon +ExecStart=/home/ubuntu/moonstream/crawlers/txpool/txpool -blockchain polygon -access-id "${NB_CONTROLLER_ACCESS_ID}" SyslogIdentifier=polygon-txpool [Install] diff --git a/crawlers/txpool/sample.env b/crawlers/txpool/sample.env index 35b6d5f0..81dc57df 100644 --- a/crawlers/txpool/sample.env +++ b/crawlers/txpool/sample.env @@ -1,5 +1,9 @@ -export MOONSTREAM_ETHEREUM_WEB3_PROVIDER_URI="https://" -export MOONSTREAM_POLYGON_WEB3_PROVIDER_URI="https://" export HUMBUG_TXPOOL_CLIENT_ID="" export HUMBUG_TXPOOL_TOKEN="" export HUMBUG_REPORTER_CRAWLERS_TOKEN="" + +# Nodes environment variables +export MOONSTREAM_ETHEREUM_WEB3_PROVIDER_URI="https://" +export MOONSTREAM_POLYGON_WEB3_PROVIDER_URI="https://" +# Moonstream nodebalancer +export NB_CONTROLLER_ACCESS_ID=""