AppleSauce
    Preparing search index...

    Type Alias ISigner

    type ISigner = {
        getPublicKey: () => Promise<string>;
        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>;
        };
        signEvent: (template: EventTemplate) => Promise<NostrEvent>;
    }

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    getPublicKey: () => Promise<string>
    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>;
    }
    signEvent: (template: EventTemplate) => Promise<NostrEvent>