Skill 7.2.1

Distinguish execution clients from consensus clients

Key Concepts

An execution client listens for transactions, executes them in the EVM, maintains state and the mempool, and serves the JSON-RPC API that applications use (by default on port 8545). Examples are Geth, Nethermind, Besu, Erigon and Reth.

A consensus client implements proof of stake: it follows the Beacon Chain, processes attestations, runs the fork-choice rule and tells the execution client which block is the head. Examples are Prysm, Lighthouse, Teku, Nimbus and Lodestar. Validators additionally run validator client software with their keys.

The two clients communicate over the Engine API, an authenticated local interface (by default on port 8551) secured with a shared JWT secret file. A mainnet or testnet node needs both clients; development nodes such as Hardhat Network and Geth's developer mode simulate consensus internally, so they run alone.

Client diversity, spreading the network across several implementations, protects the network from a bug in any one client.