0xShikhar
Projects

HyperX Terminal

A trading screen that keeps up with the market, under 50ms per update.

<50ms Rendering

  • Achieves sub-50ms rendering latency on high-frequency orderbook feeds
  • Binary MsgPack serialization cutting network bandwidth consumption by 65%

# What it is

HyperX is a high-speed cryptocurrency trading interface built for Starknet. Inspired by institutional terminals like Hyperliquid, it provides sub-50ms orderbook rendering, binary streaming, and virtualized trade logs.

# Why it exists

DeFi trading interfaces typically suffer from 500ms+ latency, UI jank during high-volatility market bursts, and heavy JSON serialization overhead.

# How it works

WebSocket market feeds arrive as MsgPack binary frames, deserialize into a Zustand store tuned for high-frequency ticks, and render through a virtualized orderbook and TradingView lightweight-charts — keeping frame budget under 50ms at 1,000+ ticks/sec.

# Details

  • Sub-50ms real-time market data streaming over WebSockets with MsgPack binary serialization
  • Virtualized orderbook rendering handling 1,000+ ticks/sec without DOM lag
  • Zustand state management optimized for high-frequency tick updates
  • TradingView lightweight-charts integration with custom volume profiles

# Built with

TypeScript · Starknet · WebSockets · MsgPack · Zustand · TradingView