forked from walnuthq/op-scan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.local.example
47 lines (47 loc) · 1.93 KB
/
.env.local.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
# L1 chain config
# sepolia
NEXT_PUBLIC_L1_CHAIN_ID="11155111"
NEXT_PUBLIC_L1_NAME="Sepolia"
NEXT_PUBLIC_L1_RPC_URL="https://eth-sepolia.g.alchemy.com/v2/API_KEY"
# mainnet
#NEXT_PUBLIC_L1_CHAIN_ID="1"
#NEXT_PUBLIC_L1_NAME="Ethereum"
#NEXT_PUBLIC_L1_RPC_URL="https://eth-mainnet.g.alchemy.com/v2/API_KEY"
# L2 chain config
# local
NEXT_PUBLIC_L2_CHAIN_ID="42069"
NEXT_PUBLIC_L2_NAME="OP Local"
NEXT_PUBLIC_L2_RPC_URL="http://localhost:8545"
# optimism
#NEXT_PUBLIC_L2_CHAIN_ID="10"
#NEXT_PUBLIC_L2_NAME="OP Mainnet"
#NEXT_PUBLIC_L2_RPC_URL="https://opt-mainnet.g.alchemy.com/v2/API_KEY"
# L1 contract addresses for L2
# local
NEXT_PUBLIC_DISPUTE_GAME_FACTORY_ADDRESS=""
NEXT_PUBLIC_L2_OUTPUT_ORACLE_ADDRESS=""
NEXT_PUBLIC_OPTIMISM_PORTAL_ADDRESS=""
NEXT_PUBLIC_L1_STANDARD_BRIDGE_ADDRESS=""
NEXT_PUBLIC_L1_CROSS_DOMAIN_MESSENGER_ADDRESS=""
# optimism
#NEXT_PUBLIC_DISPUTE_GAME_FACTORY_ADDRESS="0xe5965Ab5962eDc7477C8520243A95517CD252fA9"
#NEXT_PUBLIC_L2_OUTPUT_ORACLE_ADDRESS="0xdfe97868233d1aa22e815a266982f2cf17685a27"
#NEXT_PUBLIC_OPTIMISM_PORTAL_ADDRESS="0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
#NEXT_PUBLIC_L1_STANDARD_BRIDGE_ADDRESS="0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1"
#NEXT_PUBLIC_L1_CROSS_DOMAIN_MESSENGER_ADDRESS="0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"
# constants
NEXT_PUBLIC_L1_BLOCK_TIME="12"
NEXT_PUBLIC_L2_BLOCK_TIME="2"
NEXT_PUBLIC_BLOCKS_PER_PAGE="10"
NEXT_PUBLIC_TXS_PER_PAGE="10"
NEXT_PUBLIC_TXS_ENQUEUED_PER_PAGE="10"
# database url for the indexer
#DATABASE_URL="file:dev.db"
# wss connections for the indexer
#L1_RPC_WSS=""
#L2_RPC_WSS=""
# fallback rpc url for the indexer
#NEXT_PUBLIC_L1_FALLBACK1_RPC_URL="https://opt-mainnet.g.alchemy.com/v2/FALLBACK1_API_KEY"
#NEXT_PUBLIC_L2_FALLBACK1_RPC_URL="https://opt-mainnet.g.alchemy.com/v2/FALLBACK1_API_KEY"
#NEXT_PUBLIC_L1_FALLBACK2_RPC_URL="https://opt-mainnet.g.alchemy.com/v2/FALLBACK2_API_KEY"
#NEXT_PUBLIC_L2_FALLBACK2_RPC_URL="https://opt-mainnet.g.alchemy.com/v2/FALLBACK2_API_KEY"