Architecture
LIQUIDO is a read-only interface over Hyperliquid's public data. It is a Next.js application using the App Router. There is no backend database, no user accounts and no server-side storage of personal data. Every number on the site is derived from Hyperliquid's public info API at request time, lightly cached, and then analysed in the browser.
- Interface: Next.js App Router pages rendered with React. Long-form content such as Learn, Docs and FAQ is stored as typed data and rendered by shared components.
- Server route proxy: route handlers under /api call Hyperliquid's endpoints, normalise the responses and set short cache lifetimes. Proxying keeps browsers from hitting upstream rate limits and gives the interface a stable shape to consume.
- Client-side analytics: returns, drawdown, volatility, ratios, correlation, basket and pair simulations are computed in the browser from the series the API routes return.
- Local persistence: saved baskets, saved pairs and interface preferences are written to localStorage in your browser only.
- 3D layer: decorative and data-driven visual scenes are rendered with React Three Fiber (R3F) on top of three.js. The 3D layer is presentation only and never affects the data shown.
- Wallet layer: injected-wallet discovery via EIP-6963 with an EIP-1193 provider fallback, network detection and optional message signing.
Browser (React, R3F, analytics, localStorage)
|
| fetch /api/*
v
Next.js route handlers (normalise + cache ~minutes)
|
| GET stats-data / POST /info
v
Hyperliquid public endpointsCaching and freshness
Route handlers cache upstream responses for a short time so that many visitors loading the same page do not each trigger a fresh upstream request. The vault list is cached for about five minutes because it changes slowly and is relatively large. Market contexts, order books and candles are cached for shorter periods appropriate to how quickly they change. Each response that carries an updatedAt field reports when its data was fetched, and the interface displays that time so you always know how fresh a figure is.
Why no database
Hyperliquid already publishes the data LIQUIDO needs, and duplicating it into a private store would add a second source of truth that could drift from the chain. Keeping the server stateless also means there is no user data to protect, migrate or leak. The trade-off is that LIQUIDO can only show what the upstream endpoints return; any history older than what they expose is not available.
No route on LIQUIDO submits orders, moves funds or writes to any chain. The only signed action is an optional personal_sign message used to prove address ownership, and it is free.
Data Sources
LIQUIDO uses two public Hyperliquid sources. Neither requires an API key.
| Source | Method | Used for |
|---|---|---|
| https://stats-data.hyperliquid.xyz/Mainnet/vaults | GET | Vault list: name, leader, TVL, APR, age, closed flag, PnL series |
| https://api.hyperliquid.xyz/info | POST {"type": "vaultDetails"} | Vault histories, followers, leader commission |
| https://api.hyperliquid.xyz/info | POST {"type": "clearinghouseState"} | Vault positions, margin summary |
| https://api.hyperliquid.xyz/info | POST {"type": "userFills"} | Recent fills |
| https://api.hyperliquid.xyz/info | POST {"type": "metaAndAssetCtxs"} | Perp market metadata and live contexts |
| https://api.hyperliquid.xyz/info | POST {"type": "l2Book"} | Order book snapshot |
| https://api.hyperliquid.xyz/info | POST {"type": "candleSnapshot"} | Daily candles |
curl -s https://api.hyperliquid.xyz/info \
-H "Content-Type: application/json" \
-d '{"type": "metaAndAssetCtxs"}'If Hyperliquid's endpoints are slow or unavailable, LIQUIDO cannot show fresh data. Routes return an error status rather than fabricated values, and the interface displays an empty or stale state with its timestamp.
API Reference
The routes below are served by the LIQUIDO deployment itself. All are GET requests, return JSON and require no authentication. Values in the examples are illustrative placeholders, not real data.
GET /api/vaults
Returns open vaults filtered from Hyperliquid's vault list (entries with isClosed true and vaults under $1,000 TVL are removed, sorted by TVL). totalOpen and totalTvl count every open vault before the TVL filter. Cached for about five minutes. Each pnl window is an array of cumulative PnL values in chronological order.
{
"updatedAt": 1767225600000,
"source": "https://stats-data.hyperliquid.xyz/Mainnet/vaults",
"totalOpen": 1000,
"totalTvl": 100000000,
"vaults": [
{
"address": "0x…",
"name": "Example Vault",
"leader": "0x…",
"tvl": 100000,
"apr": 0.1,
"createdAt": 1700000000000,
"isClosed": false,
"relationship": "normal",
"pnl": {
"day": [0, 10, 20],
"week": [0, 50, 100],
"month": [0, 500, 1000],
"allTime": [0, 5000, 10000]
}
}
]
}GET /api/vault/{address}
Combines three info calls for one vault address: vaultDetails (portfolio histories, depositor count, leader commission), clearinghouseState (positions and margin summary) and userFills (the 60 most recent fills). Numeric strings from Hyperliquid are converted to numbers. Returns 400 for an invalid address, 404 if Hyperliquid does not know the vault, and 502 if an upstream call fails. Cached for about 60 seconds.
{
"address": "0x…",
"name": "Example Vault",
"leader": "0x…",
"description": "…",
"apr": 0.1,
"isClosed": false,
"allowDeposits": true,
"leaderCommission": 0.1,
"leaderFraction": 0.05,
"followersCount": 100,
"maxWithdrawable": 50000,
"portfolio": {
"allTime": {
"accountValueHistory": [[1700000000000, 100000]],
"pnlHistory": [[1700000000000, 0]],
"vlm": 1000000
}
},
"account": {
"accountValue": 100000,
"totalNtlPos": 50000,
"totalMarginUsed": 10000,
"withdrawable": 90000,
"positions": [
{
"coin": "EXAMPLE",
"szi": 10,
"entryPx": 100,
"positionValue": 1000,
"unrealizedPnl": 0,
"returnOnEquity": 0,
"leverage": 5,
"leverageType": "cross",
"liquidationPx": 80,
"marginUsed": 200
}
]
},
"fills": [
{ "coin": "EXAMPLE", "px": 100, "sz": 1, "side": "B", "time": 1700000000000, "dir": "Open Long", "closedPnl": 0, "fee": 0.05, "hash": "0x…" }
],
"updatedAt": 1767225600000
}GET /api/markets
Flattens the metaAndAssetCtxs response into one object per listed (non-delisted) perpetual market, sorted by 24h notional volume. openInterestUsd is open interest in coins multiplied by mark price; change24h is (markPx − prevDayPx) / prevDayPx. Cached for about 30 seconds.
{
"updatedAt": 1767225600000,
"source": "https://api.hyperliquid.xyz/info (metaAndAssetCtxs)",
"markets": [
{
"name": "EXAMPLE",
"markPx": 100,
"prevDayPx": 95,
"change24h": 0.0526,
"dayNtlVlm": 1000000,
"openInterestUsd": 1000000,
"funding": 0.00001,
"premium": 0.0001,
"maxLeverage": 10
}
]
}GET /api/book/{coin}
Returns an l2Book snapshot for the coin, split into bids and asks (best price first). Each level has price px, total size sz and order count n. Cached for about 4 seconds.
{
"coin": "EXAMPLE",
"time": 1700000000000,
"bids": [{ "px": 99.9, "sz": 10, "n": 2 }],
"asks": [{ "px": 100.1, "sz": 10, "n": 3 }]
}GET /api/candles/{coin}?interval=1d&days=90
Returns a candleSnapshot for the coin. interval may be 1h, 4h or 1d (default 1d); days is clamped to 1–365 (default 90). Each candle has open time t, open o, high h, low l, close c and base-asset volume v. Cached for about five minutes.
{
"coin": "EXAMPLE",
"interval": "1d",
"candles": [
{ "t": 1700000000000, "o": 100, "h": 110, "l": 90, "c": 105, "v": 1000 }
]
}GET /api/account/{address}
Used only after a visitor connects their own wallet: returns that address's public Hyperliquid perp account (accountValue, withdrawable, totalNtlPos and positions in the same shape as above). Not cached by browsers or shared caches.
Protocol Overview
LIQUIDO is not a protocol today; it is an interface. The live product covers trader discovery, trader profiles, a liquidity explorer, analytics, simulated baskets and simulated pair comparisons, and wallet connection. The longer-term design adds an on-chain layer for representing exposure to traders, described under Token Mechanics, which has not been built.
| Capability | Status |
|---|---|
| Trader discovery from Hyperliquid vault data | Live |
| Trader profiles: equity, PnL, positions, fills, followers | Live |
| Liquidity explorer: volume, OI, funding, depth, candles | Live |
| Analytics: drawdown, volatility, ratios, correlation | Live |
| Basket builder | Live as client-side simulation |
| Pair-trading comparison | Live as client-side simulation |
| Wallet connection and message signing | Live |
| Trader tokens, minting and redemption | Not available |
| Smart contracts and audits | Not available |
Vault Mechanics
Each trader on LIQUIDO is a Hyperliquid vault. The vault mechanics themselves (deposits, withdrawals, lock-ups, profit share, minimum leader stake) are defined and enforced by Hyperliquid, not by LIQUIDO. LIQUIDO only reads their outcome.
- Discovery includes only vaults reported as open. Closed vaults are excluded, which introduces survivorship bias in any aggregate view.
- The relationship field from the vault list is passed through unchanged so the interface can distinguish ordinary vaults from protocol-related ones.
- Leader commission and follower count come from vaultDetails and are displayed as reported.
- Account value and PnL histories are the inputs for every performance metric.
LIQUIDO has no deposit flow. Depositing into a vault happens on Hyperliquid directly and is governed by Hyperliquid's rules.
Token Mechanics (Planned)
LIQUIDO trader tokens do not exist. There is no token, no ticker, no minting and no redemption. Nothing in this section is live, and any token claiming to be a LIQUIDO trader token is not one.
The design direction is to let a user hold a transferable claim that tracks a specific trader's vault performance, so exposure to traders could be combined, compared and moved like other on-chain assets. At a high level the planned design considers:
- Minting against deposits into a specific vault, with the token representing a pro-rata share.
- Redemption that returns the underlying share, subject to the vault's own withdrawal rules.
- Pricing anchored to the vault's reported equity rather than to a discretionary price.
- Execution of baskets and pairs on top of those tokens, replacing today's simulations.
These are design goals, not commitments. Parameters, feasibility and timing are undecided, and no part of the design has been audited.
Smart Contracts
LIQUIDO has not deployed any smart contracts on any network, and no audits have been performed. Treat any address presented as a LIQUIDO contract as unofficial.
| Contract | Network | Address | Status |
|---|---|---|---|
| Trader token factory | HyperEVM | — | Not deployed |
| Trader token (per vault) | HyperEVM | — | Not deployed |
| Mint and redeem router | HyperEVM | — | Not deployed |
| Basket vault | HyperEVM | — | Not deployed |
Metrics Methodology
All metrics are computed client-side from the series returned by /api/vault/{address}. Hyperliquid's histories are irregularly spaced (the all-time series is sampled every several days), so single-trader volatility is annualised using each series' actual average sampling interval. When two or more traders are compared, their series are resampled onto a common grid no finer than the sparsest input, carrying the last value forward, over the window where all of them overlap. Returns use PnL deltas so deposits and withdrawals do not distort performance.
Ratios computed on short histories (for example fewer than 30 data points) are statistically unreliable and should be read as low-confidence. Simulations ignore fees, lock-ups and slippage.
Wallet Integration
Connecting a wallet is optional. Browsing, analytics and simulations all work without one. When you connect, LIQUIDO reads your address and current network, and nothing else.
- Discovery: the app dispatches eip6963:requestProvider and listens for eip6963:announceProvider events, listing every injected wallet that announces itself. If none announce, it falls back to window.ethereum (EIP-1193).
- Connection: eth_requestAccounts asks the wallet for permission to share your address.
- Network detection: eth_chainId is read and the chainChanged and accountsChanged events are observed. HyperEVM mainnet is chain id 999 (0x3e7).
- Switching: if you choose to switch, the app calls wallet_switchEthereumChain with 0x3e7. If the wallet reports the chain is unknown (error 4902), it offers wallet_addEthereumChain.
- Verification (optional): personal_sign over a human-readable message proves you control the address. It costs nothing, sends no transaction and grants no approvals.
await provider.request({
method: "wallet_switchEthereumChain",
params: [{ chainId: "0x3e7" }],
});
// on error code 4902:
await provider.request({
method: "wallet_addEthereumChain",
params: [{
chainId: "0x3e7",
chainName: "HyperEVM",
nativeCurrency: { name: "HYPE", symbol: "HYPE", decimals: 18 },
rpcUrls: ["https://rpc.hyperliquid.xyz/evm"], // the RPC LIQUIDO proposes; confirm against Hyperliquid's docs
}],
});
const signature = await provider.request({
method: "personal_sign",
params: [messageHex, address],
});If the user rejects a request, the wallet returns error code 4001 and LIQUIDO shows a short "Request rejected in wallet" message and otherwise leaves the current state unchanged. The Disconnect button forgets the connection in the page and asks the wallet to revoke its account permission where supported; LIQUIDO keeps no session on the server, so reloading without reconnecting is also enough.
LIQUIDO never asks for a seed phrase or private key, never requests token approvals and never asks you to sign a transaction.
Developer Resources
The project runs locally with Node.js and npm. No environment variables are required, because every upstream source is public.
npm install
npm run dev
# open http://localhost:3100- Environment: none required.
- Dev server port: 3100.
- Content: long-form pages live in lib/content as typed data (Article, Section, FaqItem).
- Hyperliquid documentation: https://hyperliquid.gitbook.io/hyperliquid-docs
When developing against Hyperliquid's public endpoints, keep request volume modest and rely on the route caches rather than polling from the browser.
Changelog
| Release | Changes |
|---|---|
| Content | Learn hub, technical docs and FAQ published; metrics methodology documented |
| Simulations and wallet | Basket builder and pair-trading comparison added as client-side simulations; wallet connection with HyperEVM detection and optional signing |
| Foundation | Trader discovery, trader profiles and liquidity explorer over Hyperliquid public data |