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: pages/operators/chain-operators/deploy/genesis.mdx
-10Lines changed: 0 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -75,16 +75,6 @@ Once you have `genesis.json` and `rollup.json`:
75
75
2. Configure op-node with rollup.json.
76
76
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/operators/chain-operators/architecture).
77
77
78
-
### Step 4: Get data
79
-
80
-
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
81
-
You can also use the following inspect subcommands to get additional data:
82
-
83
-
```bash
84
-
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id># outputs all L1 contract addresses for an L2 chain
85
-
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id># outputs the deploy config for an L2 chain
86
-
```
87
-
88
78
## Legacy method: using foundry script
89
79
90
80
The following guide shows you how to generate the L2 genesis file `genesis.json`. This is a JSON
Copy file name to clipboardExpand all lines: pages/operators/chain-operators/deploy/smart-contracts.mdx
+11-10Lines changed: 11 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,11 +19,6 @@ official contract releases**. You can visit the [smart contract overview](/stack
19
19
for the official release versions. Changes to the smart contracts are
20
20
generally not considered backwards compatible.
21
21
22
-
<Callouttype="warning">
23
-
The following deployment information outlines the legacy method for deploying the OP Stack L1 contracts.
24
-
This method is not recommended and is provided only for historical context.
25
-
</Callout>
26
-
27
22
## Deployment configuration
28
23
29
24
Deploying your OP Stack contracts requires creating a deployment configuration
@@ -34,8 +29,19 @@ can see the [rollup deployment configuration page](/operators/chain-operators/co
34
29
35
30
For a detailed explanation of the configuration options and their meanings, refer to the [rollup deployment configuration page](/operators/chain-operators/configuration/rollup).
36
31
32
+
## Using `op-deployer`
33
+
34
+
The recommended way to deploy the L1 smart contracts is with the `op-deployer` tool.
35
+
Follow the steps in this [section](/operators/chain-operators/tutorials/create-l2-rollup#using-op-deployer) to learn how it works.
36
+
37
+
37
38
## Deployment script (Legacy method)
38
39
40
+
<Callouttype="warning">
41
+
The following deployment information outlines the legacy method for deploying the OP Stack L1 contracts.
42
+
This method is not recommended and is provided only for historical context.
43
+
</Callout>
44
+
39
45
The legacy method for deploying smart contracts uses [foundry](https://github.com/foundry-rs) and the deployment script located in the monorepo at
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network. You can also use the following inspect subcommands to get additional data:
131
+
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network. You can also use the following inspect subcommands to get additional chain artifacts:
132
132
133
133
```bash
134
134
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id># outputs all L1 contract addresses for an L2 chain
Copy file name to clipboardExpand all lines: pages/operators/chain-operators/tutorials/create-l2-rollup.mdx
-12Lines changed: 0 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -433,8 +433,6 @@ Using op-deployer for chain initialization is a requirement for all chains inten
433
433
This ensures standardization and compatibility across the OP Stack ecosystem.
434
434
</Callout>
435
435
436
-
## Recommended method: using op-deployer
437
-
438
436
### Prerequisites
439
437
440
438
1. You have installed the `op-deployer` binary following the instructions in [deployer docs](/operators/chain-operators/tools/op-deployer#installation).
@@ -489,16 +487,6 @@ Once you have `genesis.json` and `rollup.json`:
489
487
2. Configure op-node with rollup.json.
490
488
3. Set up additional off-chain infrastructure as needed (block explorer, indexers, etc.). For more on architecture, see [Architecture overview](/operators/chain-operators/architecture).
491
489
492
-
### Step 4: Get data
493
-
494
-
Now that you have your `genesis.json` and `rollup.json` you can spin up a node on your network.
495
-
You can also use the following inspect subcommands to get additional data:
496
-
497
-
```bash
498
-
./bin/op-deployer inspect l1 --workdir .deployer <l2-chain-id># outputs all L1 contract addresses for an L2 chain
499
-
./bin/op-deployer inspect deploy-config --workdir .deployer <l2-chain-id># outputs the deploy config for an L2 chain
0 commit comments