BIP392: Fix xprv/xpub examples to use BIP352 derivation paths #2349

pull craigraw wants to merge 1 commits into bitcoin:master from craigraw:bip392-fix-xkey-examples changing 1 files +2 −2
  1. craigraw commented at 3:49 PM on November 9, 2026: contributor

    Fixes the two sp(KEY,KEY) extended key examples:

    • The watch-only example's scan xprv was at the account level, so it could derive the spend private key, and its spend xpub.../0h required hardened derivation from a public key.
    • Neither example used the BIP352 child paths (1h/0 scan, 0h/0 spend).

    The watch-only example now places the scan xprv at .../1h and the spend xpub at .../0h. The full-wallet example uses the account xprv with /1h/0 and /0h/0.

  2. BIP392: Fix xprv/xpub examples to use BIP352 derivation paths bba6223aa1
  3. jonatack added the label Fixups on Nov 9, 2026
  4. jonatack added the label BIP Update by Owner on Nov 9, 2026
  5. jonatack commented at 3:53 PM on November 9, 2026: member

    ACK

  6. jonatack merged this on Nov 9, 2026
  7. jonatack closed this on Nov 9, 2026


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-11-12 08:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me