Wallet Providers
Unified wallet integration supporting Privy, Dynamic, Turnkey, and Mobile Wallet Adapter with comprehensive transaction management
The Wallet Providers module provides a comprehensive, unified interface for multiple wallet solutions in React Native Solana applications. It abstracts away the complexity of different wallet providers while maintaining their unique features and security standards.
Core Features
Multi-Provider Support
Unified interface for Privy, Dynamic, Turnkey, and Mobile Wallet Adapter integration
Transaction Management
Complete transaction lifecycle management with signing, simulation, and status tracking
Authentication & Security
Robust authentication flows with social login, biometrics, and institutional-grade security
Developer Experience
Simple, consistent APIs that work across all wallet providers with minimal configuration
Supported Wallet Providers
Social Login & Embedded Wallets - Perfect for mainstream user adoption
Features:
- OAuth authentication (Google, Apple, Twitter, Discord)
- Email/password login with verification
- Phone number authentication
- Custodial and non-custodial wallet options
- Cross-app wallet recovery
- Embedded wallet creation for users without existing wallets
Social Login & Embedded Wallets - Perfect for mainstream user adoption
Features:
- OAuth authentication (Google, Apple, Twitter, Discord)
- Email/password login with verification
- Phone number authentication
- Custodial and non-custodial wallet options
- Cross-app wallet recovery
- Embedded wallet creation for users without existing wallets
Advanced Embedded Wallets - Feature-rich with multi-chain support
Features:
- Multi-chain wallet support (Solana, Ethereum, Polygon, etc.)
- Customizable wallet selection UI
- Advanced authentication flows
- Chain switching capabilities
- Real-time balance tracking
- Wallet book integration with 300+ wallets
Institutional-Grade Security - MPC-based wallets for enterprise use
Features:
- Multi-Party Computation (MPC) based security
- Hardware Security Module (HSM) integration
- Passkey authentication support
- Custom authentication flows
- Enterprise-grade compliance
- Advanced key management policies
Native Mobile Integration - Direct connection to mobile wallets
Features:
- Native Android wallet integration
- QR code connection support
- Deep linking capabilities
- Automatic wallet detection
- Secure transaction signing
- Connection persistence
Core Hooks
useWallet - Universal Wallet Interface
The primary hook for wallet interactions across all providers:
useAuth - Authentication Management
Unified authentication interface across all providers:
Transaction Management
TransactionService - Comprehensive Transaction Handling
Provider Initialization
Quick Start Examples
Error Handling & Recovery
Security Best Practices
Private Key Security: Never store or transmit private keys. All providers handle key management securely.
Transaction Validation: Always simulate transactions before execution to catch errors early.
Performance Optimization
Provider Lazy Loading: Load wallet provider SDKs only when needed to reduce initial bundle size.
Integration with Other Modules
All Trading Modules
Essential for transaction signing across all DeFi operations
Data Module
Wallet address integration for portfolio and balance tracking
AI Agent Kit
Wallet integration for AI-powered transaction execution
Thread Module
User authentication and wallet-based identity for social features
API Reference
For detailed API documentation, see:
- Wallet Functions Reference - Complete wallet function documentation
- Wallet Components Reference
- Services Reference
- Types Reference
The Wallet Providers module serves as the foundation for all blockchain interactions in your Solana application, providing secure, user-friendly wallet integration that scales from mainstream users to institutional clients.