CryptoFox-Mukan-Edition/.env.example
Mukan Erkin 3a54d7f437 feat(mse): cookie auth, bot detail page, chart with markers
- Cookie-based auth: bcrypt password hash, SQLite sessions
- Multipage routing: /, /dashboard, /bots/:id with server-side auth check
- bot_logs table + SSE log streaming per bot
- Bot detail page: Binance chart (LW Charts), position markers/price lines, live log terminal
- Chart always uses live Binance data regardless of bot mode
- Position buy markers on correct candle via timeframe offset
- Open positions: green target price line; closed: buy/sell arrow markers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 12:22:00 +03:00

8 lines
360 B
Text

BINANCE_API_KEY=your-live-api-key
BINANCE_API_SECRET=your-live-api-secret
BINANCE_TESTNET_API_KEY=your-testnet-api-key
BINANCE_TESTNET_API_SECRET=your-testnet-api-secret
# bcrypt hash — üretmek için: htpasswd -bnBC 10 "" sifreniz | tr -d ':\n' | sed 's/$2y/$2b/'
ADMIN_PASSWORD_HASH=$2b$10$example_hash_here
DB_PATH=data/bots.db
LISTEN_ADDR=127.0.0.1:4646