Let's break down xpriv and xpub derivation

4 replies 357 views
swifthawkMember
Posts: 13 · Reputation: 40
#1Jan 28, 2020, 12:39 AM
So, how does this extended private key thing work? I think it comes from the root key using a hash function like HMAC-SHA512. You end up with a value that has both a chain code and the extended private key in it.
5 Reply Quote Share
Posts: 185 · Reputation: 37
#2Jan 28, 2020, 04:36 AM
You're just repeating what BIP-32 already explains way better. What do you want to add here? Anything different or just regurgitating known facts?
5 Reply Quote Share
swifthawkMember
Posts: 13 · Reputation: 40
#3Jan 28, 2020, 08:33 AM
Just trying to put together my own notes here, thanks for the input though... your expertise in being a jerk is noted. Typical behavior on this forum.
2 Reply Quote Share
0xNodeMember
Posts: 671 · Reputation: 80
#4Jan 30, 2020, 04:10 AM
Don't forget, it's not just xpubs or xprvs. You can derive ypubs, zpubs, etc., just by tweaking the version bits. Check out SLIP-32 or SLIP-132 for the whole list.
2 Reply Quote Share
swifthawkMember
Posts: 13 · Reputation: 40
#5Jan 30, 2020, 09:20 AM
Lol, right? This stuff just keeps unfolding... I wonder if I'm heading in the right direction with this summary?
2 Reply Quote Share

Related topics