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
op-deployer: update devdocs, flag defaults, error message (#15364)
* op-deployer: update devdocs
* default to OPStackSupport for bootstrap protocol-version flags
* return all valid tags in error message
* add validation to --l1-contracts-locator flag
* remove L1ContractsRelease flag (auto-set)
Copy file name to clipboardExpand all lines: op-deployer/book/src/user-guide/bootstrap.md
+57-24
Original file line number
Diff line number
Diff line change
@@ -1,34 +1,70 @@
1
1
# The Bootstrap Commands
2
2
3
-
Bootstrap commands are used to deploy global singletons and implementation contracts for use with future invocations
4
-
of `apply`. Most users won't need to use these commands, since `op-deployer apply` will automatically use
5
-
predeployed contracts if they are available. However, you may need to use bootstrap commands if you're deploying
6
-
chains to an L1 that isn't natively supported by `op-deployer`.
3
+
> Note: if you are joining an existing superchain, you can skip to the `init` and `apply` commands to create your L2 chain(s)
7
4
8
-
There are several bootstrap commands available, which you can view by running `op-deployer bootstrap --help`. We'll
9
-
focus on the most important ones below.
5
+
Bootstrap commands are used to deploy global singletons and implementation contracts for new superchains.
6
+
The deployed contract be then be use with future invocations of `apply` so that new L2 chains can join that superchain.
7
+
Most users won't need to use these commands, since `op-deployer apply` will automatically use predeployed contracts if they are available. However, you may need to use bootstrap commands if you're deploying chains to an L1 that isn't natively supported by `op-deployer`.
10
8
11
-
## Implementations
9
+
There are several bootstrap commands available, which you can view by running `op-deployer bootstrap --help`. We'll
10
+
focus on the most important ones, which should be run in the sequence listed below.
12
11
13
-
You can bootstrap implementations by running a command like this:
12
+
**It is safe to call these commands from a hot wallet.** None of the contracts deployed by these command are "ownable,"
13
+
so the deployment address has no further control over the system.
In a dev environment, these can all be hot wallet EOAs. In a production environment, `--guardian` should be an HSM (hardward security module) protected hot wallet and the other two should be multisig cold-wallets (e.g. Gnosis Safes).
33
+
34
+
### Output
35
+
36
+
This command will deploy several contracts, and output a JSON like the one below:
0 commit comments