-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (42 loc) · 1.64 KB
/
.env.example
File metadata and controls
53 lines (42 loc) · 1.64 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
# ==================== DATABASE ====================
# Supabase Configuration
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_KEY=your-anon-key
# ==================== SOLANA x402 PAYMENT ====================
# x402 Facilitator (PayAI)
FACILITATOR_URL=https://facilitator.payai.network
# solana | solana-devnet
NETWORK=solana
# Your Solana wallet address for receiving payments
ADDRESS=your_wallet_address_here
SOLANA_RECIPIENT_WALLET=your_wallet_address_here
# USDC Mint Addresses (DO NOT CHANGE)
USDC_MINT_DEVNET=4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
USDC_MINT_MAINNET=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
# Solana RPC Endpoints
# IMPORTANT: For 'mainnet' cluster, you MUST use a custom RPC endpoint
# from a provider like QuickNode, Alchemy, or Helius to avoid public rate limits.
# The default public endpoint will result in 403 Forbidden errors and is not suitable for production.
# Example: https://your-project.solana-mainnet.quiknode.pro/YOUR_API_KEY/
SOLANA_RPC_DEVNET=https://api.devnet.solana.com
SOLANA_RPC_MAINNET=https://api.mainnet-beta.solana.com
# USDC Mint Addresses (DO NOT CHANGE)
USDC_MINT_DEVNET=4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU
USDC_MINT_MAINNET=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
# Cluster (devnet for testing, mainnet for production)
SOLANA_CLUSTER=devnet
# Payment Security Limits
MIN_PAYMENT_USDC=0.01
MAX_PAYMENT_USDC=1000
# ==================== SERVER ====================
PORT=3000
NODE_ENV=development
# ==================== PRICING ====================
# Free tier
FREE_DAILY_LIMIT=3
# Paid plans
PRICE_LITE=0.49
CREDITS_LITE=20
PRICE_PRO=1.49
CREDITS_PRO=100
PRICE_UNLIMITED_MONTHLY=4.90