Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Running a node

This guide will help you start a local L1+L2 stack using ethrex. It is assumed that you have already installed ethrex.

Running ethrex --help will display the help message.

Running an L1 node

You can run a mainnet node just by running:

ethrex

In case you want to sync with a testnet, you can use:

ethrex --network [sepolia|holesky|hoodi]

Running an L1 dev environment

After installing ethrex, you can start a local L1 by running:

ethrex --dev

tip

In case you want to start a new L1, you can remove the data of the old one by executing:

ethrex removedb