Mirage SDK v0.1.0

Transactions
aren't what they
seem on-chain.

CA:TBD

Next-generation privacy infrastructure for Solana. Native x402 protocol support, powered by high-performance Rust cryptography with Python simplicity.

pip install mirage-solana
Mirage Character
x402 Protocol
🔐Groth16 zkSNARKs
Solana Native
📖Open Source
🦀Python & Rust
How It Works

Privacy in action

See exactly how Mirage makes your transactions invisible. Simple APIs, powerful privacy.

Auto-play
Shield Assetsmain.py

Shield Assets

Convert your public tokens into private shielded assets. Your deposit becomes invisible on-chain.

1from mirage import PrivacyClient
2from solders.keypair import Keypair
3 
4# Initialize client
5client = PrivacyClient(rpc_url="https://api.mainnet-beta.solana.com")
6 
7# Shield assets (deposit into privacy pool)
8secret, commitment = client.shield_assets(
9 amount=1_000_000_000, # 1 SOL
10 token="SOL",
11 keypair=user_keypair
12)
Features

Built for invisible apps

Everything you need to build privacy-first applications on Solana.

Groth16 zkSNARKs

Military-grade zero-knowledge proofs powered by Pedersen Commitments. Your transactions are verified without revealing sender, recipient, or amount.

Lightning Fast

Proof generation in <1s, verification in <10ms. Privacy at Solana speed.

x402 Protocol

First-class integration for private micropayments, streaming payments, and confidential commerce.

Developer First

Python SDK with native Rust backend. Build privacy features in minutes, not months.

PythonRust

Zero Trust Architecture

All cryptographic proofs are generated locally on your device. Your secrets never leave your machine — not to relayers, not to servers, not to anyone.

Ready to start?

Make your transactions
disappear

Join developers building the next generation of private applications on Solana. Get started in minutes with our Python SDK.

$pip install mirage-solana