-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
43 lines (36 loc) · 1.11 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
# Node environment
NODE_ENV=production
# API configuration
ENABLE_API=true
PORT=3000
CORS_ORIGIN=*
# MongoDB configuration
MONGODB_URI=mongodb://localhost:27017/fee-collector
# Uncomment these if you want to enable MongoDB authentication
# MONGO_ROOT_USERNAME=root
# MONGO_ROOT_PASSWORD=your_secure_password
# Mongo Express configuration
MONGO_EXPRESS_USERNAME=admin
MONGO_EXPRESS_PASSWORD=your_secure_password
# Chain configuration
CHAIN_IDS=137,1
# Polygon configuration
CHAIN_137_NAME=Polygon
CHAIN_137_RPC_URL=https://polygon-mainnet.g.alchemy.com/v2/{API_KEY}
CHAIN_137_FEE_COLLECTOR_ADDRESS=0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9
CHAIN_137_START_BLOCK=61500000
CHAIN_137_BLOCK_RANGE=5000
CHAIN_137_RETRY_ATTEMPTS=3
CHAIN_137_RETRY_DELAY=1000
CHAIN_137_POLLING_INTERVAL=10000
# Ethereum configuration
CHAIN_1_NAME=Ethereum
CHAIN_1_RPC_URL=https://eth-mainnet.g.alchemy.com/v2/{API_KEY}
CHAIN_1_FEE_COLLECTOR_ADDRESS=0xbD6C7B0d2f68c2b7805d88388319cfB6EcB50eA9
CHAIN_1_START_BLOCK=21267961
CHAIN_1_BLOCK_RANGE=5000
CHAIN_1_RETRY_ATTEMPTS=3
CHAIN_1_RETRY_DELAY=1000
CHAIN_1_POLLING_INTERVAL=10000
# Logging
LOG_LEVEL=info