key
key: null | Uint8Array = null
Optional
ncryptsec
ncryptsec?: string
Optional
nip04
nip04?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
Optional
nip44
nip44?: {
decrypt: ((pubkey: string, ciphertext: string) => string | Promise<string>);
encrypt: ((pubkey: string, plaintext: string) => string | Promise<string>);
}
Optional
unlockPromise
unlockPromise?: Deferred<void>
A NIP-49 (Private Key Encryption) signer