-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
59 lines (47 loc) · 1.91 KB
/
.env.example
File metadata and controls
59 lines (47 loc) · 1.91 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
# Solana Network
SOLANA_NETWORK=mainnet-beta
SOLANA_RPC_URL=https://api.mainnet-beta.solana.com
# Helius RPC (recommended for production)
HELIUS_API_KEY=your-helius-api-key
# QuickNode RPC (optional backup)
QUICKNODE_ENDPOINT=
# Database
POSTGRES_USER=defi
POSTGRES_PASSWORD=your-secure-db-password
POSTGRES_DB=defi
DATABASE_URL=postgresql://defi:your-secure-db-password@localhost:5432/defi
# Redis
REDIS_PASSWORD=your-secure-redis-password
REDIS_URL=redis://:your-secure-redis-password@localhost:6379
# Security (IMPORTANT: Use a strong, unique password)
MASTER_PASSWORD=your-32-character-minimum-secure-master-password
# Logging
LOG_LEVEL=info
NODE_ENV=production
# Worker scaling
WORKER_REPLICAS=2
# Monitoring
GRAFANA_PASSWORD=your-grafana-admin-password
# x402 Payment Protocol (HTTP 402 micropayments)
# Enable to monetize API/tool calls with USDC payments
X402_PAY_TO_ADDRESS=0xYourEVMAddress
X402_NETWORK=eip155:8453
X402_FACILITATOR_URL=https://x402.org/facilitator
X402_DEFAULT_PRICE=$0.001
X402_APP_NAME=Boosty DeFi
X402_APP_LOGO=
# x402 Webhooks (optional - receive payment notifications)
# Set a URL to receive POST notifications on payment events
X402_WEBHOOK_URL=
# HMAC secret for webhook signature verification (recommended)
X402_WEBHOOK_SECRET=
# x402 Supported Networks and USDC Contract Addresses (for reference):
# eip155:8453 (Base) - 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
# eip155:1 (Ethereum) - 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
# eip155:42161 (Arbitrum) - 0xaf88d065e77c8cC2239327C5EDb3A432268e5831
# eip155:10 (Optimism) - 0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85
# eip155:137 (Polygon) - 0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359
# solana:mainnet - EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
# solana:devnet - 4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
# Coinbase Developer Platform (optional, for Coinbase Pay integration)
CDP_CLIENT_KEY=your-cdp-client-key