Skip to main content
Abstract Base Class Base class for external-wallet delegated signers — wallets the user owns (e.g. MetaMask, Rainbow, Phantom) where the SDK never holds keys. In Crossmint terminology, an external wallet is a flavor of delegated signer that approves operations through the user’s own wallet UI.
Signing goes through onSign; the signer is responsible for presenting the user whatever approval UI their wallet provides. The locator defaults to external-wallet:<address> when not provided explicitly.

Constructors

CrossmintExternalWalletSigner

Creates an external-wallet signer.

Properties

address

The wallet address the user controls.

locator

onSign

User-provided signing callback. Receives the chain-specific payload and returns the resulting signature string.

Methods

requireSignature

Invokes onSign and validates the result is non-empty. Used by subclasses to share error wrapping.