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

    Function reconstruct

    • Recompute the secret from t-of-n secret shares using Lagrange interpolation.

      This can be used if for some reason the original key must be restored; e.g. if threshold signing is not required anymore.

      This is NOT required to sign with FROST; the whole point of FROST is being able to generate signatures only using the shares, without having to reconstruct the original key.

      The caller is responsible for providing at least minSigners shares; if less than that is provided, a different key will be returned.

      Parameters

      Returns keys.SigningKey

      The reconstructed SigningKey

      If reconstruction fails