CrossmintDeviceWalletSigner class final
Hardware-backed approval signer — keys live in Secure Enclave (iOS) or Android Keystore, never in Dart memory.
Device signers are the SDK's default delegated signer: low-friction, used for day-to-day transaction approvals. They are supported on EVM and Stellar wallets, and on Solana wallets whose provider supports them (Swig/Crossmint; Squads does not) — validated server-side.
The locator must follow the device:<publicKeyBase64> format. Use
CrossmintWalletsClient.createDeviceSigner to register a new device
signer and get a valid locator.
- Implemented types
Constructors
- CrossmintDeviceWalletSigner({required String address, required String locator, DeviceSignerKeyStorage? storage})
- Creates a device wallet signer bound to an existing hardware key.
Properties
- address → String
-
The wallet address associated with this signer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locator → String
-
final
- publicKeyBase64 → String
-
The base64-encoded public key parsed from locator.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storage → DeviceSignerKeyStorage
-
The key-storage adapter. Defaults to the platform-native Secure
Enclave / Android Keystore implementation when not overridden.
no setter
- type → String
-
no setteroverride
Methods
-
getMappedKey(
) → Future< String?> -
hasLocalKey(
) → Future< bool> -
mapCurrentKeyToAddress(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
signMessage(
String message) → Future< Object> -
override
-
signTransaction(
String transaction) → Future< Object> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited