TronMessageSigner

Tron message signing and verification. Tron and some other wallets support a message signing &verification format, to create a proof (a signature) that someone has access to the private keys of a specific address.

Functions

Link copied to clipboard
open fun signMessage(privateKey: PrivateKey, message: String): String
Sign a message.
Link copied to clipboard
open fun verifyMessage(pubKey: PublicKey, message: String, signature: String): Boolean
Verify signature for a message.