Hybrid prediction market: instant off-chain micro-bets with on-chain Sui settlement.
Invisible DEX is a hybrid prediction market focused on real‑time, high‑frequency betting. It pairs off‑chain execution for speed with on‑chain settlement for verifiability. Users connect a Sui wallet to create markets and place bets; the frontend builds Sui transaction blocks for on‑chain market creation, while bets are routed to a Node/Express + WebSocket server for instant handling. The backend aggregates on‑chain MarketCreated events with API‑created markets and exposes REST + WS endpoints for live market updates. Yellow Network’s Nitrolite SDK is integrated for off‑chain micro‑bets and health checks, giving low‑latency, low‑cost execution. Final outcomes are designed to be settled on Sui, keeping results auditable and trust‑minimized while still delivering an app‑like betting UX.
We built Invisible DEX as a hybrid prediction market: Sui Move contracts handle on‑chain settlement and market creation, while Yellow Network (Nitrolite SDK) enables instant off‑chain micro‑bets. The React 18 + Vite + Tailwind frontend uses the Sui dapp kit to build PTBs for on‑chain calls and talks to a Node/Express + WebSocket backend that aggregates on‑chain MarketCreated events with API‑created markets. Partner tech: Yellow gives speed and low‑cost micro‑bets; Sui gives verifiable finality. A notable hack: if no Sui package is configured, we fall back to an in‑memory market flow so the full UX still works end‑to‑end, plus a demo script to exercise Nitrolite off‑chain transfers.

