Signer class
Abstraction over a wallet with an address that can signPersonalMessages.
This is used by the Client to prompt the user to sign messages.
The goal with this abstraction is to expose a minimal interface so that integrations can provide their own Signer as necessary.
Constructors
-
Signer.create(String address, Future<
Uint8List> signPersonalMessage(String text))
Properties
- address → EthereumAddress
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
signPersonalMessage
→ Future<
Uint8List> Function(String text) -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited