interface EventSigner {
    get supports(): string[];
    getPubKey(): string | Promise<string>;
    init(): Promise<void>;
    nip44Decrypt(content, otherKey): Promise<string>;
    nip44Encrypt(content, key): Promise<string>;
    nip4Decrypt(content, otherKey): Promise<string>;
    nip4Encrypt(content, key): Promise<string>;
    sign(ev): Promise<NostrEvent>;
}

Implemented by

Accessors

  • get supports(): string[]
  • Returns string[]

Methods

  • Returns string | Promise<string>

  • Returns Promise<void>

  • Parameters

    • content: string
    • otherKey: string

    Returns Promise<string>

  • Parameters

    • content: string
    • key: string

    Returns Promise<string>

  • Parameters

    • content: string
    • otherKey: string

    Returns Promise<string>

  • Parameters

    • content: string
    • key: string

    Returns Promise<string>

Generated using TypeDoc