# ============================================================================ # Nghien Trick Binance API — configuration # Copy this file to ".env" and fill it in. NEVER commit your real ".env". # ============================================================================ # --- Binance READ-ONLY API key (required) ----------------------------------- # Create it in Binance -> Account -> API Management -> Create API. # Enable ONLY "Enable Reading". Do NOT enable Spot Trading, Futures, # Withdrawals or Internal Transfer. Restrict it to your server's IP. BINANCE_READ_API_KEY= BINANCE_READ_API_SECRET= # --- Auth for machine callers (recommended) -------------------------------- # Your shop/bot must send this exact value in the "X-Checker-Auth" header. # Generate one: python -c "import secrets; print(secrets.token_urlsafe(24))" CHECKER_AUTH_SECRET= # --- Optional -------------------------------------------------------------- # How many hours of Binance Pay history to scan on each check (default 6). WINDOW_HOURS=6 # Binance API base. Use https://api.binance.com (default). Some regions need # a different cluster; the service is region-agnostic otherwise. BINANCE_API_BASE=https://api.binance.com # Demo page: set DEMO_PAGE_ENABLED=0 to turn the "/" page off in production. # If you keep it on, set DEMO_PAGE_SLUG and open it as /?k= DEMO_PAGE_ENABLED=1 DEMO_PAGE_SLUG= # Port (default 8080). PORT=8080