Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

cluster: string
keypair?: DesigKeypair
privkey: Uint8Array

Accessors

Methods

  • Initialize a new multig

    Returns

    Multisig data

    Parameters

    • curve: Curve

      Elliptic curve

    • payload: {
          n: number;
          pubkeys: string[];
          t: number;
      }
      • n: number

        The t-out-of-n threshold

      • pubkeys: string[]

        The list of member pubkeys

      • t: number

        The t-out-of-n threshold

    Returns Promise<MultisigEntity & {
        signers: Omit<SignerEntity, "encryptedShare">[];
    }>

  • Event streaming

    Parameters

    • event: EventStreaming

      Event

    • param: string

      owner / signerId

    • callback: ((id: string, er?: string) => void)
        • (id: string, er?: string): void
        • Parameters

          • id: string
          • Optional er: string

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

  • Watch new signature

    Returns

    Close function

    Parameters

    • multisigId: string

      Multisig id

    • callback: ((multisigId: string, er?: string) => void)
        • (multisigId: string, er?: string): void
        • Parameters

          • multisigId: string
          • Optional er: string

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

Generated using TypeDoc