Skip to content

Commit 04c1b13

Browse files
Breadcrumb fixes
1 parent 806394d commit 04c1b13

File tree

3 files changed

+31
-21
lines changed

3 files changed

+31
-21
lines changed

pages/builders/app-developers.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ If you're a developer looking to build on OP Mainnet, you've come to the right p
2222
<Card title="Transactions" href="/builders/app-developers/transactions" />
2323

2424
<Card title="Tutorials" href="/builders/app-developers/tutorials" />
25+
26+
<Card title="Getting started developing for OP Stack chains" href="/builders/app-developers/getting-started" />
27+
<Card title="Testing apps for OP Stack chains" href="/builders/app-developers/testing-apps" />
2528
</Cards>

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

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { Callout } from 'nextra/components'
99
# OP Stack genesis creation
1010

1111
<Callout type="info">
12-
The recommended way to generate genesis and rollup configuration files is using `op-deployer`.
12+
The recommended way to generate genesis and rollup configuration files is using `op-deployer`.
1313
This ensures standardization and compatibility with the Superchain.
1414
</Callout>
1515

@@ -18,28 +18,31 @@ These files are crucial for initializing the execution client (`op-geth`) and co
1818

1919
The recommended flow for creating a genesis file and rollup configuration file on the OP Stack is as follows:
2020

21-
1. **Deploy the L1 contracts** using [op-deployer](/builders/chain-operators/tools/op-deployer).
22-
2. **Generate** both the L2 genesis file (`genesis.json`) and the rollup configuration file (`rollup.json`) using op-deployers `inspect` commands.
23-
3. **Initialize** your off-chain components (e.g., execution client, consensus client).
21+
1. **Deploy the L1 contracts** using [op-deployer](/builders/chain-operators/tools/op-deployer).
22+
2. **Generate** both the L2 genesis file (`genesis.json`) and the rollup configuration file (`rollup.json`) using op-deployer's `inspect` commands.
23+
3. **Initialize** your off-chain components (e.g., execution client, consensus client).
2424

2525
## Recommended method: using op-deployer
2626

2727
### Prerequisites
2828

29-
1. You have installed the `op-deployer` binary following the instructions in [deployer docs](/builders/chain-operators/tools/op-deployer#installation).
30-
After installation, extract the `op-deployer` into your `PATH` and `cd op-deployer`.
31-
2. You have created and customized an intent file in a `.deployer` directory, typically by running:
32-
```bash
33-
./bin/op-deployer init --l1-chain-id <YOUR_L1_CHAIN_ID> --l2-chain-ids <YOUR_L2_CHAIN_ID> --workdir .deployer
29+
1. You have installed the `op-deployer` binary following the instructions in [deployer docs](/builders/chain-operators/tools/op-deployer#installation).
30+
After installation, extract the `op-deployer` into your `PATH` and `cd op-deployer`.
31+
32+
2. You have created and customized an intent file in a `.deployer` directory, typically by running:
33+
34+
```bash
35+
./bin/op-deployer init --l1-chain-id <YOUR_L1_CHAIN_ID> --l2-chain-ids <YOUR_L2_CHAIN_ID> --workdir .deployer
3436
```
3537

3638
Replace `<YOUR_L1_CHAIN_ID>` and `<YOUR_L2_CHAIN_ID>` with their respective values, see a list of [`chainIds`](https://chainid.network/).
3739

38-
3. You have edited that intent file to your liking (roles, addresses, etc.).
40+
3. You have edited that intent file to your liking (roles, addresses, etc.).
3941

4042
### Step 1: Deploy the L1 contracts
4143

4244
To deploy your chain to L1, run:
45+
4346
```bash
4447
./bin/op-deployer apply --workdir .deployer \
4548
--l1-rpc-url <RPC_URL_FOR_L1> \
@@ -48,35 +51,36 @@ To deploy your chain to L1, run:
4851

4952
This command:
5053

51-
* Reads your intent file in `.deployer/.`
52-
* Deploys the OP Stack contracts to the specified L1.
53-
* Updates a local `state.json` file with the results of the deployment.
54+
* Reads your intent file in `.deployer/.`
55+
* Deploys the OP Stack contracts to the specified L1.
56+
* Updates a local `state.json` file with the results of the deployment.
5457

5558
### Step 2: Generate your L2 genesis file and rollup file
5659

57-
After your L1 contracts have been deployed, generate the L2 genesis and rollup configuration files by inspecting the deployer’s `state.json.`
60+
After your L1 contracts have been deployed, generate the L2 genesis and rollup configuration files by inspecting the deployer's `state.json.`
61+
5862
```bash
5963
./bin/op-deployer inspect genesis --workdir .deployer <L2_CHAIN_ID> > .deployer/genesis.json
6064
./bin/op-deployer inspect rollup --workdir .deployer <L2_CHAIN_ID> > .deployer/rollup.json
6165
```
6266

63-
* genesis.json is the file you will provide to your execution client (e.g. op-geth).
64-
* rollup.json is the file you will provide to your consensus client (e.g. op-node).
67+
* genesis.json is the file you will provide to your execution client (e.g. op-geth).
68+
* rollup.json is the file you will provide to your consensus client (e.g. op-node).
6569

6670
### Step 3: Initialize your off-chain components
6771

6872
Once you have `genesis.json` and `rollup.json`:
6973

70-
1. Initialize op-geth using genesis.json.
71-
2. Configure op-node with rollup.json.
72-
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/builders/chain-operators/architecture).
74+
1. Initialize op-geth using genesis.json.
75+
2. Configure op-node with rollup.json.
76+
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/builders/chain-operators/architecture).
7377

7478
### Step 3: Get data
7579

7680
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
7781
You can also use the following inspect subcommands to get additional data:
7882

79-
```bash
83+
````bash
8084
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id> # outputs all L1 contract addresses for an L2 chain
8185
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id> # outputs the deploy config for an L2 chain
8286

@@ -143,7 +147,7 @@ DEPLOY_CONFIG_PATH=<PATH_TO_MY_DEPLOY_CONFIG> \
143147
STATE_DUMP_PATH=<PATH_TO_WRITE_L2_ALLOCS> \
144148
forge script scripts/L2Genesis.s.sol:L2Genesis \
145149
--sig 'runWithStateDump()'
146-
```
150+
````
147151
148152
## Subcommand (op-node genesis l2)
149153

pages/stack/security.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,8 @@ Documentation covering Faq, Pause in the Security section of the OP Stack ecosys
1616
<Card title="Pausing the bridge" href="/stack/security/pause" />
1717

1818
<Card title="Audit report" href="/stack/security/audits-report" />
19+
20+
<Card title="OP Stack security model" href="/stack/security/faq-sec-model" />
21+
<Card title="Security policy and bug bounty program" href="/stack/security/security-policy" />
1922
</Cards>
2023

0 commit comments

Comments
 (0)