FROST secp256k1-TR (Taproot) TypeScript Library - v0.2.2-alpha.3
    Preparing search index...

    Namespace keys/refresh

    Refresh Shares module for FROST(secp256k1, SHA-256) with Taproot.

    Refreshing shares has two purposes:

    • Mitigate against share compromise.
    • Remove participants from a group.

    Refer to the FROST book (https://frost.zfnd.org/frost.html#refreshing-shares) for important details.

    This module supports refreshing shares using a Trusted Dealer or DKG. You probably want to use the same approach as the original share generation.

    For the Trusted Dealer approach, the trusted dealer should call computeRefreshingShares and send the returned refreshing shares to the participants. Each participant should then call refreshShare.

    For the DKG approach, the flow is very similar to DKG itself. Each participant calls refreshDkgPart1, keeps the returned secret package and sends the returned package to other participants. Then each participant calls refreshDkgPart2 and sends the returned packages to the other participants. Finally each participant calls refreshDkgShares.

    Functions

    computeRefreshingShares
    refreshShare
    refreshDkgPart1
    refreshDkgPart2
    refreshDkgShares