A NIP-49 (Private Key Encryption) signer

Implements

Constructors

Properties

key: null | Uint8Array = null
ncryptsec?: string
nip04?: {
    decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
    encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
nip44?: {
    decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
    encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
unlockPromise?: Deferred<void>

Accessors

Methods