-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
30 lines (23 loc) · 883 Bytes
/
.env.example
File metadata and controls
30 lines (23 loc) · 883 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
29
30
# Application
NODE_ENV=development
PORT=3000
LOG_LEVEL=info
# Redis Cache (optional - caching disabled if not set)
REDIS_URL=redis://localhost:6379
# Transaction Service URLs (JSON map of chainId to URL)
TX_SERVICE_URLS={"1":"https://safe-transaction-mainnet.safe.global","11155111":"https://safe-transaction-sepolia.safe.global","100":"https://safe-transaction-gnosis-chain.safe.global"}
# Safe Config Service (for dynamic chain configuration)
SAFE_CONFIG_BASE_URI=https://safe-config.safe.global/
# Use VPC URLs for transaction services (for internal network optimization)
USE_TX_SERVICE_VPC_URL=false
# CORS (comma-separated origins, or * for all)
CORS_ORIGINS=*
# Timeouts and Resilience
REQUEST_TIMEOUT_MS=30000
CIRCUIT_BREAKER_THRESHOLD=5
CIRCUIT_BREAKER_RESET_MS=30000
# Rate Limiting
RATE_LIMIT_PER_SECOND=100
RATE_LIMIT_PER_SAFE=1000
# Cache TTL
CACHE_TTL_SECONDS=60