diff --git a/docs/hildr-docs/run-a-node/use_docker.md b/docs/hildr-docs/run-a-node/use_docker.md index d226439..f331f7e 100644 --- a/docs/hildr-docs/run-a-node/use_docker.md +++ b/docs/hildr-docs/run-a-node/use_docker.md @@ -2,7 +2,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Use docker -You can use Docker to run [Hildr](https://github.com/optimism-java/hildr) as an Optimism CL node. +You can use Docker to run [Hildr](https://github.com/optimism-java/hildr) as an Optimism rollup node. ## Pull docker image @@ -10,6 +10,14 @@ You can use Docker to run [Hildr](https://github.com/optimism-java/hildr) as an docker pull ghcr.io/optimism-java/hildr:latest ``` +## Copy in the JWT secret + +Copy the JWT secret you generated when start execution client. + +```bash +cp /path/to/jwt.txt . +``` + ## Start a Hildr node diff --git a/docs/hildr-docs/run-a-node/use_jar.md b/docs/hildr-docs/run-a-node/use_jar.md index a26c033..12eeff7 100644 --- a/docs/hildr-docs/run-a-node/use_jar.md +++ b/docs/hildr-docs/run-a-node/use_jar.md @@ -6,7 +6,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; Download and install the [Java JDK 21+](https://www.oracle.com/java/technologies/downloads/). -## Step1. Download the Hildr jar +## Download the Hildr jar Download the [Hildr jar](https://github.com/optimism-java/hildr/releases) from Github. @@ -14,6 +14,14 @@ Download the [Hildr jar](https://github.com/optimism-java/hildr/releases) from G 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. + +```bash +cp /path/to/jwt.txt . +``` + ## Start a Hildr node @@ -23,7 +31,7 @@ wget https://github.com/optimism-java/hildr/releases/download/v0.4.4/hildr-node. java --enable-preview \ -cp io.optimism.Hildr \ --network optimism-sepolia \ - --jwt-secret ./jwt.hex \ + --jwt-file ./jwt.txt \ --l1-rpc-url http://localhost:9545 \ --l1-ws-rpc-url ws://localhost:9546 \ --l1-beacon-url http://localhost:4000 \ @@ -43,7 +51,7 @@ wget https://github.com/optimism-java/hildr/releases/download/v0.4.4/hildr-node. -cp io.optimism.Hildr \ --devnet \ --network \ - --jwt-secret ./jwt.hex \ + --jwt-file ./jwt.txt \ --l1-rpc-url http://localhost:9545 \ --l1-ws-rpc-url ws://localhost:9546 \ --l1-beacon-url http://localhost:4000 \