Skip to content

Motus-DAO/prism-protocol

Repository files navigation

Prism Protocol

Privacy Infrastructure for Dark Pool Trading on Solana

🚀 Hackathon MVP: Anonymous dark pool trading with ZK solvency proofs
📅 Status: In active development (Jan 20-26, 2026)
🎯 Target: Privacy Tooling + Aztec/Noir + Arcium + Range bounties ($32K)

🎯 The Problem

Dark pool traders face an impossible choice:

  • Prove you're solvent to access the pool → Reveal holdings → Get front-run
  • Hide your holdings → Can't prove solvency → Locked out

A $500K whale can't prove they meet a $10K minimum without exposing their entire position.

💡 The Solution

Prism Protocol: Privacy infrastructure that enables anonymous dark pool participation

  1. Create disposable context - Fresh wallet address
  2. Generate ZK proof - "Balance > $10K" (hides actual $500K)
  3. Access dark pool - Verified solvency without exposure
  4. Execute trade - Complete privacy
  5. Burn context - No trace to main wallet

Result: Whale status hidden, front-running prevented, privacy preserved.

🔑 Key Innovations (MVP Scope)

1. Context-Based Identities

Root Identity (Hidden)
└── Dark Pool Context (Disposable)
    ├── Fresh wallet address
    ├── Spending limits enforced
    └── Burns after use

Why it matters: Main wallet never exposed to dark pool operators or other traders.

2. Noir ZK Solvency Proofs

// Prove balance threshold without revealing amount
fn verify_solvency(
    actual_balance: Field,    // Private: $500K
    threshold: pub Field       // Public: $10K
) -> pub bool {
    actual_balance >= threshold
}

Why it matters: Selective disclosure - prove what's needed, hide what's not.

3. Arcium MPC Encryption

// Encrypt balance before proving
const encrypted = await arcium.encrypt({
  balance: wallet.balance,
  context: contextPubkey
});

// Proof uses encrypted value
const proof = await noir.prove(encrypted, threshold);

Why it matters: End-to-end encryption ensures even proof generation is private.

🎯 Primary Use Case: Dark Pool Trading

The Demo Flow

  1. Connect wallet - Show balance ($500K SOL)
  2. Create context - Generate disposable identity
  3. Generate proof - Noir ZK circuit proves balance > $10K
  4. Access pool - Dark pool verifies proof on-chain
  5. Execute trade - Complete transaction privately
  6. Burn context - Disposable wallet destroyed
  7. Result - Main wallet never exposed ✅

Beyond Dark Pools (Future Applications)

Our infrastructure also enables:

  • Anonymous governance - Vote without revealing holdings
  • Professional reputation - Prove experience without doxxing clients
  • Healthcare privacy - Therapy data marketplace without identity exposure
  • Wallet drain protection - Disposable contexts for unknown sites
  • Cross-chain attestations - Use reputation across chains

See /ideation/ folder for complete use case documentation

🏗️ Technical Stack (MVP)

Smart Contracts (Solana/Anchor)

// Two core contracts:
1. Root Identity - Soulbound master identity
2. Context Manager - Create/revoke contexts with limits

ZK Proofs (Noir)

// One production circuit:
solvency_proof.nr - Balance threshold verification

Encryption (Arcium)

// MPC encryption for sensitive data:
- Balance amounts
- Context metadata

SDK (@prism-protocol/sdk)

// Developer interface:
class PrismProtocol {
  createRootIdentity()
  createContext(type, limits)
  generateSolvencyProof(threshold)
  revokeContext(pubkey)
}

Demo Application

Dark Pool Trading Simulator
- Built with Next.js + React
- Solana wallet integration
- Real-time proof generation
- Context lifecycle visualization

🛠️ For Developers

5-Line Integration

import { PrismProtocol } from '@prism-protocol/sdk';

const prism = new PrismProtocol({ wallet });
const context = await prism.createContext('darkpool');
const proof = await prism.generateSolvencyProof(10000);
const verified = await darkPool.verifyProof(proof);

Why Developers Choose Prism

  • Simple API - Intuitive, well-documented
  • Production ready - Deployed on devnet
  • Open source - MIT license
  • Composable - Works with existing Solana apps

🏆 Hackathon Strategy

Target Bounties (Total: $32K)

Bounty Prize Our Angle
Privacy Tooling Track $15,000 SDK for privacy-preserving dark pools
Aztec/Noir $7,500 First Noir-based identity SDK
Arcium $8,000 End-to-end private DeFi with MPC
Range $1,500 Selective disclosure proofs

Why We Win

  • Actually works - Fully functional, not vaporware
  • Novel architecture - Context-based identities (never seen before)
  • Technical depth - Noir + Arcium + Solana smart contracts
  • Real problem - Whale front-running costs millions in MEV
  • One demo, four bounties - Maximum ROI on time invested

🚀 7-Day Build Timeline

Day Focus Deliverable
Day 1 Smart contracts Deployed to devnet
Day 2 Noir circuits Working solvency proofs
Day 3 SDK core TypeScript SDK functional
Day 4 Arcium integration Encrypted balance proofs
Day 5 Demo app Dark pool simulator
Day 6 Polish & docs Submission-ready
Day 7 Video & submit Submitted to all bounties

See WINNING_STRATEGY.md for detailed execution plan.

🔧 Development Setup

# Clone repository
git clone https://github.com/yourusername/prism-protocol
cd prism-protocol

# Install dependencies
npm install

# Build Solana programs
cd prism
anchor build
anchor test

# Install Noir
curl -L https://noir-lang.org/install | bash
noirup

# Run demo
npm run dev

🎥 Demo

Coming soon: Live demo and 3-minute video (Feb 1, 2026)

📚 Documentation

For Hackathon Execution

Full Vision & Research

  • /ideation/ - Complete product vision, use cases, and research
    • PRD.md - Full feature specifications
    • ARCHITECTURE.md - Complete technical architecture
    • USE_CASES.md - All potential applications
    • And more...

Note: Focus on WINNING_STRATEGY.md during hackathon. Ideation docs are for reference and post-hackathon development.

🎯 Project Philosophy

"One feature, fully working, maximum prizes."

We're building ONE killer demo that:

  • Actually works (deployed and functional)
  • Solves a real problem (whale front-running)
  • Demonstrates technical mastery (Noir + Arcium + Solana)
  • Targets multiple bounties ($32K potential)

Not building:

  • ❌ 8 half-finished features
  • ❌ Vaporware architecture diagrams
  • ❌ Concept demos without real code

We've learned: Judges reward what works, not what's promised.

📄 License

MIT License - Open source for the Solana ecosystem


Built for Solana Privacy Hackathon 2026
Privacy infrastructure that actually works


🙏 Acknowledgments

Built with:


Questions? Open an issue or check the ideation docs.