TODO: Document

Hierarchy (view full)

Constructors

  • Parameters

    • input: {
          address: string;
          ephemeralKeypair: Ed25519Keypair;
          maxEpoch: number;
          proof: {
              addressSeed: string;
              headerBase64: string;
              issBase64Details: {
                  indexMod4: number;
                  value: string;
              };
              proofPoints: {
                  a: Iterable<string> & {
                      length: number;
                  };
                  b: Iterable<Iterable<string> & {
                      length: number;
                  }> & {
                      length: number;
                  };
                  c: Iterable<string> & {
                      length: number;
                  };
              };
          };
      }
      • address: string
      • ephemeralKeypair: Ed25519Keypair
      • maxEpoch: number
      • proof: {
            addressSeed: string;
            headerBase64: string;
            issBase64Details: {
                indexMod4: number;
                value: string;
            };
            proofPoints: {
                a: Iterable<string> & {
                    length: number;
                };
                b: Iterable<Iterable<string> & {
                    length: number;
                }> & {
                    length: number;
                };
                c: Iterable<string> & {
                    length: number;
                };
            };
        }
        • addressSeed: string
        • headerBase64: string
        • issBase64Details: {
              indexMod4: number;
              value: string;
          }
          • indexMod4: number
          • value: string
        • proofPoints: {
              a: Iterable<string> & {
                  length: number;
              };
              b: Iterable<Iterable<string> & {
                  length: number;
              }> & {
                  length: number;
              };
              c: Iterable<string> & {
                  length: number;
              };
          }
          • a: Iterable<string> & {
                length: number;
            }
          • b: Iterable<Iterable<string> & {
                length: number;
            }> & {
                length: number;
            }
          • c: Iterable<string> & {
                length: number;
            }

    Returns EnokiKeypair

Methods

  • Returns never

  • This returns the Bech32 secret key string for this keypair.

    Returns never

  • Parameters

    • data: Uint8Array

    Returns Promise<Uint8Array>

  • Signs provided transaction by calling signWithIntent() with a TransactionData provided as intent scope

    Parameters

    • bytes: Uint8Array

    Returns Promise<SignatureWithBytes>

  • Sign messages with a specific intent. By combining the message bytes with the intent before hashing and signing, it ensures that a signed message is tied to a specific purpose and domain separator is provided

    Parameters

    Returns Promise<SignatureWithBytes>

  • Returns string