CCC Docs
    Preparing search index...

    Hierarchy

    • SignerNostr
      • Signer
    Index

    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.

    • Sign a nostr event.

      Parameters

      • event: NostrEvent

      Returns Promise<Required<NostrEvent>>

      A promise that resolves to the signed event.

    • 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.