Deployment differences between each BlockScout Chain

wiki

#1

BlockScout currently supports 9 different chains which require subtle differences during deployments.

All chain are required to define the following environment 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 that are not configurable through environment variables.

Update Validated/Validator to Mined/Miner or Signed/Signer

Update Memory Usage:

Update Theme:

Update Coin name:

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

Environment Variable Value
BLOCK_TRANSFORMER clique

Update other explorers

Ropsten, Mainnet

Classic

Update other explorers

Kovan

Update other explorers


Deploying BlockScout with Terraform