Friday, November 22, 2024

multi signature – Clarifying Query About Descriptors

I created a multisig pockets with BlueWallet, and I wish to convert the config file to a descriptor:

Title: Multisig Vault
Coverage: 2 of three
Derivation: m/48’/0’/0’/2′
Format: P2WSH

1E74CA69: Zpub65……………………Qwg1Wd

9F40E694: Zpub74hnJ……………………cWoEszidc

derivation: m/48’/0’/2’/2′
B5B630B5: xpub6F9A……………………Rb1VjK

Questions:

  • Do descriptors help Zpubs or should I convert them to xpubs earlier than creating my descriptor?
  • I see within the docs that when making a wsh(sortedmulti()) descriptor, the keys normally have trailing pathing (instance: [e6807791/44h/1h/0h]tpubDDAfvogaaAxaFJ6c15ht7Tq6ZmiqFYfrSmZsHu7tHXBgnjMZSHAeHSwhvjARNA6Qybon4ksPksjRbPDVp7yXA1KjTjSd5x18KHqbppnXP1s/0/* —> Right here I’m speaking in regards to the /0/*). I additionally noticed within the docs that you just wish to make 2 descriptors; 1 for change addresses and 1 for normal addresses : "Now the multisig is created by importing the exterior and inside descriptors: wsh(sortedmulti(<M>,XPUB1/0/*,XPUB2/0/*,…,XPUBN/0/*)) and wsh(sortedmulti(<M>,XPUB1/1/*,XPUB2/1/*,…,XPUBN/1/*)) (one descriptor w/ 0 for receiving addresses and one other w/ 1 for change)." Is that true? Or can I simply ignore utterly the trailing pathing and simply do:

wsh(sortedmulti(2,[1E74CA69/48’/0’/0’/2′]Zpub65……………………Qwg1Wd,[9F40E694/48’/0’/0’/2′]Zpub74hnJ……………………cWoEszidc,[B5B630B5/48’/0’/2’/2′]xpub6F9A……………………Rb1VjK))

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles