Hierarchy

Constructors

Properties

cluster: string
keypair?: DesigKeypair
privkey: Uint8Array
sss: SecretSharing

Accessors

Methods

  • 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

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

          • signatureId: string
          • Optional er: string

          Returns void

    Returns (() => void)

      • (): void
      • Returns void

  • Derive the siganture id by the transaction id and the signer id

    Returns

    Signature id

    Parameters

    • transactionId: string

      Transaction id

    • signerId: string

      Signer id

    Returns string

  • Derive the transaction id by its content

    Returns

    The transaction id

    Parameters

    • msg: string

      Transaction's content (Or message)

    Returns string

Generated using TypeDoc