Skip to content

Commit 2ec9e85

Browse files
committed
removed some sections
1 parent 79b1f10 commit 2ec9e85

File tree

1 file changed

+0
-96
lines changed

1 file changed

+0
-96
lines changed

pages/operators/chain-operators/deploy/genesis.mdx

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -99,102 +99,6 @@ The `rollup.json` file contains the rollup protocol parameters, including:
9999
* Sequencing settings
100100
* Finality parameters
101101

102-
## Using your configuration files
103-
104-
After retrieving your configuration files, you'll need to set up your OP Stack node components:
105-
106-
### Step 1: Install required components
107-
108-
Before initializing your node, you need to install the OP Stack software components. The OP Stack architecture follows the Consensus/Execution split similar to post-Merge Ethereum L1 with two main components:
109-
110-
* **op-geth**: The execution client (similar to geth on Ethereum)
111-
* **op-node**: The consensus client (rollup node)
112-
113-
You'll need to build these components from their respective source repositories:
114-
115-
```bash
116-
# Clone the repositories
117-
git clone https://github.com/ethereum-optimism/op-geth.git
118-
git clone https://github.com/ethereum-optimism/optimism.git
119-
120-
# Build op-geth (execution client)
121-
cd op-geth
122-
make geth
123-
cd ..
124-
125-
# Build op-node (consensus client)
126-
cd optimism
127-
just op-node
128-
cd ..
129-
```
130-
131-
For more detailed installation instructions, see the [OP Stack node setup guide](/operators/node-operators/tutorials/run-node-from-source).
132-
133-
### Step 2: Initialize your execution client
134-
135-
The op-geth execution client requires initialization with your genesis file. This creates the initial blockchain state in your data directory:
136-
137-
```bash
138-
# Create a data directory for your chain
139-
mkdir -p <YOUR_DATA_DIR>
140-
141-
# Initialize op-geth with your genesis file
142-
./op-geth/build/bin/geth init --datadir <YOUR_DATA_DIR> .deployer/genesis.json
143-
```
144-
145-
### Step 3: Generate a JWT secret for secure communication
146-
147-
op-geth and op-node communicate over the Engine API, secured using a shared JWT secret:
148-
149-
```bash
150-
# Generate a JWT secret file
151-
openssl rand -hex 32 > <YOUR_DATA_DIR>/jwt-secret.txt
152-
```
153-
154-
### Step 4: Start your execution client
155-
156-
Start the op-geth execution client with appropriate parameters:
157-
158-
```bash
159-
./op-geth/build/bin/geth \
160-
--datadir <YOUR_DATA_DIR> \
161-
--http \
162-
--http.api eth,net,web3,debug \
163-
--http.addr 0.0.0.0 \
164-
--http.port 8545 \
165-
--http.corsdomain "*" \
166-
--authrpc.addr 0.0.0.0 \
167-
--authrpc.port 8551 \
168-
--authrpc.vhosts "*" \
169-
--authrpc.jwtsecret <YOUR_DATA_DIR>/jwt-secret.txt
170-
```
171-
172-
### Step 5: Configure your consensus client
173-
174-
The op-node consensus client requires your rollup configuration file along with connections to both L1 and L2:
175-
176-
```bash
177-
./optimism/op-node/bin/op-node \
178-
--l2.genesis .deployer/genesis.json \
179-
--rollup.config .deployer/rollup.json \
180-
--l1.rpc <YOUR_L1_RPC_URL> \
181-
--l2.engine-auth <YOUR_DATA_DIR>/jwt-secret.txt \
182-
--l2.engine-sync http://localhost:8551 \
183-
--rpc.addr 0.0.0.0 \
184-
--rpc.port 7545 \
185-
--p2p.disable
186-
```
187-
188-
Replace the placeholders:
189-
190-
* `<YOUR_DATA_DIR>`: Path to your chain data directory
191-
* `<YOUR_L1_RPC_URL>`: URL for your L1 node (Ethereum) connection
192-
193-
For detailed configuration options:
194-
195-
* [op-geth configuration guide](/operators/node-operators/configuration/execution-config)
196-
* [op-node configuration guide](/operators/node-operators/configuration/base-config)
197-
198102
## Troubleshooting
199103

200104
If you encounter issues with the generated files:

0 commit comments

Comments
 (0)