FROST Core TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Function encodeGroupCommitments

    • Internal

      Encode the list of group signing commitments.

      Implements encode_group_commitment_list() from the spec.

      signingCommitments must contain the sorted map of participants identifiers to the signing commitments they issued.

      Returns a byte string containing the serialized representation of the commitment list.

      Type Parameters

      Parameters

      • ciphersuite: C

        The ciphersuite to use

      • signingCommitments: Map<Identifier<C>, SigningCommitments<C>>

        Map of identifier to signing commitments (must be sorted by identifier)

      Returns Uint8Array

      The encoded commitment list