You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+72-8Lines changed: 72 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Nitro Testnode
2
2
3
-
Nitro-testnode brings up a full environment for local nitro testing (with Stylus support) including a dev-mode geth L1, and multiple instances with different roles.
3
+
Nitro-testnode brings up a full environment for local Nitro testing (with Stylus support) including a dev-mode Geth L1, and multiple node instances with different roles.
4
4
5
5
### Requirements
6
6
@@ -44,9 +44,40 @@ Initialize the node in dev-mode (this will build the docker images from source)
44
44
```
45
45
To see more options, use `--help`.
46
46
47
+
## Node topology flags
48
+
49
+
By default, the testnode runs a single **sequencer** node that handles both consensus and execution in one process.
50
+
51
+
### `--follower-node`
52
+
53
+
Adds a **regular follower node** (`regular-follower-node`) that runs consensus and execution together in a single process, following the sequencer. Useful for testing read-only RPC nodes.
**sequencer** is the main docker to be used to access the nitro testchain. It's http and websocket interfaces are exposed at localhost ports 8547 and 8548 ports, respectively.
120
+
**sequencer** is the main docker container used to access the Nitro testchain. Its HTTP and WebSocket interfaces are exposed at localhost ports 8547 and 8548, respectively.
90
121
91
-
Stopping, restarting nodes can be done with docker-compose.
122
+
Stopping and restarting nodes can be done with docker-compose.
92
123
93
124
### Helper scripts
94
125
95
126
Some helper scripts are provided for simple testing of basic actions.
96
127
97
-
To fund the address 0x1111222233334444555566667777888899990000 on l2, use:
128
+
To fund the address 0x1111222233334444555566667777888899990000 on L2, use:
0 commit comments