Skip to main content

Use the Hildr jar

Prerequisites

Download and install the Java JDK 21+.

Download the Hildr jar

Download the Hildr jar from Github.

wget https://github.com/optimism-java/hildr/releases/download/v0.4.4/hildr-node.jar

Copy in the JWT secret

Copy the JWT secret you generated when start execution client.

cp /path/to/jwt.txt .

Start a Hildr node

java --enable-preview \
-cp <the Hildr jar file> io.optimism.Hildr \
--network optimism-sepolia \
--jwt-file ./jwt.txt \
--l1-rpc-url http://localhost:9545 \
--l1-ws-rpc-url ws://localhost:9546 \
--l1-beacon-url http://localhost:4000 \
--l2-rpc-url http://localhost:8545 \
--l2-engine-url http://localhost:8551 \
--rpc-port 11545 \
--log-level INFO \ # can be either: "DEBUG","TRACE","WARN","ERROR"
--sync-mode full >l2-hildr-node.log 2>&1 &