-
Notifications
You must be signed in to change notification settings - Fork 23
/
.env.local.example
71 lines (71 loc) · 3.34 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# L1 chain config
# eth-sepolia
NEXT_PUBLIC_L1_CHAIN_ID="11155111"
NEXT_PUBLIC_L1_NAME="Sepolia"
NEXT_PUBLIC_L1_RPC_URL="https://ethereum-sepolia-rpc.publicnode.com"
NEXT_PUBLIC_L1_BLOCK_EXPLORER_NAME="Etherscan"
NEXT_PUBLIC_L1_BLOCK_EXPLORER_URL="https://sepolia.etherscan.io"
L1_RPC_WS="wss://ethereum-sepolia-rpc.publicnode.com"
# eth-mainnet
# NEXT_PUBLIC_L1_CHAIN_ID="1"
# NEXT_PUBLIC_L1_NAME="Ethereum"
# NEXT_PUBLIC_L1_RPC_URL="https://ethereum-rpc.publicnode.com"
# NEXT_PUBLIC_L1_BLOCK_EXPLORER_NAME="Etherscan"
# NEXT_PUBLIC_L1_BLOCK_EXPLORER_URL="https://etherscan.io"
#L1_RPC_WS="wss://ethereum-rpc.publicnode.com"
# L2 chain config
# opt-sepolia
NEXT_PUBLIC_L2_CHAIN_ID="11155420"
NEXT_PUBLIC_L2_NAME="OP Sepolia"
NEXT_PUBLIC_L2_RPC_URL="https://optimism-sepolia-rpc.publicnode.com"
NEXT_PUBLIC_L2_BLOCK_EXPLORER_NAME="Etherscan"
NEXT_PUBLIC_L2_BLOCK_EXPLORER_URL="https://sepolia-optimism.etherscan.io"
NEXT_PUBLIC_OPTIMISM_PORTAL_ADDRESS="0x16Fc5058F25648194471939df75CF27A2fdC48BC"
NEXT_PUBLIC_L1_CROSS_DOMAIN_MESSENGER_ADDRESS="0x58Cc85b8D04EA49cC6DBd3CbFFd00B4B8D6cb3ef"
L2_RPC_WS="wss://optimism-sepolia-rpc.publicnode.com"
# opt-mainnet
# NEXT_PUBLIC_L2_CHAIN_ID="10"
# NEXT_PUBLIC_L2_NAME="OP Mainnet"
# NEXT_PUBLIC_L2_RPC_URL="https://optimism-rpc.publicnode.com"
# NEXT_PUBLIC_L2_BLOCK_EXPLORER_NAME="Etherscan"
# NEXT_PUBLIC_L2_BLOCK_EXPLORER_URL="https://optimistic.etherscan.io"
# NEXT_PUBLIC_OPTIMISM_PORTAL_ADDRESS="0xbEb5Fc579115071764c7423A4f12eDde41f106Ed"
# NEXT_PUBLIC_L1_CROSS_DOMAIN_MESSENGER_ADDRESS="0x25ace71c97B33Cc4729CF772ae268934F7ab5fA1"
# L2_RPC_WS="wss://optimism-rpc.publicnode.com"
# local
# NEXT_PUBLIC_L2_CHAIN_ID="42069"
# NEXT_PUBLIC_L2_NAME="OP Local"
# NEXT_PUBLIC_L2_RPC_URL="http://localhost:8545"
# NEXT_PUBLIC_L2_BLOCK_EXPLORER_NAME="op-scan"
# NEXT_PUBLIC_L2_BLOCK_EXPLORER_URL="http://localhost:3000"
# NEXT_PUBLIC_OPTIMISM_PORTAL_ADDRESS=""
# NEXT_PUBLIC_L1_CROSS_DOMAIN_MESSENGER_ADDRESS=""
# L2_RPC_WS="ws://localhost:8545"
# database url for the indexer
DATABASE_URL="file:dev.db"
# constants
NEXT_PUBLIC_L1_BLOCK_TIME="12"
NEXT_PUBLIC_L2_BLOCK_TIME="2"
NEXT_PUBLIC_BLOCKS_PER_PAGE="25"
NEXT_PUBLIC_TXS_PER_PAGE="50"
NEXT_PUBLIC_TXS_ENQUEUED_PER_PAGE="50"
NEXT_PUBLIC_EVENTS_PER_PAGE="25"
NEXT_PUBLIC_TRANSACTIONS_HISTORY_COUNT="14"
# metadata
NEXT_PUBLIC_METADATA_TITLE="OP Scan"
NEXT_PUBLIC_METADATA_DESCRIPTION="OP Stack Blockchain Explorer"
NEXT_PUBLIC_METADATA_URL="https://www.opscan.co"
NEXT_PUBLIC_METADATA_ICON="https://www.opscan.co/img/logo.png"
# reown project id (optional)
NEXT_PUBLIC_REOWN_PROJECT_ID=""
# fallback rpc urls for the indexer
NEXT_PUBLIC_L1_FALLBACK1_RPC_URL="https://rpc.ankr.com/eth_sepolia"
NEXT_PUBLIC_L2_FALLBACK1_RPC_URL="https://rpc.ankr.com/optimism_sepolia"
NEXT_PUBLIC_L1_FALLBACK2_RPC_URL="https://endpoints.omniatech.io/v1/eth/sepolia/public"
NEXT_PUBLIC_L2_FALLBACK2_RPC_URL="https://endpoints.omniatech.io/v1/op/sepolia/public"
NEXT_PUBLIC_L1_FALLBACK3_RPC_URL="https://sepolia.drpc.org"
NEXT_PUBLIC_L2_FALLBACK3_RPC_URL="https://optimism-sepolia.drpc.org"
# NEXT_PUBLIC_L1_FALLBACK4_RPC_URL="https://eth-sepolia.g.alchemy.com/v2/FALLBACK4_API_KEY"
# NEXT_PUBLIC_L2_FALLBACK4_RPC_URL="https://opt-sepolia.g.alchemy.com/v2/FALLBACK4_API_KEY"
# NEXT_PUBLIC_L1_FALLBACK5_RPC_URL="https://sepolia.infura.io/v3/FALLBACK5_API_KEY"
# NEXT_PUBLIC_L2_FALLBACK5_RPC_URL="https://optimism-sepolia.infura.io/v3/FALLBACK5_API_KEY"