Cashu-TS - v4.0.0-rc3
    Preparing search index...

    Function deriveP2BKBlindedPubkeys

    • Blind a sequence of public keys using ECDH derived tweaks, one tweak per slot.

      Parameters

      • pubkeys: string[]

        Ordered SEC1 compressed pubkeys, [data, ...pubkeys, ...refund]

      • OptionaleBytes: Uint8Array<ArrayBufferLike>

        Optional. Fixed ephemeral secret key to use (eg for SIG_ALL / testing)

      Returns { blinded: string[]; Ehex: string }

      Blinded pubkeys in the same order, and Ehex as SEC1 compressed hex, 33 bytes.

      Security note: "Ehex" must never be reused. Doing so would create linkability and leak privacy. The only exception is for SIG_ALL proofs, as all secret tags must match.

      This is the Sender side API.

      If a blinded key is at infinity.