SIWEUtils class

Constructors

SIWEUtils()

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

formatMessage(SIWECreateMessageArgs params) String
Given SIWECreateMessageArgs will format message according to EIP-4361 https://docs.login.xyz/general-information/siwe-overview/eip-4361
generateNonce() String
getAddressFromMessage(String message) String
getChainIdFromMessage(String message) String
verifySignature(String address, String message, CacaoSignature cacaoSignature, String chainId, String projectId) Future<bool>