@cashu/cashu-ts
    Preparing search index...

    Function maybeDeriveP2BKPrivateKeys

    • Alpha

      Derives blinded secret keys for a P2BK proof.

      Parameters

      • privateKey: string | string[]

        Secret key (or array of secret keys)

      • proof: Proof

        The proof.

      Returns string[]

      Deduplicated list of derived secret keys (hex, 64 chars)

      Calculates the deterministic blinding factor for each P2PK pubkey (data, pubkeys, refund) and calling our parity-aware derivation.