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
135 lines (113 loc) · 4.86 KB
/
Copy path.env.example
File metadata and controls
135 lines (113 loc) · 4.86 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
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
# Soroban contract metadata registry bindings
# Set global contract IDs or environment-scoped overrides such as TESTNET_CORE_VAULT_CONTRACT_ID
SOROBAN_RPC_URL=https://soroban-testnet.stellar.org
CORE_VAULT_CONTRACT_ID=
MULTI_HOP_SWAP_CONTRACT_ID=
STRATEGY_REGISTRY_CONTRACT_ID=
HTLC_CONTRACT_ID=
RBAC_CONTRACT_ID=
# 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
# Voice Transcription Configuration
# OpenAI API Key for Whisper transcription service (required for voice message support)
OPENAI_API_KEY=your_openai_api_key
# Optional: Custom OpenAI API URL (defaults to https://api.openai.com/v1/audio/transcriptions)
# OPENAI_API_URL=https://api.openai.com/v1/audio/transcriptions
# Discord Scam Detection Configuration (#124)
# Enable/disable scam link detection (default: true)
DISCORD_SCAM_DETECTION_ENABLED=true
# Action to take when scam links are detected: "flag" (reply with warning) or "block" (delete message)
DISCORD_SCAM_DETECTION_ACTION=flag
# Comma-separated list of channel IDs to monitor for scam links (empty = monitor all public channels)
DISCORD_SCAM_DETECTION_CHANNELS=
# Market Digest Scheduler Configuration (#465)
# Master on/off switch for the scheduler-backed daily digest (default: false).
# Controls both Discord and Telegram targets — set platform channel/chat IDs below.
MARKET_DIGEST_ENABLED=false
# UTC time for the daily post (HH:MM, default: 09:00)
MARKET_DIGEST_TIME=09:00
# Max retries per target when a post fails (default: 3)
MARKET_DIGEST_RETRY_ATTEMPTS=3
# Delay between retries in ms (default: 30000)
MARKET_DIGEST_RETRY_DELAY_MS=30000
# Discord digest target — channel ID where the daily digest will be posted
DISCORD_MARKET_OVERVIEW_CHANNEL_ID=
# Telegram digest target — chat/channel ID where the daily digest will be posted
TELEGRAM_MARKET_OVERVIEW_CHAT_ID=
# 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