Run a node

In this section, we will guide you through the process of running a Specular node, which consists of the consensus and execution layer clients.


Install the following dependencies
To build, run the following:
# Fetch the repository and its submodules.
git clone
cd specular
git submodule update --init --recursive
# Install dependencies and build binaries
pnpm install && make
Configure network
To configure a Specular node, you can just use an existing example from config as-is.
mkdir workspace
cp -a config/local_devnet/. workspace/ # copy all config files
Start an L2 node
../sbin/ # Terminal #1
../sbin/ # Terminal #2
At this point, you'll have the node started with the following parameters:
  • L2: chain ID 13527, with a sequencer exposed on ports 4011 (http) and 4012 (ws).
To re-run the network from a clean state, run ../sbin/ -c.