hashAndSignSchnorr
async function hashAndSignSchnorr(message: string) : string;const signature = await window.nostr.hashAndSignSchnorr("your message here");Last updated
Was this helpful?
Method
async function hashAndSignSchnorr(message: string) : string;Response
Signs the provided plaintext message using the active Nostr account's private key. Returns a hex-encoded Schnorr signature.
Code Example
const signature = await window.nostr.hashAndSignSchnorr("your message here");Last updated
Was this helpful?
Was this helpful?

