A Simple NIP-07 signer class

Constructors

Properties

Methods

Constructors

Properties

key: Uint8Array
nip04: {
    decrypt: (pubkey: string, ciphertext: string) => Promise<string>;
    encrypt: (pubkey: string, plaintext: string) => Promise<string>;
} = ...
nip44: {
    decrypt: (pubkey: string, ciphertext: string) => Promise<string>;
    encrypt: (pubkey: string, plaintext: string) => Promise<string>;
} = ...

Methods