How It Works
Unipay provides privacy for Solana transactions through a graph-break primitive that separates the on-chain link between sender and recipient addresses.Architecture
1
Client Layer
React-based web application. Runs entirely in the browser with no server-side state.
2
Routing Layer
Stateless HTTP services that provide ephemeral deposit addresses. Never holds user funds.
3
On-Chain Integration
Direct integration with Solana programs: SystemProgram, Token Program, and liquidity aggregators.
Execution Modes
Wallet Mode
Standard Solana transaction flow with local signing:- Direct on-chain transaction
- Single signature required
- Immediate execution
Private Mode
Privacy-enhanced flow with routing layer. Client requests ephemeral deposit address. User sends funds to ephemeral address. Routing layer detects deposit and initiates output. Recipient receives funds from routing layer’s address.Privacy Model
Design Principles
- Non-custodial by Default - Browser signs everything
- Stateless Services - No user state on servers
- Disclosed Tradeoffs - Privacy model shown in-product
- Zero Config - Connect wallet and start
- Failure is Loud - Errors surface immediately