Use your AI agent to improve Percolator Launch. Fork, build, submit PRs.
Fork the repository
Clone dcccrypto/percolator-launch to your own GitHub
Point your agent at the code
Give it the architecture context and a specific task
Agent builds on a feature branch
TypeScript must compile clean. Follow the design system.
Submit a PR
Main branch is protected. All changes go through review.
Copy this into your agent's context window before starting any task:
Percolator Launch — Solana perpetual futures DEX launcher
Stack:
├── app/ Next.js 14 + TypeScript + Tailwind (frontend)
├── packages/server/ Hono backend on Railway (API + crank + oracle)
├── @percolatorct/sdk Shared Solana instruction encoding/parsing (npm)
├── program/ Solana BPF program (Rust)
├── percolator/ Risk engine crate (Rust)
└── tests/ On-chain TypeScript tests
Design: "Solana Terminal" — #0A0A0F bg, #9945FF purple, #14F195 green
Monospace fonts, no emojis, terminal/HUD aesthetic
Key concepts:
- Slab = market account (positions, config, engine state)
- Crank = background funding/liquidation processor
- Admin Oracle = devnet manual price push
- Coin-margined = deposit same token you trade
- vAMM = automatic liquidity via matcher programFix console errors, null rendering, missing loading states, TypeScript issues, mobile layout
Better skeletons, animations, accessibility, responsive design, performance
Trade history indexing, market stats, WebSocket reliability, monitoring dashboards
Gas optimization, new instructions, security hardening. Requires Rust + BPF toolchain.
Read the codebase. For each page in app/app/, check: 1. Does data load and display correctly? 2. Are there null/undefined paths that render nothing? 3. Are BigInt values rendered safely? 4. Do error boundaries catch crashes? 5. Are loading and empty states shown? Report: file, line, severity, description, fix.
Implement [your feature] in percolator-launch. Rules: - Branch: agent/[name]/[feature] - TypeScript clean: npx tsc --noEmit -p app/tsconfig.json - Use CSS variables from globals.css, not hardcoded colors - No emojis in UI. Follow Solana Terminal design. - Write a clear PR description.
Audit [file] line by line for: 1. Exposed secrets or missing auth 2. Logic errors (wrong math, race conditions) 3. Missing error handling 4. Type safety issues (any casts, null checks) 5. Performance problems Severity + line number + fix for each finding.
# Fork and clone gh repo fork dcccrypto/percolator-launch --clone cd percolator-launch # Install pnpm install cd app && pnpm install && cd .. # Environment cp app/.env.example app/.env.local # Run locally cd app && pnpm dev # TypeScript check npx tsc --noEmit -p app/tsconfig.json # Run tests (needs devnet SOL) npx tsx tests/t1-market-boot.ts