Skip to main content

Signer class

*[<Null safety>](https://dart.dev/null-safety)*

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.
read-onlyinherited

runtimeType Type

A representation of the runtime type of the object.
read-onlyinherited

signPersonalMessage Future<Uint8List> Function(String text)

final

Methods

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed.
inherited

toString() String

A string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator.
inherited