Skip to main content
You are viewing docs for the previous version of the Wallets SDK. We recommend upgrading to V1. See the updated version of this page or the V1 migration guide.
  1. CrossmintProvider — SDK initialization (required for all Crossmint features)
  2. CrossmintWalletProvider — Wallet creation and management

CrossmintProvider

Props

string
required
Your Crossmint client-side API key.
string
Application identifier, sent as x-app-identifier header.
ConsoleLogLevel
Minimum log level for console output (or “silent” to suppress all output). Logs below this level will not be written to the console. Set to “silent” to completely suppress console output. Defaults to “debug” (all logs shown) for backward compatibility.
string
Extension identifier, sent as x-extension-id header.
string
JWT token for authentication.
string
Override the base API URL.

Usage


CrossmintWalletProvider

Props

UIConfig
Appearance configuration for wallet UI components.
{ onTransactionStart?: () => Promise<void>; onWalletCreationStart?: () => Promise<void> }
Lifecycle callbacks for wallet creation and transaction events.
CreateOnLogin
Configuration for automatic wallet creation on login.
boolean
Whether to show passkey helper UI. Default: true.

Usage

Note: CrossmintWalletProvider must be nested inside CrossmintProvider.