Skip to content

Poseidon Devteam

@Poseidonteam

Skill iconRust
Skill iconJavaScript
Skill iconC#
WebAssembly

London, United Kingdom

Poseidon proves that Zcash-level privacy is possible on high-throughput chains like Solana. We built the first zkSNARK shielded pool on Solana, demonstrating that privacy doesn't require sacrificing speed or cost.

image

We built a zero-knowledge privacy layer for Solana that lets you deposit and withdraw SOL without anyone linking the transactions together.

How it works:

  • Deposit funds into a shared pool (goes into the Merkle tree)
  • Generate a zkSNARK proof off-chain to prove you own notes without revealing which ones
  • Withdraw to any address - the proof verifies everything on-chain without exposing your transaction history

What's unique:

  • Groth16 proofs verified directly on Solana (BN254 curve)
  • Join-split transactions: combine up to 6 notes, withdraw any amount, keep change as new notes
  • Explosive withdrawals: split funds across multiple intermediate wallets for extra privacy
  • Two-phase withdrawal system prevents MEV/front-running

Tech stack:

  • Rust/Anchor for the on-chain program
  • Circom for zkSNARK circuits (Poseidon hash for SNARK-friendly operations)
  • TypeScript relayer with WebSocket API
  • Sparse Merkle tree with 67M note capacity

Current state:

Built and tested on devnet. Full test suite with 53 tests covering security, accounting, and attack vectors. The math checks out, proofs verify on-chain, and withdrawals are unlinkable.

What we learned:

Fitting zkSNARK verification into Solana's compute limits required creative optimizations. The compressed memo format and two-phase withdrawal design came from hitting transaction size constraints hard.

image