-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.env.sample
43 lines (37 loc) · 2.24 KB
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
############################### DEFAULT #####################################
# Chain ID
CHAIN_ID=18686
# Exposed ports
PORT_L2_EXECTION_ENGINE_HTTP=8545
PORT_L2_EXECTION_ENGINE_WS=8546
PORT_L2_EXECTION_ENGINE_METRICS=6060
PORT_L2_EXECTION_ENGINE_P2P=30303
PORT_L2_EXECTION_ENGINE_AUTH_RPC=8551
PORT_ZKEVM_CHAIN_PROVER_RPCD=9000
PORT_PROMETHEUS=9090
PORT_GRAFANA=3000
# Comma separated L2 execution engine bootnode URLs for P2P discovery bootstrap
BOOT_NODES=enode://d226b47b9c1199a21d9d11d664269261717b1c67fa67062d3eecc84285537fe161cbac3804ea036ed516d257f95215f49400952f03c43174d3a3af415ff47d75@207.246.101.30:30303,enode://1f5e524a11f5dc02f03113faa4090cafa0d692e9decff1199a1dc304d2d1f6fba07a7e7016026e0356b3e6c35e873a95a295c0326e888554224a1ec3fded330a@149.28.212.112:30303
# MXC protocol contract addresses
MXC_L1_ADDRESS=0x54D8864e8855A7B66eE42B8F2Eaa0F2E06bd641a
MXC_L2_ADDRESS=0x1000777700000000000000000000000000000001
# A L2 account private key for building throw-away L2 blocks, for more detailed information, please
# see whitepaper's `5.5.1 Invalid Blocks`.
L2_THROWAWAY_BLOCK_BUILDER_PRIVATE_KEY=006ce077e1e1f3935c31c1c4ace150d8772faf4f4fca1dccb59ebbca90ca4af6 # LibAnchorSignature.K_GOLDEN_TOUCH_PRIVATEKEY
############################### REQUIRED #####################################
# L1 Arbitrum one RPC endpoints (you will need an RPC provider such as Alchemy or Infura--or, run a full Arbitrum one node yourself)
L1_ENDPOINT_HTTP=
L1_ENDPOINT_WS=
############################### OPTIONAL #####################################
# If you want to be a proposer who proposes L2 execution engine's transactions in mempool to MXC L1 protocol
# contract (be a "mining L2 node"), you need to change `ENABLE_PROPOSER` to true, then fill `L1_PROPOSER_PRIVATE_KEY`
# and `L2_SUGGESTED_FEE_RECIPIENT`
ENABLE_PROPOSER=false
L1_PROPOSER_PRIVATE_KEY=
# A L2 account address who will be the tx fee beneficiary of the L2 blocks that you proposed
L2_SUGGESTED_FEE_RECIPIENT=
# If you want to be a prover who generates and submits zero knowledge proofs of proposed L2 blocks, you need to change
# `ENABLE_PROVER` to true and set `L1_PROVER_PRIVATE_KEY`.
ENABLE_PROVER=false
# An L1 account (with balance) private key which will send the MXCL1.proveBlock transactions.
L1_PROVER_PRIVATE_KEY=