AppleSauce
    Preparing search index...

    Class ProxySigner<T>

    A signer class that proxies requests to another signer that isn't created yet

    Type Parameters

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    error?: string
    upstream: Observable<undefined | T>

    Accessors

    • get nip04(): {
          decrypt: (
              pubkey: string,
              ciphertext: string,
          ) => string | Promise<string>;
          encrypt: (pubkey: string, plaintext: string) => string | Promise<string>;
      }

      Returns {
          decrypt: (
              pubkey: string,
              ciphertext: string,
          ) => string | Promise<string>;
          encrypt: (pubkey: string, plaintext: string) => string | Promise<string>;
      }

    • get nip44(): {
          decrypt: (
              pubkey: string,
              ciphertext: string,
          ) => string | Promise<string>;
          encrypt: (pubkey: string, plaintext: string) => string | Promise<string>;
      }

      Returns {
          decrypt: (
              pubkey: string,
              ciphertext: string,
          ) => string | Promise<string>;
          encrypt: (pubkey: string, plaintext: string) => string | Promise<string>;
      }

    Methods

    • Parameters

      • template: EventTemplate

      Returns Event | Promise<Event>