Interface NDKSigner

Interface for NDK signers.


  • NDKSigner

Implemented by


  • Blocks until the signer is ready and returns the associated NDKUser.

    Returns Promise<NDKUser>

    A promise that resolves to the NDKUser instance.

  • Encrypts the given Nostr event for the given recipient.


    • recipient: NDKUser

      The recipient of the encrypted value.

    • value: string

      The value to be encrypted.

    Returns Promise<string>

  • Signs the given Nostr event.


    Returns Promise<string>

    A promise that resolves to the signature of the signed event.

Generated using TypeDoc