Cashu-TS - v3.3.0
    Preparing search index...

    Function getP2PKExpectedWitnessPubkeys

    • Returns the expected witness public keys from a NUT-11 P2PK secret.

      Parameters

      • secretStr: string | Secret

        The NUT-11 P2PK secret.

      Returns string[]

      Array of public keys or empty array.

      Does not tell you the pathway (Locktime or Refund MultiSig), only the keys that CAN currently sign. If no keys are returned, the proof is unlocked.

      If secret is not P2PK.