What is Privora?
Privora is a platform that enables developers to build Fully Homomorphic Encryption (FHE) enabled applications on Solana. With Privora, your smart contracts can perform computations on encrypted data without ever decrypting it, preserving user privacy while maintaining the benefits of blockchain transparency.Key Features
FHE Operations
Perform arithmetic and comparisons on encrypted data using TFHE (Torus FHE)
Type-Safe SDK
Rust SDK with
Encrypted<T> types that prevent mixing encrypted integer sizesContent-Addressable Store
Off-chain storage for FHE ciphertexts with on-chain hash references
Dual Encryption
User-recoverable encryption using X25519 alongside TFHE
Use Cases
Privora enables privacy-preserving versions of existing DeFi and blockchain applications:- Dark Pools & Orderbooks: Trade without revealing order prices or quantities until matched
- Sealed-Bid Auctions: Submit encrypted bids that are revealed only to winners
- Private Voting: Cast votes that remain encrypted until tallying
- Confidential Payments: Transfer tokens with encrypted amounts
- Private Data Markets: Compute on encrypted datasets without revealing the data
How It Works
- Client Encryption: Users encrypt their data client-side using the FHE public key
- Data Submission: Encrypted ciphertexts are submitted to the content-addressable store
- On-chain References: Programs store 32-byte hash references to encrypted data
- FHE Computation: Programs load encrypted data and perform operations without decryption
- Result Storage: Computation results are stored back to the content store
Architecture Overview
Privora consists of three main components:| Component | Description |
|---|---|
| Sequencer | L2 rollup that executes FHE operations and manages the data store |
| Program SDK | Rust SDK for building FHE-enabled Solana programs |
| Client SDKs | Rust and TypeScript SDKs for encryption and transaction building |
Getting Started
Quickstart
Build your first FHE program in 10 minutes
Core Concepts
Learn about FHE and Privora’s type system
Program Guide
Build FHE-enabled Solana programs
Examples
Explore the FHE orderbook reference implementation
SDK Installation
- Rust (Program)
- Rust (Client)
- TypeScript
Add to your
Cargo.toml: