I used brew to install it. Very smooth process.
brew install paradigmxyz/brew/reth
You also need to install a consensus layer node. I chose Lighthouse.
brew install lighthouse
I did an Ethereum full-node client with:
I decided to use Sepolia testnet for disk space requirements as it only takes ~100GB.
RUST_LOG=info reth node --chain sepolia --metrics 127.0.0.1:9001 --http --http.api "admin,debug,eth,net,trace,txpool,web3,rpc"
Let’s break down the command:
reth node
: start the node with default settings.—chain sepolia
: select sepolia chain.—metrics
: expose metrics at the endpoint you provide (127.0.0.1:9001).—http --http.api
: turn on an HTTP server (default address is localhost
and defaul port is 8545
). Then enable HTTP namespaces on the server with —http.api “admin,debug,…”
.Reth must communicate with a consensus client. This communication happens over the Engine API, which is by default exposed at http://localhost:8551
.
Reth will also create a secret (JWT) to communicate with the consensus client. Default path is /Users/<NAME>/Library/Application Support/reth/mainnet/jwt.hex
. Take note of it because you will need it very soon.