Interface for NDK signers.
Blocks until the signer is ready and returns the associated NDKUser.
A promise that resolves to the NDKUser instance.
Decrypts the given value.
Encrypts the given Nostr event for the given recipient.
The recipient of the encrypted value.
The value to be encrypted.
Optional
Getter for the preferred relays.
A promise containing a simple map of preferred relays and their read/write policies.
Signs the given Nostr event.
The Nostr event to be signed.
A promise that resolves to the signature of the signed event.
Getter for the user property.
Generated using TypeDoc
Interface for NDK signers.