-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
94 lines (66 loc) · 2.94 KB
/
.env.example
File metadata and controls
94 lines (66 loc) · 2.94 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# Solana Atomic Rescue Engine Environment Configuration
# ============================================================================
# RPC CONFIGURATION
# ============================================================================
# Primary RPC endpoint
SOLANA_RPC_MAINNET=https://api.mainnet-beta.solana.com
# Backup RPC endpoints for failover
SOLANA_RPC_BACKUP_1=https://solana-api.projectserum.com
SOLANA_RPC_BACKUP_2=https://rpc.ankr.com/solana
SOLANA_RPC_BACKUP_3=https://solana-mainnet.g.alchemy.com/v2/YOUR_ALCHEMY_API_KEY
# ============================================================================
# API KEYS
# ============================================================================
# Alchemy API key for premium RPC access
ALCHEMY_API_KEY=your_alchemy_api_key_here
# Jupiter API for price oracle (optional, no key required)
JUPITER_API_KEY=your_jupiter_api_key_here
# Threat intelligence API key
THREAT_INTEL_API_KEY=your_threat_intel_api_key_here
# ============================================================================
# ZK PRIVACY CONFIGURATION
# ============================================================================
# SolVoid ZK program ID for privacy proofs
ZK_PROGRAM_ID=Fg6PaFpoGXkYsidMpSsu3SWJYEHp7rQU9YSTFNDQ4F5i
# Merkle tree levels for ZK commitments (20 = 1M commitments)
MERKLE_TREE_LEVELS=20
# ============================================================================
# PERFORMANCE TUNING
# ============================================================================
# Maximum retry attempts for failed transactions
MAX_RETRY_ATTEMPTS=5
# Transaction timeout in milliseconds
TRANSACTION_TIMEOUT_MS=60000
# Compute unit limit for large transactions
COMPUTE_UNIT_LIMIT=1400000
# Priority fee in lamports for faster execution
PRIORITY_FEE_LAMPORTS=50000
# Maximum parallel asset scans
MAX_PARALLEL_SCANS=10
# Batch size for token account scanning
SCAN_BATCH_SIZE=50
# ============================================================================
# SECURITY CONFIGURATION
# ============================================================================
# Enable audit logging
ENABLE_AUDIT_LOGGING=true
# Log retention period in days
LOG_RETENTION_DAYS=90
# Enable real-time monitoring
ENABLE_MONITORING=true
# ============================================================================
# MONITORING & ALERTS
# ============================================================================
# Webhook URL for alerts (optional)
ALERT_WEBHOOK_URL=https://hooks.slack.com/services/YOUR/SLACK/WEBHOOK
# Email for alerts (optional)
ALERT_EMAIL=admin@yourcompany.com
# ============================================================================
# DEVELOPMENT/TESTING
# ============================================================================
# Use devnet instead of mainnet for testing
USE_DEVNET=false
# Enable debug mode for detailed logging
DEBUG_MODE=false
# Skip ZK proof generation for faster testing (dev only)
SKIP_ZK_PROOFS=false