-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (40 loc) · 1.17 KB
/
.env.example
File metadata and controls
48 lines (40 loc) · 1.17 KB
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
# SV Node Connection
SVNODE_RPC_HOST=127.0.0.1
SVNODE_RPC_PORT=8332
SVNODE_RPC_USER=your_rpc_username
SVNODE_RPC_PASSWORD=your_rpc_password
SVNODE_ZMQ_RAWTX=tcp://127.0.0.1:28332
SVNODE_ZMQ_HASHBLOCK=tcp://127.0.0.1:28333
RPC_VERBOSE_LOGGING=false
# Database
MONGODB_URL=mongodb://127.0.0.1:27017/bsv_tracker
# API Server
API_PORT=3000
API_HOST=0.0.0.0
# Network Configuration
BSV_NETWORK=mainnet
# Logging & Debug
LOG_LEVEL=info
ZMQ_VERBOSE_LOGGING=false
CONFIRMATION_TRACKER_VERBOSE_LOGGING=false
# WhatsOnChain Integration (for historical data)
# Optional: Add your WoC API key to increase rate limits
# Format: mainnet_xxxx or testnet_xxxx (get from whatsonchain.com)
# WOC_API_KEY=mainnet_xxxxxxxxxxxxxxxxxxxxxxx
# Max API limit is 40 req/sec, 25ms delays
WOC_RATE_LIMIT_MS=1000
MAX_HISTORY_PER_ADDRESS=500
WOC_VERBOSE_LOGGING=false
# Processing
AUTO_ARCHIVE_AFTER=144
# API Authentication (Optional)
# Set REQUIRE_API_KEY=true to enable API key authentication
REQUIRE_API_KEY=false
# API_KEY=your-secure-api-key-here
# Webhooks (Optional)
ENABLE_WEBHOOKS=false
WEBHOOK_BATCH_SIZE=100
WEBHOOK_PROCESSING_INTERVAL=5000
WEBHOOK_TIMEOUT=10000
WEBHOOK_MAX_RETRIES=5
WEBHOOK_CLEANUP_DAYS=7