The data platform for the HyperLiquid ecosystem: real-time markets, blockchain explorer, analytics, wiki, and community features in one place.
Next.js 16 (App Router) | React 19 | TypeScript (strict) | Tailwind CSS + shadcn/ui | Zustand | Privy (auth)
Charts use TradingView Lightweight Charts and Recharts, animations use Framer Motion, and data fetching goes through Axios with custom hooks.
- Real-time market data: spot, perps, order books, and price feeds
- Blockchain explorer for transactions, addresses, and liquidations
- Personal dashboard with portfolio and trading history
- Wiki and educational resources
- Web3 authentication via Privy
- Node.js 22+ and pnpm
- The backend API running locally, or a deployed endpoint
git clone https://github.com/Yaugourt/liquidterminal_front.git
cd liquidterminal_front
pnpm install
cp env.example .env # then fill in the values
pnpm run devOpen http://localhost:3000.
| Command | Description |
|---|---|
pnpm run dev |
Development server (Turbopack, 127.0.0.1:3000) |
pnpm run build |
Production build |
pnpm run start |
Start the production build |
pnpm run lint |
ESLint |
pnpm run visual-check <route> |
Screenshot a route at 3 breakpoints and fail on clipping or overflow |
Run both pnpm run build and pnpm run lint before merging: a build can pass while lint fails.
Copy env.example to .env:
| Variable | Purpose |
|---|---|
NEXT_PUBLIC_API |
Backend API URL (e.g. http://localhost:3002) |
JWKS_URL, NEXT_PUBLIC_PRIVY_AUDIENCE |
Privy authentication |
NEXT_PUBLIC_ENVIRONMENT |
development or production |
src/
├── app/ # App Router pages (dashboard, explorer, market, wiki...)
├── components/ # Domain-organized components (ui/ = shadcn base)
├── services/ # 4-layer API pattern per domain
├── hooks/ # Custom React hooks
├── store/ # Zustand stores
└── lib/ # Formatting and helpers
Each API service follows a four-layer pattern: api.ts (HTTP calls) -> types.ts (interfaces) -> hooks/ (data fetching) -> components. All calls go through the centralized Axios helpers and the useDataFetching hook.
- docs/CODEMAP.md - route to component to data-source map. Start here.
- DESIGN_SYSTEM.md - design system reference (tokens, primitives, patterns)
- API_IMPLEMENTATION_GUIDE.md - how to add a new API service
- Backend: LiquidTerminal_Back
- Website: liquidterminal.xyz
- X: @LiquidTerminal
MIT. See LICENSE.