Optional
privateKey: string | Uint8ArrayThis method is deprecated and will be removed in a future release, for compatibility this function calls nip04Decrypt.
This method is deprecated and will be removed in a future release, for compatibility this function calls nip04Encrypt.
Signs the given Nostr event.
The Nostr event to be signed.
A promise that resolves to the signature of the signed event.
Static
generate
Interface for NDK signers.