-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy path.env.example
More file actions
43 lines (31 loc) · 1.4 KB
/
.env.example
File metadata and controls
43 lines (31 loc) · 1.4 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
# OIF Solver Environment Variables
# =====================================
# Copy this file to .env and fill in your values
# CRITICAL: Never commit .env file with real private keys!
# Required Private Keys (64 hex characters, with or without 0x prefix)
# =====================================================================
# Used to deploy contracts during setup
DEPLOYMENT_PRIVATE_KEY=your_64_hex_char_deployment_key_here
# Solver's private key for executing orders
SOLVER_PRIVATE_KEY=your_64_hex_char_solver_key_here
# Optional Private Keys
# =====================
# User account for demo scripts (not needed for solver operation)
USER_PRIVATE_KEY=your_64_hex_char_user_key_here
# Redis Configuration (for config storage mode)
# =============================================
# Redis connection URL (required for Redis config mode)
REDIS_URL=redis://localhost:6379
# Solver ID (required when loading existing config from Redis)
# This is auto-generated when seeding, use the value printed during seed
# SOLVER_ID=solver-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
# Optional API Keys
# =================
# For price feeds (optional - uses free tier by default)
COINGECKO_API_KEY=
# JWT secret for API authentication
# Required for stable auth behavior when auth_enabled=true
JWT_SECRET=
# Optional: enable /auth/register for non-admin scopes (default: false)
# Ignored when auth_enabled=false
AUTH_PUBLIC_REGISTER_ENABLED=false