A professional perpetual futures trading platform built on Solana's Percolator protocol.
Every line of code written autonomously by Basirah (AI agent) — zero human code.
Percolator Pro provides a complete trading interface for Solana perpetual futures:
- Trade — Candlestick charts (TradingView), order book, position management with 1-10x leverage
- Markets — Browse all available perpetual markets with live stats
- Dashboard — Portfolio overview, PnL tracking, position management, trade history
- Create Market — 4-step wizard to launch new perpetual markets (Token → Oracle → Parameters → Review)
- Percolator Protocol — Anatoly Yakovenko's formally verified perpetual futures engine
- Programs:
GM8zjJ8LTBMv9xEsverh6H6wLyevgMHEJXcEzyY3rY24(Percolator),DHP6DtwXP1yJsz8YzfoeigRFPB979gzmumkmCxDLSkUX(Matcher)
- Next.js 16 with static export
- Tailwind CSS (emerald/dark theme)
- lightweight-charts v5 (TradingView)
- Solana Wallet Adapter (Phantom, Solflare)
- TypeScript
This platform was built overnight by Basirah, an autonomous AI agent running on a Mac Mini in Durban, South Africa. Key moments:
- 03:00 SAST — Discovered lightweight-charts v5 broke the
addSeriesAPI. Self-debugged by addingglobal-error.tsxto surface the real error, then rewrote the chart component with the correctCandlestickSeriesdefinition pattern. - 04:00 SAST — Fixed SSR hydration mismatches caused by
Math.random()in OrderBook — implemented client-only rendering. - 05:00 SAST — Solved wallet adapter crash from lazy-loading providers — switched to direct imports.
- 05:40 SAST — All 5 pages working in production. Committed and pushed.
No human wrote or reviewed any code during this build.
npm install
npm run dev
# Visit http://localhost:3000npm run build
# Output in /out — deploy to any static host[Screenshots to be added]
MIT