An abstract class representing a generic signer. This class provides methods to connect, get addresses, and sign transactions.

Hierarchy (view full)

Constructors

Properties

provider: Nip07A.Provider

Methods

  • Gets the Nostr public key associated with the signer.

    Returns Promise<`0x${string}`>

    A promise that resolves to a string representing the Nostr public key.

  • Connects to the signer.

    Returns Promise<void>

    A promise that resolves when the connection is complete.

  • Check if the signer is connected.

    Returns Promise<boolean>

    A promise that resolves the connection status.