PacifiQuant is a Pacifica-first perpetual trading app built for the Pacifica Hackathon.
The repo is intentionally trimmed to two surfaces:
/strategiesfor funding spread discovery, sizing, and strategy execution/perpfor direct perpetual trading across Pacifica, Hyperliquid, Lighter, and Aster
The root route redirects to /strategies.
- Pacifica is the anchor venue for both scanning and execution
- Funding history is surfaced in
24H,7D, and30Dwindows - Arb sizing is capped by live exchange balances
- Delta-neutral flow is modeled as Hyperliquid spot + Pacifica perp
apps/web Next.js frontend
packages/core Perp adapters, strategy logic, shared runtime types
packages/react Shared React auth and store layer
packages/wasm-crypto Local WASM helper used by the frontend
There is no active backend app in this trimmed repo.
- Next.js 13.5
- TypeScript
- Tailwind CSS
- TanStack Query
- Zustand
- Privy
- RainbowKit / Wagmi / Viem
@hq/coreand@hq/react
- Node.js 20+
pnpm10+
pnpm install
pnpm dev
pnpm build
pnpm typecheckDefault frontend port is 3002.
To run the frontend on 3003:
pnpm --dir apps/web exec next dev -p 3003