Client Setting Requirements
Supported Clients
BlockScout currently supports Erigon, Nethermind, Geth, Parity, OpenEthereum, Hyperledger Besu, and Ganache clients. To define the node variant, it's advised to define the ETHEREUM_JSONRPC_VARIANT
environment variable. Correct values include:
parity
the same for Parity, OpenEthereum and Nethermind (default)erigon
geth
besu
ganache
BlockScout currently requires a full archive node in order to import every state change for every address on the target network.
Development
Explorer: https://github.com/poanetwork/blockscout/blob/master/apps/explorer/config/dev.exs
Indexer: https://github.com/poanetwork/blockscout/blob/master/apps/indexer/config/dev.exs
Production
Explorer: https://github.com/poanetwork/blockscout/blob/master/apps/explorer/config/dev.exs
Indexer: https://github.com/poanetwork/blockscout/blob/master/apps/indexer/config/prod.exs
OpenEthereum Client
Name | Environment Variable | Default Value | Description |
HTTP Endpoint |
| The HTTP Endpoint is used to fetch | |
Tracing Endpoint |
| The Tracing endpoint is used to fetch | |
WebSockets Endpoint |
| ws://localhost:8546 | The WebSockets endpoint subscribes to |
Development
Production
Geth Client
More information on Geth JSON-RPC available here.
Tracing and pruning: By default, state for the last 128 blocks kept in memory. Most states are garbage collected. If you are running a block explorer or other service relying on transaction tracing without an archive node (--gcmode=archive), you need to trace within this window! Alternatively, specify the "reexec" tracer option to allow regenerating historical state; and ideally switch to chain tracing which amortizes overhead across all traced blocks.
Name | Environment Variable | Default Value | Description |
HTTP Endpoint |
| The HTTP Endpoint is used to fetch | |
WebSockets Endpoint |
| ws://localhost:8546 | The WebSockets endpoint subscribes to |
Development
Production
Last updated