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

    Function parseSecret

    • Parse a secret string and validate NUT-10 shape.

      Parameters

      • secret: string | Secret

        The Proof secret.

      Returns Secret

      Secret object.

      If the JSON is invalid or NUT-10 secret is malformed.