Author

Topic: Bitcoin Descriptor decomposition (Read 70 times)

legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Today at 10:13:12 AM
#3
So the watch-only descriptor's derivation path is m/84'/0'/0'/xpub/0/address_index defining the path to your receiving addresses.

So I see that given the master private key, first we derive 84h/0h/0h.

Then I'm guessing the xpub value is just the extended public key resulting from that derivation? Since there's more derivation paths after it, it wouldn't make much sense if it was something otherwise.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
October 08, 2024, 02:23:11 AM
#2
The "e7ae72ff" on the left is the "master fingerprint" computed from the public key pair of the master private key.
Refer to this post to see how it works: https://bitcointalksearch.org/topic/m.61903879

each with their own derivation paths.
The derivation path indicates the actual positions of the displayed master fingerprint (representing "m") and the extended public key.
So the watch-only descriptor's derivation path is m/84'/0'/0'/xpub/0/address_index defining the path to your receiving addresses.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
October 07, 2024, 03:08:13 AM
#1
These new descriptors generated by Bitcoin Core and Sparrow Wallet, that look like this:

Code:
wpkh([e7ae72ff/84h/0h/0h]xpub6Bu4sXJDbqjmDt4NmiWQpfFdoNPnvBDoy3y4ehtEsHEwgb7LjxCaxwKUXkuhW5QaQvGQWGrWWCAmskcWtt3vVf4drhshbomcTLRQJtdX3h3/0/*)#29e7w7k7

I don't fully understand them. Like I know the wpkh means to derive P2WPKH keys, and the hash followed by those characters at the end is a checksum, but I cannot determine the difference between what appears to be a chain code on the left with the xpub on the right, each with their own derivation paths.
Jump to: