So what’s the deal with the 5183a8d8 in this xpub? Is that the fingerprint?
Understanding Fingerprints in XPUBs
7 replies 213 views
You need to hash the compressed public key of the ECDSA private key. The fingerprint can't be pulled from just an extended public key, though.
Here's how to do it:
1. Get the base58 encoded tprv
2. Extract the master private key
Boom, you get your master fingerprint.
But your code is using an Extended Private Key from that path. Fingerprint is different. You need the master private key.
Wait, so you're saying the final value is wrong? I thought it was right.
Are there multiple private keys involved in this process?
Thanks for the info! Just tested it and got 133a3b3.
Just to clarify, the keys below the master are child keys. If you derive from them, you get extended private keys. The master fingerprint comes from the master private key, not from child keys.