NDKNip07Signer implements the NDKSigner interface for signing Nostr events with a NIP-07 browser extension (e.g., getalby, nos2x).
The timeout in milliseconds to wait for the NIP-07 to become available
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.
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.
The signature of the signed event.
Error if the NIP-07 is not available on the window object.
Getter for the user property.
The NDKUser instance.
Generated using TypeDoc