Skip to main content
This page has been updated for Wallets SDK V1. If you are using the previous version, see the previous 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
When true (default), built-in OTP signer UI prompts are shown during signing flows. When false, signing flows must be handled manually via the useWalletOtpSigner hook. Default: true.
boolean
Whether to show passkey helper UI. Default: true.

Usage

Note: CrossmintWalletProvider must be nested inside CrossmintProvider.