-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.example
More file actions
59 lines (48 loc) · 2.04 KB
/
.env.example
File metadata and controls
59 lines (48 loc) · 2.04 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
# Provider URLs
PROVIDER_URL_MAINNET=https://eth-mainnet.g.alchemy.com/v2/your-api-key
PROVIDER_URL_POLYGON=https://polygon-mainnet.g.alchemy.com/v2/your-api-key
PROVIDER_URL_ARBITRUM=https://arb-mainnet.g.alchemy.com/v2/your-api-key
PROVIDER_URL_OPTIMISM=https://opt-mainnet.g.alchemy.com/v2/your-api-key
PROVIDER_URL_BASE=https://base-mainnet.g.alchemy.com/v2/your-api-key
PROVIDER_URL_KATANA=https://katana.gateway.tenderly.co
# Fallback Providers
PROVIDER_URL_MAINNET_1=https://rpc.ankr.com/eth
PROVIDER_URL_POLYGON_1=https://polygon-rpc.com
PROVIDER_URL_ARBITRUM_1=https://arb1.arbitrum.io/rpc
PROVIDER_URL_OPTIMISM_1=https://mainnet.optimism.io
PROVIDER_URL_BASE_1=https://mainnet.base.org
PROVIDER_URL_KATANA_1=https://rpc.katanarpc.com
# Yearn large TVL env vars
ENVIO_GRAPHQL_URL=""
# Telegram API credentials
TELEGRAM_BOT_TOKEN_DEFAULT=your-default-bot-token
TELEGRAM_CHAT_ID_DEFAULT=your-default-chat-id
# Telegram Topics (forum-style group) — single group with per-protocol topics
# TELEGRAM_CHAT_ID_TOPICS=your-topics-group-chat-id
# TELEGRAM_TOPIC_ID_AAVE=123
# TELEGRAM_TOPIC_ID_COMPOUND=456
# Protocol-specific Telegram settings (legacy per-protocol chats)
TELEGRAM_BOT_TOKEN_AAVE=your-aave-bot-token
TELEGRAM_CHAT_ID_AAVE=your-aave-chat-id
# Protocol-specific threshold settings
AAVE_ALERT_THRESHOLD=0.95
AAVE_CRITICAL_THRESHOLD=0.98
AAVE_ENABLE_NOTIFICATIONS=true
# Safe (two keys rotated to stay within API rate limits)
SAFE_API_KEY=your-api-key
SAFE_API_KEY_2=your-second-api-key
# Tenderly (for transaction simulation)
TENDERLY_API_KEY=your-tenderly-api-key
TENDERLY_ACCOUNT=yearn
TENDERLY_PROJECT=sam
# LLM provider for AI transaction explanations
# Supported: venice (default), openai, anthropic, or any OpenAI-compatible provider
LLM_PROVIDER=venice
LLM_API_KEY=your-llm-api-key
# LLM_BASE_URL=https://api.venice.ai/api/v1 # auto-set for known providers
# LLM_MODEL=grok-41-fast # auto-set for known providers
# Global settings
LOG_LEVEL=INFO # DEBUG, INFO, WARNING, ERROR (DEBUG skips Telegram sends)
REQUEST_TIMEOUT=30
RETRY_COUNT=3
BACKOFF_FACTOR=1.0