Sign Message/Verify Signature
Usage of the sign/verify flow
As of 30/Aug the verifySignature method is only supported by the legacy pem-file method
When using the main methods for generating transactions, the user signs them with their private key automatically upon sending them. However any message can be signed with the private key and the signature can be verified using the public key and comparing, which can be useful for authentication of contracts of any sort between users.
For KleverChain regular accounts, the public key is the address of the account.
Usage example:
Last updated