Decrypts the given value.
Optional
type: ENCRYPTION_SCHEMESThe encryption scheme to use. Defaults to "nip04".
Encrypts the given Nostr event for the given recipient.
The recipient of the encrypted value.
The value to be encrypted.
Optional
type: ENCRYPTION_SCHEMESThe encryption scheme to use. Defaults to "nip04".
Optional
relaysSigns the given Nostr event.
The Nostr event to be signed.
A promise that resolves to the signature of the signed event.
Interface for NDK signers.