-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
45 lines (37 loc) · 1.01 KB
/
Copy pathenv.example
File metadata and controls
45 lines (37 loc) · 1.01 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
# RPC endpoints
ETH_RPC_URL=https://mainnet.infura.io/v3/YOUR_KEY
ARB_RPC_URL=https://arb1.arbitrum.io/rpc
# Wallet
ACCOUNT_ADDRESS=0x...
# Key management — choose one:
#
# Option A: AWS KMS (recommended for prod)
# KMS_KEY_ID=arn:aws:kms:us-east-1:123456789:key/...
#
# Option B: HashiCorp Vault
# VAULT_ADDR=https://vault.internal
# VAULT_SECRET_PATH=secret/lp-engine/pk
#
# Option C: .env file (dev/testnet only — never on mainnet with real capital)
# PRIVATE_KEY=0x...
#
# The engine reads the key via src/utils/key_provider.py — implement the
# KMS/Vault path before going live.
# Engine params
MAX_POSITION_USD=50000
IL_HEDGE_THRESHOLD_BPS=50
GAS_PRICE_GWEI_CAP=80
MAX_REBALANCES_PER_HOUR=6
MAX_DRAWDOWN_PCT=10
# Pool (one per engine instance)
POOL_ADDRESS=0x8ad599c3A0ff1De082011EFDDc58f1908eb6e6D8
# Metrics
METRICS_ENABLED=true
METRICS_PORT=8000
# State
STATE_DB_PATH=lp_engine.db
# Redis (optional — for kill switch; leave blank to disable)
REDIS_URL=
# Logging
LOG_LEVEL=INFO
LOG_FORMAT=json