Hide your trades. Settle atomically. Zero MEV. Institutional-grade OTC dark pool protocol using Encrypt SDK for encrypted state and Ika Custody for bridgeless atomic settlement. Audited by Adevar Labs.
Large-scale crypto trades on public DEXs are fundamentally broken for institutional participants:
- MEV Extraction β Bots front-run and sandwich large orders, extracting $1.4B+ in 2025
- Market Impact β A $2M sell on a public AMM moves price 2-5%, costing tens of thousands in slippage
- Identity Exposure β On-chain analysis links wallets to real identities; competitors see your positions
- No On-Chain OTC β Traditional desks are custodial, slow (T+1), and KYC-gated
The crypto OTC market exceeds $100B annually, yet there is no privacy-preserving, non-custodial OTC protocol on Solana.
Civa (CipherVault) provides an encrypted OTC dark pool in the DeFi category:
- π Makers post encrypted offers β lock assets in vault PDAs, trade params encrypted via Encrypt SDK
- ποΈ Takers match blindly β browse liquidity bands ($1M-$5M) without seeing exact amounts
- β‘ Atomic settlement β Ika Custody executes simultaneous swap, zero custodial risk
- π‘οΈ Post-trade privacy β settlement reveals only net transfer, not order sizes or parties
Entire flow: order β settlement in under 10 seconds. 100% on-chain.
| Layer | Technology |
|---|---|
| Frontend | Next.js 16 (App Router), React 19 |
| Styling | Tailwind CSS v4 |
| Encryption | Encrypt SDK (confidential tokens, ZKP) |
| Settlement | Ika Custody (bridgeless atomic swap) |
| Blockchain | Solana Devnet |
| Audit | Adevar Labs Security Credits |
| Deploy | Vercel |
π Full architecture deep-dive β β System diagram, matching flow, and encryption details.
# Clone
git clone https://github.com/edycutjong/civa.git
cd civa
# Install
npm install
# Configure environment
cp .env.example .env.local
# Fill in: ADEVAR_API_KEY (optional β demo mode works without keys)
# Run
npm run devOpen http://localhost:3000 β the hero page loads with full animation suite.
| Variable | Required? | Where to Get |
|---|---|---|
NEXT_PUBLIC_ADEVAR_API_URL |
Optional | Encrypt SDK β defaults to demo endpoint |
ADEVAR_API_KEY |
Optional | Not required (No developer portal for Ika yet) |
π‘ Note for Judges (Where to get the API key?): The variable is named
ADEVAR_API_KEYafter the track sponsor, but it is actually intended for the Encrypt SDK / Ika backend. Because a public developer portal does not exist yet, you do not need an API key. All API keys are 100% optional. If left blank, the app will automatically fall back to generating mock ZK proofs so you can test the entire flow uninterrupted.
Premium glassmorphism hero with particle canvas, orbital rings, animated counters, and mesh gradient background. Floating sponsor badges (Encrypt, Ika, Adevar) and staggered entrance animations.
Create encrypted OTC offers with asset selection, amount input (encrypted on-chain), and visible liquidity band (ZKP). Real-time ZK proof generation simulation.
Browse available encrypted orders showing only visible bands. Order IDs, asset types, and status β all trade details hidden via zero-knowledge proofs.
Split-screen view: Public Explorer (encrypted gibberish) vs Civa Dark Desk (decrypted view). Demonstrates the privacy advantage for authorized participants.
src/
βββ app/
β βββ page.tsx # Hero + Dashboard
β βββ about/page.tsx # Project documentation
β βββ layout.tsx # Root layout + fonts
β βββ globals.css # Design system + animations
β βββ api/health/ # Health check endpoint
βββ components/
β βββ HeroSection.tsx # Animated hero with particles
β βββ StatusBar.tsx # Network status bar
β βββ Footer.tsx # Portfolio footer
β βββ OrderCreator.tsx # Encrypted order form
β βββ LiquidityBoard.tsx # Dark pool order table
β βββ ComparisonSplitScreen.tsx # Public vs Private view
βββ lib/
β βββ adevar.ts # Encrypt/Ika SDK client
docs/
βββ ARCHITECTURE.md # System architecture
βββ readme-hero.png # Hero banner image
| Token | Value | Usage |
|---|---|---|
| Background | #020617 |
App background (Slate 950) |
| Surface | #0a0f1e |
Cards, panels |
| Primary | #06b6d4 |
Encrypt/Ika accent (Cyan) |
| Accent | #8b5cf6 |
Ika/secondary (Purple) |
| Success | #22c55e |
Private/verified states |
| Danger | #ef4444 |
Public/exposed states |
| Font Brand | Orbitron | Headlines, protocol name |
| Font Body | Inter | Body text |
| Font Mono | JetBrains Mono | Data, addresses, terminal |
| Track | Sponsor | Prize |
|---|---|---|
| Encrypted Capital Markets | Encrypt & Ika | $15,000 |
| Security Audit Credits | Adevar Labs | $50,000 |
| General Track | 100xDevs | $10,000 |
| Threat | Mitigation |
|---|---|
| Front-running | All order params encrypted via Encrypt SDK |
| Vault drainage | Multi-sig admin, timelock on upgrades |
| Double-spend | Atomic escrow β both sides lock first |
| Timeout exploitation | Auto-refund after configurable timeout |
| Oracle manipulation | No oracle β peer-to-peer pricing |
Civa handles institutional liquidity and executes complex atomic settlements using novel cryptographic primitives (Encrypt SDK) and custody logic (Ika SDK). Because our core value proposition is secure, zero-MEV trading, our architecture must be impenetrable. A professional security audit from Adevar Labs is critical to validating our escrow mechanisms, zero-knowledge integrations, and Anchor program safety before we can safely onboard institutional capital to the Solana mainnet.
- Pitch Deck: View our complete investor pitch deck
- Funding Stage: Civa is currently bootstrapped. We are actively utilizing the Colosseum Frontier Hackathon to validate our product-market fit.
- Future Plans: Post-hackathon, we plan to raise a pre-seed round to fund a mainnet launch, finalize our security audits, and execute our initial go-to-market strategy targeting high-volume OTC traders.
Built for the Colosseum Frontier Hackathon
by @edycutjong