xpub – Is the trailing pathing in multi-sig descriptors vital?

xpub – Is the trailing pathing in multi-sig descriptors vital?

[ad_1]

The /* a the top is just not obligatory, however changesthe which means, and dropping it’s most likely not what you need.

Conceptually, in case you have a m/48'/0'/0'/2' pockets, it means the keys your pockets makes use of are derived as (with m some grasp key):

  • m/48'/0'/0'/2'/0
  • m/48'/0'/0'/2'/1
  • m/48'/0'/0'/2'/2

In different phrases, it denotes a key chain consisting of a number of keys, every with their very own derivation path.

The way in which to jot down that as a descriptor is as xpubM.../48'/0'/0'/2'/*, the place xpubM... is the precise xpub equivalent to the grasp key m. In apply, you’ll precompute the xpub for simply the derivation half m/48'/0'/0'/2' and simply use xpub.../*.

You can simply write “xpub…”, however then you’ve gotten a pockets consisting of simply the one key equivalent to m/48'/0'/0'/2' itself, somewhat than the addresses derived from that key. Equally, you can simply use xpub.../0, however then you’ve gotten a pockets consisting of simply the one key correspondong to m/48'/0'/0'/2'/0, which might be simply the primary key you need somewhat than all of them.

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *