Skip to main content
You’re viewing the 2.0 (LTS) docs. View the current 3.0 version of this page.
Sign arbitrary bytes to prove ownership of a Stellar address without submitting a transaction. This is useful for authentication and off-chain verification.

Sign Bytes

Use the ParaStellarSigner 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.

Next Steps