-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.env.example
64 lines (43 loc) · 2.07 KB
/
.env.example
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# The logging level (default is debug, options are trace, debug, info, warn, error, fatal)
MESSAGE_RELAYER__LOG_LEVEL=debug
# The Loop interval of service (default is 0 ms)
MESSAGE_RELAYER__LOOP_INTERVAL_MS=5000
# URL pointing to an L1 RPC provider
MESSAGE_RELAYER__L1_RPC_PROVIDER=http://127.0.0.1:8545
# URL pointing to an L2 RPC provider
MESSAGE_RELAYER__L2_RPC_PROVIDER=http://127.0.0.1:18545
# The address of AddressManager contract
MESSAGE_RELAYER__ADDRESS_MANAGER=
# The address of L1CrossDomainMessenger contract
MESSAGE_RELAYER__L1_CROSS_DOMAIN_MESSENGER=
# The address of L1StandardBridge contract
MESSAGE_RELAYER__L1_STANDARD_BRIDGE=
# The address of the Portal contract
MESSAGE_RELAYER__PORTAL_ADDRESS=
# The address of the OutputOracle contract
MESSAGE_RELAYER__OUTPUT_ORACLE=
# L1 private key for proving messages. Should not be the same as the finalizer private key(bellow one)
MESSAGE_RELAYER__PROVER_PRIVATE_KEY=0x00..
# L1 private key for finalizing messages. Should set `messageRelayer` key of OasysPortal to use instant verifier
MESSAGE_RELAYER__FINALIZER_PRIVATE_KEY=0x00..
# ---------- Optionals ----------
# The address of Multicall contract
MESSAGE_RELAYER__MULTICALL_ADDRESS=0x5200000000000000000000000000000000000022
# Target gas of multicall transactions (default is 3000000)
# MESSAGE_RELAYER__MULTICALL_TARGET_GAS=
# The gas mulitplier of bached prove and finalise txs (default is 1.1)
# MESSAGE_RELAYER__GAS_MULTIPLIER=
# The Block Time of L1 (default is 15)
# MESSAGE_RELAYER__L1_BLOCK_TIME_SECONDS=
# The L2 deposit tx confirmation blocks (default is 8)
# MESSAGE_RELAYER__DEPOSIT_CONFIRMATION_BLOCKS=
# The reorg safety block depth (default is 4)
# MESSAGE_RELAYER__REORG_SAFETY_DEPTH=
# The file path of state file (default is ./state.json)
# MESSAGE_RELAYER__STATE_FILE_PATH=
# The file path of queue storage (default is ./.queuestore)
# MESSAGE_RELAYER__QUEUE_PATH=
# L2 block height to start relaying messages from (default is 0)
# MESSAGE_RELAYER__FROM_L2_TRANSACTION_INDEX=
# The max pending txs in queue (default is 1)
# MESSAGE_RELAYER__MAX_PENDING_TXS=1