-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (22 loc) · 808 Bytes
/
.env.example
File metadata and controls
28 lines (22 loc) · 808 Bytes
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
# Database configuration
DB_URL=postgres://postgres:postgres@localhost:5432/blobindexer?sslmode=disable
# Server configuration
PORT=8080
DEV_MODE=true
# Logging configuration
LOG_LEVEL=info
LOG_FORMAT=json
# Indexer configuration
INDEXER_VERSION=v1.0.0
# Path to YAML configuration file (optional)
CONFIG_PATH=config.yaml
# Legacy network configuration (for backward compatibility)
# These will be used to create a mainnet network if no networks are defined
RPC_URL=https://mainnet.infura.io/v3/your-api-key
START_BLOCK=LATEST-1000
# Network-specific configuration
# You can define multiple networks by using the NETWORK_<NAME>_* prefix
# Example for Sepolia testnet:
NETWORK_SEPOLIA_RPC_URL=https://sepolia.infura.io/v3/your-api-key
NETWORK_SEPOLIA_START_BLOCK=LATEST-100
NETWORK_SEPOLIA_ENABLED=true