Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
37 lines (33 loc) · 2.64 KB
/
Copy path.env.example
File metadata and controls
37 lines (33 loc) · 2.64 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
# ─────────────────────────────────────────────────────────────────────────────
# 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://<endpoint-name>.hype-mainnet.quiknode.pro/<token>/
#
# QN_HL_ENDPOINT = <endpoint-name>.hype-mainnet.quiknode.pro:10000 (port 10000, TLS)
# QN_HL_TOKEN = <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