File tree 2 files changed +20
-4
lines changed
docs/hildr-docs/run-a-node
2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,22 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
2
2
3
3
# Use docker
4
4
5
- You can use Docker to run [ Hildr] ( https://github.com/optimism-java/hildr ) as an Optimism CL node.
5
+ You can use Docker to run [ Hildr] ( https://github.com/optimism-java/hildr ) as an Optimism rollup node.
6
6
7
7
## Pull docker image
8
8
9
9
``` shell
10
10
docker pull ghcr.io/optimism-java/hildr:latest
11
11
```
12
12
13
+ ## Copy in the JWT secret
14
+
15
+ Copy the JWT secret you generated when start execution client.
16
+
17
+ ``` bash
18
+ cp /path/to/jwt.txt .
19
+ ```
20
+
13
21
## Start a Hildr node
14
22
15
23
<Tabs >
Original file line number Diff line number Diff line change @@ -6,14 +6,22 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
6
6
7
7
Download and install the [ Java JDK 21+] ( https://www.oracle.com/java/technologies/downloads/ ) .
8
8
9
- ## Step1. Download the Hildr jar
9
+ ## Download the Hildr jar
10
10
11
11
Download the [ Hildr jar] ( https://github.com/optimism-java/hildr/releases ) from Github.
12
12
13
13
``` shell
14
14
wget https://github.com/optimism-java/hildr/releases/download/v0.4.4/hildr-node.jar
15
15
```
16
16
17
+ ## Copy in the JWT secret
18
+
19
+ Copy the JWT secret you generated when start execution client.
20
+
21
+ ``` bash
22
+ cp /path/to/jwt.txt .
23
+ ```
24
+
17
25
## Start a Hildr node
18
26
19
27
<Tabs >
@@ -23,7 +31,7 @@ wget https://github.com/optimism-java/hildr/releases/download/v0.4.4/hildr-node.
23
31
java --enable-preview \
24
32
-cp <the Hildr jar file> io.optimism.Hildr \
25
33
--network optimism-sepolia \
26
- --jwt-secret ./jwt.hex \
34
+ --jwt-file ./jwt.txt \
27
35
--l1-rpc-url http://localhost:9545 \
28
36
--l1-ws-rpc-url ws://localhost:9546 \
29
37
--l1-beacon-url http://localhost:4000 \
@@ -43,7 +51,7 @@ wget https://github.com/optimism-java/hildr/releases/download/v0.4.4/hildr-node.
43
51
-cp <the Hildr jar file> io.optimism.Hildr \
44
52
--devnet \
45
53
--network <rollup.json file> \
46
- --jwt-secret ./jwt.hex \
54
+ --jwt-file ./jwt.txt \
47
55
--l1-rpc-url http://localhost:9545 \
48
56
--l1-ws-rpc-url ws://localhost:9546 \
49
57
--l1-beacon-url http://localhost:4000 \
You can’t perform that action at this time.
0 commit comments