CrossmintEvmExternalWalletSigner class final
EVM variant of CrossmintExternalWalletSigner. Signs both arbitrary messages (via the EIP-191 personal-message path the SDK assembles) and raw transaction payloads.
- Inheritance
-
- Object
- CrossmintExternalWalletSigner
- CrossmintEvmExternalWalletSigner
Constructors
- CrossmintEvmExternalWalletSigner({required String address, String? locator, required CrossmintExternalWalletSignCallback onSign})
- Creates an EVM external-wallet signer.
Properties
- address → String
-
The wallet address the user controls.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- locator → String
-
finalinherited
- onSign → CrossmintExternalWalletSignCallback
-
User-provided signing callback. Receives the chain-specific payload
and returns the resulting signature string.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requireSignature(
String payload, {required String label}) → Future< String> -
Invokes onSign and validates the result is non-empty. Used by
subclasses to share error wrapping.
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