forked from gear5labs/chenpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
95 lines (79 loc) · 3.14 KB
/
.env.example
File metadata and controls
95 lines (79 loc) · 3.14 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
NODE_ENV=development
ANTHROPIC_API_KEY=your_anthropic_api_key
NODE_URL=http://localhost:3000
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=
DB_PASSWORD=
DB_NAME=
ENCRYPTION_KEY=
# Stellar Configuration
# Network: "testnet" or "public" (mainnet)
# All other Stellar settings (Horizon URL, network passphrase, friendbot) are auto-configured based on this flag
STELLAR_NETWORK=testnet
# Optional: Override auto-configured values (not recommended)
# STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
# STELLAR_NETWORK_PASSPHRASE=Test SDF Network ; September 2015
# Stellar Webhook Configuration
STELLAR_WEBHOOK_SECRET=your_webhook_secret_for_signature_verification
# Bot Platform Configuration
# Telegram Bot Token (get from @BotFather)
TELEGRAM_BOT_TOKEN=your_telegram_bot_token
# Discord Bot Configuration
DISCORD_BOT_TOKEN=your_discord_bot_token
DISCORD_PUBLIC_KEY=your_discord_public_key_for_signature_verification
# Redis Configuration (for price caching)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# KYC Provider Configuration
# Available values depend on registered provider adapters (default: mock)
KYC_PROVIDER=mock
# JWT Configuration
JWT_ACCESS_SECRET=your_jwt_access_secret_min_32_chars
JWT_REFRESH_SECRET=your_jwt_refresh_secret_min_32_chars
# =============================================
# DeFi Adapter Configuration
# =============================================
# Equilibre DEX Adapter (Swap & Liquidity)
# DEFI_EQUILIBRE_ENABLED=true
# DEFI_EQUILIBRE_API_URL=https://api.equilibre.io
# DEFI_EQUILIBRE_RPC_URL=
# DEFI_EQUILIBRE_CAPABILITY_SWAP=true
# DEFI_EQUILIBRE_CAPABILITY_LIQUIDITY=true
# DEFI_EQUILIBRE_TIMEOUT=30000
# DEFI_EQUILIBRE_RETRY_ATTEMPTS=3
# DEFI_EQUILIBRE_RETRY_BACKOFF=1000
# YieldBlox Lending Protocol Adapter (Lending & Borrowing)
# DEFI_YIELDBLOX_ENABLED=true
# DEFI_YIELDBLOX_API_URL=https://api.yieldblox.io
# DEFI_YIELDBLOX_RPC_URL=
# DEFI_YIELDBLOX_CAPABILITY_LENDING=true
# DEFI_YIELDBLOX_CAPABILITY_BORROWING=true
# DEFI_YIELDBLOX_TIMEOUT=30000
# DEFI_YIELDBLOX_RETRY_ATTEMPTS=3
# DEFI_YIELDBLOX_RETRY_BACKOFF=1000
# =============================================
# Agent Execution Timeout Configuration
# =============================================
# Timeout values in milliseconds to prevent long-running operations from hanging the backend
# LLM Call Timeout (default: 30000ms = 30 seconds)
# Maximum time to wait for LLM API responses
AGENT_LLM_TIMEOUT=30000
# Tool Execution Timeout (default: 60000ms = 60 seconds)
# Maximum time for individual tool executions (swap, transfer, etc.)
AGENT_TOOL_TIMEOUT=60000
# Agent Execution Timeout (default: 120000ms = 2 minutes)
# Maximum time for complete agent workflow execution
AGENT_EXECUTION_TIMEOUT=120000
# Plan Execution Timeout (default: 180000ms = 3 minutes)
# Maximum time for multi-step plan execution
AGENT_PLAN_TIMEOUT=180000
# =============================================
# Admin IP Whitelist Configuration
# =============================================
# Comma-separated list of allowed IPs for admin routes
# Supports IPv4, IPv6, and CIDR notation (e.g., 192.168.1.0/24)
# Leave empty to allow all IPs (not recommended for production)
ADMIN_ALLOWED_IPS=127.0.0.1,::1