EthMessageSigner class

Ethereum Signed Message (EIP-191) signature and verification wrapper

Constructors

EthMessageSigner.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

ethereumMessageHash(String message) Uint8List
Calculate keccak256 hash for Ethereum Signed Message
signMessage(String message, Uint8List privateKey) String
Sign message using private key Returns 65-byte signature (r||s||v)
verifyMessage(String message, String signature, Uint8List publicKey) bool
Verify signature: recover signer address from message and signature