Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
163 lines (119 loc) · 5.49 KB
/
Copy path.env.example
File metadata and controls
163 lines (119 loc) · 5.49 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# =============================================================================
# Crypto Data Aggregator - Environment Configuration
# =============================================================================
# Copy this file to .env.local and fill in your values
# Never commit .env.local to version control!
# =============================================================================
# =============================================================================
# x402 Payment Protocol Configuration
# =============================================================================
# Your wallet address that receives USDC payments
# IMPORTANT: Set this to your actual wallet address before going live!
# On testnet, you can use any Base Sepolia address
# X402_PAY_TO_ADDRESS=0x0000000000000000000000000000000000000000
# Network configuration
# Development: eip155:84532 (Base Sepolia testnet)
# Production: eip155:8453 (Base mainnet)
# X402_NETWORK=eip155:84532
# Facilitator URL for payment verification and settlement
# Default: Public Coinbase facilitator (recommended for most use cases)
# You can run your own facilitator for full control
# X402_FACILITATOR_URL=https://x402.org/facilitator
# Optional: Payment address for x402.ts (legacy, use X402_PAY_TO_ADDRESS)
# X402_PAYMENT_ADDRESS=
# =============================================================================
# API Configuration
# =============================================================================
# CoinGecko API Key (optional but recommended for higher rate limits)
# Get one at: https://www.coingecko.com/en/api/pricing
# COINGECKO_API_KEY=
# DeFiLlama API (no key required, but you can set base URL if self-hosting)
# DEFILLAMA_BASE_URL=https://api.llama.fi
# CryptoCompare API Key (optional, 250k calls/month free)
# Get one at: https://min-api.cryptocompare.com/pricing
# CRYPTOCOMPARE_API_KEY=
# Messari API Key (optional, 20 req/min free)
# Get one at: https://messari.io/api
# MESSARI_API_KEY=
# Coinglass API Key (optional, for derivatives data)
# Get one at: https://www.coinglass.com/pricing
# COINGLASS_API_KEY=
# Etherscan API Key (required for Ethereum block explorer data)
# Get one at: https://etherscan.io/apis (free: 5 calls/sec, 100k calls/day)
# ETHERSCAN_API_KEY=
# Multi-chain Explorer API Keys (all use Etherscan-compatible APIs)
# Base: https://basescan.org/apis
# BASESCAN_API_KEY=
# Arbitrum: https://arbiscan.io/apis
# ARBISCAN_API_KEY=
# Polygon: https://polygonscan.com/apis
# POLYGONSCAN_API_KEY=
# Optimism: https://optimistic.etherscan.io/apis
# OPTIMISTIC_ETHERSCAN_API_KEY=
# BSC: https://bscscan.com/apis
# BSCSCAN_API_KEY=
# Avalanche: https://snowtrace.io/apis
# SNOWTRACE_API_KEY=
# =============================================================================
# AI Features (Optional)
# =============================================================================
# Groq API key for AI-powered features
# Get one at: https://console.groq.com/
# GROQ_API_KEY=
# OpenAI API key (alternative to Groq)
# OPENAI_API_KEY=
# =============================================================================
# Vercel KV (API Key Storage)
# =============================================================================
# Required for API key system. Get these from your Vercel KV store:
# https://vercel.com/dashboard -> Storage -> KV -> Connect
# KV_REST_API_URL=
# KV_REST_API_TOKEN=
# KV_REST_API_READ_ONLY_TOKEN=
# =============================================================================
# Development Settings
# =============================================================================
# Node environment
# NODE_ENV=development
# Enable debug logging
# DEBUG=false
# =============================================================================
# Production Settings
# =============================================================================
# Your production domain (for CORS and OAuth callbacks)
# NEXT_PUBLIC_BASE_URL=https://your-domain.com
# Analytics tracking ID (optional)
# NEXT_PUBLIC_GA_ID=
# Sentry DSN for error tracking (optional)
# SENTRY_DSN=
# =============================================================================
# Authentication (OAuth)
# =============================================================================
# JWT Secret for session tokens (generate with: openssl rand -base64 32)
# AUTH_JWT_SECRET=your-secret-key-min-32-chars
# Google OAuth (https://console.cloud.google.com/)
# GOOGLE_CLIENT_ID=
# GOOGLE_CLIENT_SECRET=
# GitHub OAuth (https://github.com/settings/developers)
# GITHUB_CLIENT_ID=
# GITHUB_CLIENT_SECRET=
# Discord OAuth (https://discord.com/developers/applications)
# DISCORD_CLIENT_ID=
# DISCORD_CLIENT_SECRET=
# Twitter/X OAuth (https://developer.twitter.com/en/portal/dashboard)
# TWITTER_CLIENT_ID=
# TWITTER_CLIENT_SECRET=
# =============================================================================
# Email (Resend)
# =============================================================================
# Resend API key (https://resend.com)
# RESEND_API_KEY=re_xxxxxxxxxxxx
# Email sender address (must be verified domain on Resend)
# EMAIL_FROM=noreply@yourdomain.com
# =============================================================================
# Exchange Sync (Encrypted Credentials)
# =============================================================================
# Encryption key for exchange API credentials (generate with: openssl rand -hex 32)
# EXCHANGE_ENCRYPTION_KEY=your-64-char-hex-key
# Internal API key for server-to-server calls
# INTERNAL_API_KEY=your-internal-api-key