51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# Server Configuration
|
|
PORT=3001
|
|
NODE_ENV=development
|
|
|
|
# Database Configuration (PostgreSQL recommended for production)
|
|
DATABASE_URL=postgresql://username:password@localhost:5432/kaia_yield_ai
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# Kaia Network Configuration
|
|
KAIA_RPC_URL=https://public-en-baobab.klaytn.net
|
|
KAIA_MAINNET_RPC=https://public-en-cypress.klaytn.net
|
|
KAIA_TESTNET_RPC=https://public-en-baobab.klaytn.net
|
|
|
|
# Real Contract Addresses (will be populated after deployment)
|
|
YIELD_OPTIMIZER_ADDRESS=
|
|
GAME_REWARDS_ADDRESS=
|
|
USDT_TOKEN_ADDRESS=0x0339d5Eb6D195Ba90B13ed1BCeAa97EBD839Cf7
|
|
|
|
# LINE Integration
|
|
LINE_CHANNEL_ACCESS_TOKEN=abcdef123456789012345678901234567890abcdef123456789012345678901234567890
|
|
LINE_CHANNEL_SECRET=1234567890abcdef1234567890abcdef
|
|
LINE_LIFF_ID=2000000000-abcdef12
|
|
|
|
# Frontend URL
|
|
FRONTEND_URL=https://kaia-yield-ai.vercel.app
|
|
ALLOWED_ORIGINS=https://kaia-yield-ai.vercel.app,https://liff.line.me
|
|
|
|
# Security
|
|
JWT_SECRET=kaia_yield_ai_super_secure_jwt_secret_key_2025_production
|
|
ENCRYPTION_KEY=kaia_yield_encryption_key_32_ch
|
|
|
|
# AI/ML Configuration
|
|
OPENAI_API_KEY=sk-proj-abcdef123456789012345678901234567890abcdef123456789
|
|
AI_MODEL_VERSION=1.0.0
|
|
AI_UPDATE_INTERVAL=3600
|
|
|
|
# External API Keys
|
|
COINGECKO_API_KEY=CG-abcdef123456789012345678
|
|
DUNE_API_KEY=dqp_abcdef123456789012345678901234567890
|
|
|
|
# Monitoring and Logging
|
|
SENTRY_DSN=https://abcdef123456789@o123456.ingest.sentry.io/123456
|
|
LOG_LEVEL=info
|
|
|
|
# Rate Limiting
|
|
RATE_LIMIT_WINDOW_MS=900000
|
|
RATE_LIMIT_MAX_REQUESTS=100
|
|
|
|
# Cache Configuration
|
|
CACHE_TTL=300
|
|
CACHE_MAX_ITEMS=1000 |