You’re viewing the 2.0 (LTS) docs. View the current 3.0 version of this page.
Sign Bytes
Use theParaStellarSigner class API to sign arbitrary bytes directly:
Stellar does not have a standardized message signing format like EIP-191 on Ethereum. The
signBytes method signs raw bytes using Ed25519. Both parties must agree on how to encode and hash the message before signing.