The current selected address. Note the we don't need to validate this here since it comes from a trusted source: the class constructor.
The recovered public key (for the currently selected addresss)
Sign a transaction
The signed message hex
string (wrapped inside a Promise
)
Sign a message and return the signature. Useful for verifying identities.
the message you want to sign
The signed message hex
string (wrapped inside a Promise
)
Verify a signed message. Useful for verifying identity. (In conjunction with signMessage
)
A boolean to indicate if the message/signature pair are valid (wrapped inside a Promise
)
Generated using TypeDoc
Recover the public key from a signed message. Sign a message, and use that signature to recover the (R), (S) signature components, along with the reco(V)ery param. We then use those values to recover, set internally, and return the public key.