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/fault_proofs/proposer.md
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,16 @@ The proposer is configured through various environment variables. Create a `.env
35
35
|`L2_RPC`| L2 RPC endpoint URL |
36
36
|`FACTORY_ADDRESS`| Address of the DisputeGameFactory contract |
37
37
|`GAME_TYPE`| Type identifier for the dispute game |
38
-
|`PRIVATE_KEY`| Private key for transaction signing |
39
38
|`NETWORK_PRIVATE_KEY`| Private key for the succinct prover network (Set to `0x0000000000000000000000000000000000000000000000000000000000000001` if not using fast finality mode) |
40
39
40
+
Either `PRIVATE_KEY` or both `SIGNER_URL` and `SIGNER_ADDRESS` must be set for transaction signing:
41
+
42
+
| Variable | Description |
43
+
|----------|-------------|
44
+
|`PRIVATE_KEY`| Private key for transaction signing (if using private key signer) |
45
+
|`SIGNER_URL`| URL of the web3 signer service (if using web3 signer) |
46
+
|`SIGNER_ADDRESS`| Address of the account managed by the web3 signer (if using web3 signer) |
47
+
41
48
To get a whitelisted key on the Succinct Prover Network for OP Succinct, fill out this [form](https://docs.google.com/forms/d/e/1FAIpQLSd2Yil8TrU54cIuohH1WvDvbxTusyqh5rsDmMAtGC85-Arshg/viewform?ref=https://succinctlabs.github.io/op-succinct/). The Succinct team will reach out to you with an RPC endpoint you can use.
42
49
43
50
### Optional Environment Variables
@@ -64,7 +71,13 @@ L1_RPC= # L1 RPC endpoint URL
64
71
L2_RPC= # L2 RPC endpoint URL
65
72
FACTORY_ADDRESS= # Address of the DisputeGameFactory contract (obtained from deployment)
66
73
GAME_TYPE= # Type identifier for the dispute game (must match factory configuration)
74
+
75
+
# Transaction Signing Configuration (Choose one)
76
+
# Option 1: Private Key Signer
67
77
PRIVATE_KEY= # Private key for transaction signing
78
+
# Option 2: Web3 Signer
79
+
SIGNER_URL= # URL of the web3 signer service
80
+
SIGNER_ADDRESS= # Address of the account managed by the web3 signer
# Warning: Setting PERMISSIONLESS_MODE=true allows anyone to propose and challenge games. Ensure this behavior is intended for your deployment.
39
+
# For a permissioned setup, set this to false and configure PROPOSER_ADDRESSES and CHALLENGER_ADDRESSES.
40
+
PERMISSIONLESS_MODE=true
41
+
37
42
# For testing, use mock verifier
38
43
USE_SP1_MOCK_VERIFIER=true
39
44
```
@@ -54,7 +59,9 @@ Save the output addresses, particularly the `FACTORY_ADDRESS` output as "Factory
54
59
```env
55
60
# Required Configuration
56
61
L1_RPC=<YOUR_L1_RPC_URL>
62
+
L1_BEACON_RPC=<L1_BEACON_RPC_URL>
57
63
L2_RPC=<YOUR_L2_RPC_URL>
64
+
L2_NODE_RPC=<L2_NODE_RPC_URL>
58
65
FACTORY_ADDRESS=<FACTORY_ADDRESS_FROM_DEPLOYMENT>
59
66
GAME_TYPE=42
60
67
PRIVATE_KEY=<YOUR_PRIVATE_KEY>
@@ -72,8 +79,6 @@ Save the output addresses, particularly the `FACTORY_ADDRESS` output as "Factory
72
79
```env
73
80
FAST_FINALITY_MODE=true
74
81
NETWORK_PRIVATE_KEY=0x...
75
-
L1_BEACON_RPC=<L1_BEACON_RPC_URL>
76
-
L2_NODE_RPC=<L2_NODE_RPC_URL>
77
82
```
78
83
79
84
To get a whitelisted key on the Succinct Prover Network for OP Succinct, fill out this [form](https://docs.google.com/forms/d/e/1FAIpQLSd-X9uH7G0bvXH_kjptnQtNil8L4dumrVPpFE4t8Ci1XT1GaQ/viewform). The Succinct team will reach out to you with an RPC endpoint you can use.
0 commit comments