-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
275 lines (203 loc) · 6.93 KB
/
env.example
File metadata and controls
275 lines (203 loc) · 6.93 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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
# Debug mode - set to false in production
DEBUG=true
# Bypass NFT gating for development/testing - set to false in production
BYPASS_NFT_GATE=true
# Use real market data vs mock data
REAL_DATA_MODE=false
# Application secret key - CHANGE THIS IN PRODUCTION
SECRET_KEY=dev-secret-key-change-in-production-min-32-characters
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# PostgreSQL database connection
# Database pool settings
DB_POOL_SIZE=10
DB_MAX_OVERFLOW=20
# =============================================================================
# REDIS CONFIGURATION
# =============================================================================
# Redis connection for caching and sessions
REDIS_URL=redis://localhost:6379/0
# Redis connection pool settings
REDIS_POOL_SIZE=10
# =============================================================================
# CELERY CONFIGURATION (Background Tasks)
# =============================================================================
# Celery broker and result backend (using Redis)
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND=redis://localhost:6379/0
# Celery worker settings
CELERY_WORKER_CONCURRENCY=2
CELERY_TASK_SERIALIZER=json
CELERY_RESULT_SERIALIZER=json
GEMINI_API_KEY=
GOOGLE_API_KEY=
PRIVATE_KEY=
PRIVATE_KEY_BEAM=
VENICE_API_KEY=
ETHEREUM_RPC_URL=
SKALE_RPC_URL=
BEAM_RPC_URL=
MAX_GAS_PRICE=
DEFAULT_SLIPPAGE=
MIN_TRADE_AMOUNT=
MAX_TRADE_AMOUNT=
# Default LLM provider to use
DEFAULT_LLM_PROVIDER=anthropic
# =============================================================================
# MARKET DATA PROVIDERS
# =============================================================================
# CoinGecko API key (free tier available)
COINGECKO_API_KEY=demo-key-replace-with-real-key
# CoinGecko API base URL
COINGECKO_BASE_URL=https://api.coingecko.com/api/v3
# Twitter bot username
TWITTER_USERNAME=your-bot-username
# =============================================================================
# TRADING CONFIGURATION
# =============================================================================
# Maximum gas price in gwei
MAX_GAS_PRICE=100
# Default slippage tolerance (percentage)
DEFAULT_SLIPPAGE=0.5
# Minimum trade amount in ETH
MIN_TRADE_AMOUNT=0.001
# Maximum trade amount in ETH
MAX_TRADE_AMOUNT=10.0
# Trading fee percentage
TRADING_FEE=0.003
# =============================================================================
# RATE LIMITING
# =============================================================================
# API rate limits
RATE_LIMIT_PER_MINUTE=100
RATE_LIMIT_PER_HOUR=1000
# Rate limit storage backend
RATE_LIMIT_STORAGE=redis://localhost:6379/1
# =============================================================================
# SECURITY SETTINGS
# =============================================================================
# JWT token expiration time in seconds (1 hour)
JWT_EXPIRATION=3600
# JWT algorithm
JWT_ALGORITHM=HS256
# Allowed hosts (comma-separated)
ALLOWED_HOSTS=localhost,127.0.0.1,0.0.0.0
# CORS origins (comma-separated)
CORS_ORIGINS=http://localhost:3000,http://localhost:8080
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
# Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
LOG_LEVEL=DEBUG
# Log format (simple, detailed, json)
LOG_FORMAT=detailed
# Log file path (optional)
LOG_FILE_PATH=logs/app.log
# =============================================================================
# MONITORING AND METRICS
# =============================================================================
# Enable Prometheus metrics
ENABLE_METRICS=true
# Metrics port
METRICS_PORT=9090
# Health check timeout in seconds
HEALTH_CHECK_TIMEOUT=30
# =============================================================================
# NFT GATING CONFIGURATION
# =============================================================================
# NFT contract address for access control
NFT_CONTRACT_ADDRESS=0x0000000000000000000000000000000000000000
# Required NFT token IDs (comma-separated, leave empty for any token)
REQUIRED_NFT_TOKEN_IDS=
# NFT verification cache timeout in seconds
NFT_VERIFICATION_CACHE_TIMEOUT=
# =============================================================================
# DEVELOPMENT SETTINGS
# =============================================================================
# Enable API documentation
ENABLE_DOCS=
# Enable development tools
ENABLE_DEV_TOOLS=
# Mock external services for testing
MOCK_EXTERNAL_SERVICES=
# Test mode settings
TEST_MODE=false
TEST_DATABASE_URL=
DATABASE_URL=
# =============================================================================
# DEPLOYMENT SETTINGS
# =============================================================================
# Application host and port
HOST=
PORT=
# Number of worker processes
WORKERS=
# Worker class for uvicorn
WORKER_CLASS=
# =============================================================================
# BACKUP AND RECOVERY
# =============================================================================
# Backup settings (for production)
BACKUP_ENABLED=
BACKUP_S3_BUCKET=
BACKUP_S3_REGION=
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
# =============================================================================
# NOTIFICATION SETTINGS
# =============================================================================
# Slack webhook for notifications
SLACK_WEBHOOK_URL=
# Discord webhook for notifications
DISCORD_WEBHOOK_URL=
# Email notifications
EMAIL_ENABLED=
EMAIL_SMTP_HOST=
EMAIL_SMTP_PORT=
EMAIL_USERNAME=
EMAIL_PASSWORD=
EMAIL_FROM=
EMAIL_TO=
# =============================================================================
# ADVANCED SETTINGS
# =============================================================================
# Connection timeouts
HTTP_TIMEOUT=
DATABASE_TIMEOUT=
REDIS_TIMEOUT=
# Retry settings
MAX_RETRIES=
RETRY_DELAY=
# Cache settings
CACHE_TTL=
CACHE_MAX_SIZE=
# =============================================================================
# FEATURE FLAGS
# =============================================================================
# Enable/disable specific features
ENABLE_NATURAL_LANGUAGE_TRADING=
ENABLE_AUTOMATED_STRATEGIES=
ENABLE_SOCIAL_TRADING=
ENABLE_ADVANCED_ANALYTICS=
ENABLE_MULTI_CHAIN=
# =============================================================================
# ENVIRONMENT IDENTIFICATION
# =============================================================================
# Environment name for identification
ENVIRONMENT=
# Application version
VERSION=
# Build information
BUILD_DATE=
BUILD_COMMIT=
# Twitter API Credentials
ENABLE_TWITTER=true
TWITTER_BEARER_TOKEN=
TWITTER_API_KEY=
TWITTER_API_SECRET=
TWITTER_ACCESS_TOKEN=
TWITTER_ACCESS_TOKEN_SECRET=
TWITTER_USERNAME=
OPENAI_API_KEY=
ANTHROPIC_API_KEY=