A Signer for amber clipboard API

Implements

Constructors

Properties

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>;
}
pubkey?: string
verifyEvent: (event: Event) => event is VerifiedEvent = verifyEvent
SUPPORTED: false | () => Promise<string> = ...

If the signer is supported on this platform

Type declaration

  • false
  • () => Promise<string>

Methods