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: book/getting-started/proposer.md
+18-2
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,31 @@ The modified proposer performs the following tasks:
11
11
12
12
We've packaged the `op-succinct-proposer` service in a docker-compose file to make it easier to run.
13
13
14
-
## 1) Build the Proposer Service
14
+
## 1) Environment Setup
15
+
16
+
Before starting the proposer, the following environment variables should be in your `.env` file. You should have already set up your environment when you deployed the L2 Output Oracle. If you have not done so, follow the steps in the [L2 Output Oracle](./l2-output-oracle.md) section.
|`SP1_PRIVATE_KEY`| Key for the Succinct Prover Network. Get access [here](https://docs.succinct.xyz/generating-proofs/prover-network). |
26
+
|`SP1_PROVER`| Default: `network`. Set to `network` to use the Succinct Prover Network. |
27
+
|`PRIVATE_KEY`| Private key for the account that will be deploying the contract and posting output roots to L1. |
28
+
|`L2OO_ADDRESS`| Address of the `OPSuccinctL2OutputOracle` contract. |
29
+
30
+
## 2) Build the Proposer Service
15
31
16
32
Build the docker images for the `op-succinct-proposer` service.
17
33
18
34
```bash
19
35
docker compose build
20
36
```
21
37
22
-
## 2) Run the Proposer
38
+
## 3) Run the Proposer
23
39
24
40
This command launches the `op-succinct-proposer` service in the background. It launches two containers: one container that manages proof generation and another container that is a small fork of the original `op-proposer` service.
0 commit comments