Silent Swap (Private Swaps)
Silent Swap enables private, hidden cross-chain swaps with enhanced privacy features. Unlike Simple Bridge, Silent Swap requires user authentication and uses facilitator wallets to enable private transactions.
Features
- Private Transactions - Swaps are hidden from public view
- SIWE Authentication - Secure Sign-In with Ethereum
- Facilitator Wallets - HD wallet generation for privacy
- Multi-Output Support - Send to multiple recipients in one swap
- Flexible Delivery Methods - Support for SNIP and other delivery methods
- Order Management - Full lifecycle management of swap orders
How It Works
- Authentication - User signs in with Ethereum (SIWE)
- Wallet Generation - Generate facilitator wallet from entropy
- Quote Request - Get quote with facilitator public keys
- Order Creation - Create order with signed authorizations
- Execution - Execute deposit and bridge transactions
- Completion - Monitor order status
Architecture
User Wallet
↓
SIWE Authentication → Auth Token
↓
Wallet Generation → Facilitator Group
↓
Quote Request → Quote Response
↓
Order Creation → Order Response
↓
Transaction Execution → Order CompletionUse Cases
- Private Payments - Send private cross-chain payments
- Multi-Recipient Swaps - Split one input across multiple outputs
- Privacy-Focused DApps - Applications requiring transaction privacy
- Enterprise Solutions - Business use cases requiring hidden transactions
Prerequisites
- User must have a connected wallet
- User must authenticate via SIWE
- Facilitator wallet must be generated
- SilentSwap client must be initialized
Key Concepts
Facilitator Groups
Facilitator groups are HD wallets derived from user entropy. They enable:
- Private transaction routing
- Multi-account management
- Secure key derivation
Authorization Instructions
Authorization instructions define what the user is authorizing:
- EIP-3009 deposits
- Token approvals
- Other authorization types
Delivery Methods
- SNIP - Standard delivery method
- Other methods as supported by the protocol
Next Steps
- Learn about client initialization
- Understand authentication
- Explore wallet generation
- See quote and execution
- Check out complete example