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.
Refresh Shares module for FROST(secp256k1, SHA-256).
Refreshing shares has two purposes:
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.