-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
90 lines (74 loc) · 3.08 KB
/
.env.example
File metadata and controls
90 lines (74 loc) · 3.08 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
# ============================================
# RUSTER REVM - Environment Configuration
# CEO Executive Order: Multi-Chain Alchemy Integration
# ============================================
# Copy this file to .env and fill in your values
# NEVER commit .env to version control!
# ============================================
# ALCHEMY API KEY (REQUIRED - One key for all chains!)
# ============================================
# Get free API key from: https://www.alchemy.com/
# This single key works for ALL supported chains:
# - EVM: ETH, BNB, Polygon, Arbitrum, Optimism, Avalanche, Base
# - Non-EVM: Solana (prepared for future support)
#
# CEO Security Directive: This key is NEVER logged
ALCHEMY_API_KEY=YOUR_API_KEY
# ============================================
# ALTERNATIVE: Individual RPC URLs
# ============================================
# If you prefer to set individual URLs (overrides ALCHEMY_API_KEY):
# These are used as PRIMARY, with public RPCs as FALLBACK
# ETH_HTTP_URL=https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# BSC_HTTP_URL=https://bnb-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# POLYGON_HTTP_URL=https://polygon-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# ARBITRUM_HTTP_URL=https://arb-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# OPTIMISM_HTTP_URL=https://opt-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# AVALANCHE_HTTP_URL=https://avax-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# BASE_HTTP_URL=https://base-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# ============================================
# SOLANA RPC (Prepared for future support)
# ============================================
# SOLANA_HTTP_URL=https://solana-mainnet.g.alchemy.com/v2/YOUR_API_KEY
# ============================================
# API SERVER (Optional)
# ============================================
RUSTER_HOST=0.0.0.0
RUSTER_PORT=3000
# ============================================
# RPC CONFIGURATION (CEO Directives)
# ============================================
# Timeout for RPC requests (default: 10 seconds)
# RPC_TIMEOUT_SECS=10
# Max retry attempts (default: 3)
# RPC_MAX_RETRIES=3
# Base delay for exponential backoff in ms (default: 100)
# RPC_RETRY_DELAY_MS=100
# ============================================
# RATE LIMITING (Optional)
# ============================================
RATE_LIMIT_RPM=100
# ============================================
# LOGGING (Optional)
# ============================================
RUST_LOG=info
# ============================================
# TELEGRAM BOT (Optional)
# ============================================
# Get token from @BotFather on Telegram
# 1. Message @BotFather
# 2. Send /newbot
# 3. Follow instructions
# 4. Copy the token here
TELEGRAM_BOT_TOKEN=YOUR_BOT_TOKEN_HERE
# Your Telegram Chat ID (get from @userinfobot)
OWNER_CHAT_ID=YOUR_CHAT_ID
# ============================================
# TRADING BOT (Optional - DANGEROUS!)
# ============================================
# Private key for trading (NEVER SHARE!)
# Export from MetaMask: Settings > Security > Export Private Key
WALLET_PRIVATE_KEY=
# Trading PIN (will be hashed)
# Set via /setpin command in bot
TRADING_PIN=