CVCT (Confidential Value Confidential Transfer) is a privacy-first token protocol on Solana using Fully Homomorphic Encryption (FHE).
CVCT enables:
- Fully encrypted token balances - Balances are never visible on-chain, even to validators
- Confidential transfers - Transfer amounts remain encrypted throughout the transaction
- Programmable privacy - Build privacy-preserving DeFi applications with encrypted state
- On-chain verification - Verify correctness without revealing sensitive data
VeilPay Payroll demonstrates CVCT's capabilities by implementing a privacy-preserving payroll system where:
- Salaries remain confidential
- Headcount is not exposed
- Compensation structures are private
- Payments are auditable through selective disclosure
- Solana - High-performance blockchain
- Inco Network - FHE coprocessor for encrypted computation
- Anchor - Solana program framework
- Next.js 14 - Modern web framework
- TypeScript - Type-safe development
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm devOpen http://localhost:3000 with your browser to see the result.
- CVCT Mint - Token mint with encrypted supply tracking
- CVCT Account - User account with encrypted balance
- CVCT Vault - Backing token storage for 1:1 redemption
- FHE Operations - Encrypted arithmetic via Inco Network
Built on top of CVCT primitives:
- Organization - On-chain entity management
- Payroll - Payment schedule configuration
- Members - Recipients with encrypted payment rates
- Treasury - Organization's CVCT token pool
- Quick Start Guide - Get running in 5 minutes
- Testing Guide - Complete testing walkthrough
CVCT can power various privacy-preserving applications:
| Use Case | Description | Status |
|---|---|---|
| Payroll | Private compensation management | Reference Implementation |
| DeFi | Confidential trading and lending | Coming Soon |
| Voting | Private on-chain governance | Coming Soon |
| Auctions | Sealed-bid auctions | Coming Soon |
| Gaming | Hidden in-game economies | Coming Soon |
| Component | Address |
|---|---|
| Program ID | Sd92uPUtbHdnoRFmi6xCEsLVh4Yg3KYcNbGXeSJVL5R |
| Inco Lightning | 5sjEbPiqgZrYwR31ahR6Uk9wf5awoX61YGg7jExQSwaj |
This project is under active development as part of the Solana Privacy Hackathon.
MIT