Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Outline

Running a Reth Node

This is a unified implementation of the Reth node set up that supports running both standard Reth or Base Reth with Flashblocks support.

Setup

  • See hardware requirements mentioned in the master README
  • For Base Reth mode: Access to a Flashblocks websocket endpoint (for RETH_FB_WEBSOCKET_URL)
    • We provide public websocket endpoints for mainnet and devnet, included in .env.mainnet and .env.sepolia

Node Type Selection

Use the NODE_TYPE environment variable to select the implementation:

  • NODE_TYPE=vanilla - Standard Reth implementation (default)
  • NODE_TYPE=base - Base L2 Reth implementation with Flashblocks support

Running the Node

The node follows the standard docker-compose workflow in the master README.

# Run standard Reth node
CLIENT=reth docker-compose up

# Run Base L2 Reth node with Flashblocks support
NODE_TYPE=base CLIENT=reth docker-compose up

Testing Flashblocks RPC Methods

When running in Base mode (NODE_TYPE=base), you can query a pending block using the Flashblocks RPC:

curl -X POST \
  --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["pending", false],"id":1}' \
  http://localhost:8545

Additional RPC Methods

For a complete list of supported RPC methods, refer to:

Morty Proxy This is a proxified and sanitized view of the page, visit original site.