Skip to main content
Final Class Configuration for CrossmintWalletController.
Pass createOnLogin to have the controller create (or load) a wallet automatically when a session becomes available. Set showOtpSignerPrompt to false if you want to drive OTP prompts entirely from your own UI (the controller still exposes the OTP controller via CrossmintWalletController.otp).

Constructors

CrossmintWalletControllerConfig

Creates a controller config. All fields are optional.

Properties

createOnLogin

When set, the controller automatically creates (or loads) a wallet on the given chain once the user is authenticated. Fill recovery with the recovery signer config (e.g. CrossmintEmailSignerConfig()).

showOtpSignerPrompt

Whether the SDK should surface the default OTP prompt automatically. Set to false to drive OTP UI yourself by listening to CrossmintWalletController.otp.

callbacks

Optional lifecycle hooks — see CrossmintWalletLifecycleCallbacks.

deviceSignerKeyStorage

Storage adapter used to persist device-signer keys. Defaults to a secure-enclave / keystore-backed implementation on device.