Skip to main content
The Embedded Wallets module provides a comprehensive, unified interface for multiple wallet solutions in React Native Solana applications. It abstracts away the complexity of different Embedded Wallets 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 Embedded Wallets with minimal configuration

Supported Embedded 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

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

object

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:
The Embedded Wallets 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.