SignMessage

This helper function takes care of signing a transaction using the elliptic curve Secp256k1, which is the default cryptographic method used on Circular. The function is used as follows:

var Signature = Circular.SignMessage(PrivateKey, Message);

This function is used to obtain transaction signatures before submission. It requires the use of a wallet's private key to sign the message.

Last updated