Deployment Differences Between Chains

All chains must define the following ENV variables:

Environment Variable

Default

BLOCKSCOUT_VERSION

unknown

COIN

POA

DB_HOST

-

DB_PASSWORD

-

DB_PORT

-

DB_USERNAME

-

ETHEREUM_JSONRPC_HTTP_URL

http://localhost:8545

ETHEREUM_JSONRPC_TRACE_URL

http://localhost:8545

ETHEREUM_JSONRPC_WS_URL

ws://localhost:8546

ETHEREUM_JSONRPC_VARIANT

parity

HEART_BEAT_TIMEOUT

30

HEART_COMMAND

sudo systemctl restart explorer.service

LOGO

/images/blockscout_logo.svg

NETWORK

POA Network

SUBNETWORK

Sokol Testnet

NETWORK_ICON

_test_network_icon.html

LINK_TO_OTHER_EXPLORERS

true

Changes not configurable with ENV variables:

Update Validated/Validator to Mined/Miner or Signed/Signer https://github.com/poanetwork/blockscout/blob/12aa15671142af00b35ff05aeac107c2c686c4c8/apps/block_scout_web/priv/gettext/default.pot

Update Memory Usage: https://github.com/poanetwork/blockscout/blob/12aa15671142af00b35ff05aeac107c2c686c4c8/apps/indexer/config/config.exs#L36

Update Theme: https://github.com/poanetwork/blockscout/blob/12aa15671142af00b35ff05aeac107c2c686c4c8/apps/block_scout_web/assets/css/theme/_variables.scss#L1

Update Coin Name: https://github.com/poanetwork/blockscout/blob/5b5a0b3cfe47fcbb3631b82e58aeb2c7c9c48504/apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po#L398

Update other explorers (if-applicable) https://github.com/poanetwork/blockscout/blob/12aa15671142af00b35ff05aeac107c2c686c4c8/apps/block_scout_web/config/config.exs#L22-L26

POA Core

Environment Variable

Value

METADATA_CONTRACT

0xE3FfFD154931EB80b2aCE096EC32D6df23661203

VALIDATORS_CONTRACT

0xa105Db0e6671C7B5f4f350ff1Af6460E6C696e71

LINK_TO_OTHER_EXPLORERS

false

POA Sokol

Environment Variable

Value

METADATA_CONTRACT

0x81c47A798226e1b90A1b4C9dBDd844033B528D06

VALIDATORS_CONTRACT

0x4c6a159659CCcb033F4b2e2Be0C16ACC62b89DDB

LINK_TO_OTHER_EXPLORERS

false

xDAI

Environment Variable

Value

SUPPLY_MODULE

TokenBridge

SOURCE_MODULE

TransactionAndLog

METADATA_CONTRACT

0x61e561dc17597b15e0195a201b539ee7b9add3ff

VALIDATORS_CONTRACT

0x22e1229a2c5b95a60983b5577f745a603284f535

LINK_TO_OTHER_EXPLORERS

false

Rinkeby, Goerli (non-hosted)

Environment Variable

Value

BLOCK_TRANSFORMER

clique