A signer that is a proxy for window.nostr

Implements

Constructors

Accessors

Methods

Constructors

Accessors

  • get nip04(): undefined | {
        decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
        encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
    }
  • Returns undefined | {
        decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
        encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
    }

  • get nip44(): undefined | {
        decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
        encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
    }
  • Returns undefined | {
        decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
        encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
    }

Methods

  • Returns Record<string, {
        read: boolean;
        write: boolean;
    }> | Promise<Record<string, {
        read: boolean;
        write: boolean;
    }>>