How crossmint/crossmint-sdk works
Main Components
a. Core SDK Layers:
• Client Layer
• Auth Client
• UI Components (React, Vue, Vanilla)
• Wallet Management
• Payment Processing
• Server Layer
• Authentication Server
• API Services
• Common Layer
• Base Utilities
• Shared Types
• Blockchain Utilities
b. External Integration Points:
• Blockchain Networks
• Payment Processors
• Authentication Providers
• Web3 Wallets
┌─────────────────────────────────────────────────────────┐
• Client Layer │
• ┬─────────────────┬───────────────────┤
• Auth UI │ Payment UI │ Wallet UI │
• Components │ Components │ Components │
• ┬────────┴────────┬────────┴─────────┬─────────┘
┌────────┼────────────────┼──────────────────┼─────────┐
• Common Layer │ │ │
• Base Types Blockchain Utils Auth Utils │
• ┼────────────────┼──────────────────┼─────────┘
┌────────┼────────────────┼──────────────────┼─────────┐
• Server Layer │
• Auth Server API Services Blockchain Bridge │
• ┘
Key Relationships to Highlight
• Data flow between client and server layers through the common layer
• Blue: Client components
• Green: Common utilities
• Orange: Server components
• Gray: External services
Implementation Details
• Support for multiple frameworks (React, Vue, Vanilla)
• Authentication flows (Email, OAuth, Web3)
• Payment processing capabilities (Crypto, Fiat)
• Wallet management features (Smart Wallet, WalletConnect)
Technical Specifications
• Supported blockchain networks (ETH, SOL)
• Supported authentication methods
• Available UI framework integrations
• API endpoints and services
Integration Points
Connections to:
• Web3 providers
• Payment processors
• Authentication services
• Blockchain networks