Skip to content

What's the specification of XpubDerivable? #8

Answered by dr-orlovsky
aurexav asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your interest to the library!

Yes, you are right - docs are not there yet since we are looking into the stabilization of the library (once at least one Bitcoin wallet is released with it) and before that time things may change.

So, your question has two aspects: what is XpubDerivable and rationale for formatting its string representation.

XpubDerivable is a structure which contains all necessary information to derive a final public key which will be used by a wallet descriptor for constructing scriptPubkeys and PSBTs. Specifically, it consists of two main parts:

  • Information about xpub and its origin (XpubSpec)
  • Information about derivation path from xpub used to derive the f…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aurexav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #7 on December 02, 2023 15:20.