Documentation
ZK Void Confidential Transfer API
π Privacy-First Token Transfers on Solana
The ZK Void Confidential Transfer API enables developers to integrate confidential token transfers into their dApps using Solana's SPL Token 2022 confidential transfer extensions. Our trusted backend model handles complex zero-knowledge proof generation while users maintain full control of their wallets.
π Features
π Confidential Transfers: Hide transaction amounts using zero-knowledge proofs
π Easy Integration: Simple REST API with comprehensive documentation
π Wallet Control: Users sign their own transactions and pay their own fees
π Multi-Token Support: Works with any SPL Token 2022 mint with confidential extensions
β‘ Production Ready: Deployed at
https://api.zkvoid.com
with 99.9% uptimeπ‘οΈ Security First: Deterministic key derivation with no private key storage
π Quick Start
1. Basic Setup
2. Setup Confidential Account
3. Check Balance
4. Confidential Transfer
π Documentation
π Complete Guides
API Documentation - Complete API reference with all endpoints, request/response formats, and error codes
Integration Cookbook - Practical examples, patterns, and real-world use cases
π Quick Links
Base URL:
https://api.zkvoid.com
Health Check:
GET /health
Rate Limits: 100 requests/minute (general), 10 requests/minute (transfers)
π οΈ API Endpoints
/health
GET
Service health check
/setup-account
POST
Setup confidential token account
/deposit
POST
Convert regular tokens to confidential
/apply-pending-balance
POST
Apply pending balance
/balance
POST
Get confidential balance
/transfer
POST
Execute confidential transfer
/withdraw
POST
Convert confidential tokens back to regular
π― Use Cases
π° Private Payments
Enable private transactions between users without revealing amounts on-chain.
π³οΈ Anonymous Voting
Create voting systems where vote amounts remain private.
π€ Confidential Escrow
Build escrow services with private transaction amounts.
πΌ Private DeFi
Integrate into DeFi protocols for private trading and lending.
π Security Model
Key Derivation
Deterministic: Same wallet always generates same encryption keys
Message-Based: Uses standardized message format for consistency
No Storage: Private keys never leave the client or get stored
Transaction Security
Client-Side Signing: Users sign all transactions with their wallet
Zero-Knowledge Proofs: Transaction amounts hidden using ZK proofs
Audit Trail: All transactions verifiable on-chain
Network Security
HTTPS Only: All API communications encrypted
CORS Configured: Proper cross-origin resource sharing
Rate Limited: Protection against abuse and DDoS
ποΈ Architecture
π¦ Getting Started
Prerequisites
SPL Token 2022 Mint with confidential transfer extension
Solana Wallet with message signing support (Phantom, Solflare, etc.)
RPC Connection to Solana mainnet/devnet
Integration Steps
Setup Account: Enable confidential transfers for your token
Deposit Tokens: Convert regular tokens to confidential state
Apply Pending: Make deposited tokens available for transfers
Transfer: Execute private transfers between wallets
Withdraw: Convert back to regular tokens when needed
Example Integration
π Supported Tokens
The API works with any SPL Token 2022 mint that has the confidential transfer extension enabled. Popular tokens include:
PYUSD (when auditor allows approval)
Custom Tokens with confidential extensions
DAO Tokens for private governance
Gaming Tokens for private in-game transactions
π§ Development Tools
Testing
Monitoring
Error Handling
π Deployment
Production
URL:
https://api.zkvoid.com
Status: β Live
Rate Limits: Enforced
π License
This project is licensed under the MIT License - see the LICENSE file for details.
π Acknowledgments
Solana Labs for SPL Token 2022 and confidential transfer extensions
Anza for the Agave validator and tooling
Community for feedback and contributions
Built with β€οΈ for the Solana ecosystem
Making confidential transfers accessible to every dApp developer
Last updated