feat(backend): encrypt exchange credentials, remove IS_DEMO_MODE
- Fernet encrypt qd_exchange_credentials via SECRET_KEY (cryptography) - Remove global read-only demo middleware; drop is_demo from auth payloads - Egress whitelist: /api/credentials/egress-ip returns ipv4 + ipv6 (ipify) - Exchange factory: demo/testnet URLs and OKX simulated-trading header - Bitget spot connection test; misc route/service fixes Made-with: Cursor
This commit is contained in:
@@ -11,6 +11,7 @@ pymysql>=1.0.2
|
||||
SQLAlchemy>=2.0.0
|
||||
PyJWT==2.8.0
|
||||
python-dotenv>=1.0.1
|
||||
cryptography>=41.0.0
|
||||
# HD wallet derivation (xpub -> address) for USDT payments
|
||||
bip-utils>=2.9.0
|
||||
# PostgreSQL support (multi-user mode)
|
||||
|
||||
Reference in New Issue
Block a user