# ───────────────────────────────────────────────────────────────────────────── # Quicknode HyperCore gRPC credentials # ───────────────────────────────────────────────────────────────────────────── # Requires a Quicknode Build plan or higher with the Hyperliquid add-on enabled. # # You only need these for LIVE mode. The default `npm run dev` runs in REPLAY # mode against a bundled fixture and needs no credentials. # # Derive both values from your HTTP provider URL, which looks like: # https://.hype-mainnet.quiknode.pro// # # QN_HL_ENDPOINT = .hype-mainnet.quiknode.pro:10000 (port 10000, TLS) # QN_HL_TOKEN = (the path segment) # # Use .hype-testnet.quiknode.pro for testnet. QN_HL_ENDPOINT=your-endpoint.hype-mainnet.quiknode.pro:10000 QN_HL_TOKEN=your-quicknode-token # Alternatively, paste the full HTTP provider URL and the server will split it # into endpoint + token for you (QN_HL_ENDPOINT / QN_HL_TOKEN take precedence). # QN_HL_URL=https://your-endpoint.hype-mainnet.quiknode.pro/your-token/ # ───────────────────────────────────────────────────────────────────────────── # Server / relay # ───────────────────────────────────────────────────────────────────────────── # Port for the backend WebSocket relay (the browser connects here). PORT=8787 # Default market + depth used when a client first connects. QN_HL_COIN=BTC QN_HL_LEVELS=100 # ───────────────────────────────────────────────────────────────────────────── # Frontend (Vite reads this from the repo-root .env) # ───────────────────────────────────────────────────────────────────────────── # WebSocket URL the browser dials. Defaults to ws://localhost:8787 if unset. VITE_WS_URL=ws://localhost:8787