Questions tagged [output-script-descriptors]

3 votes
1 answer
24 views

Error creating a Taproot descriptor with a single key as script path

I need to implement 1 of 2 multisig with P2TR. My friend's Bitcoin public key is 0374d5f29bc6c15066437856c512f7f9e5a14a1eb93cab2776d33b27b4103c62d8. My own Bitcoin public key is ...
  • 51
3 votes
1 answer
103 views

Does Bitcoin Core version v22.0.0 support SLIP-0132?

Launched my own Bitcoin Core with regtest. Installed Specter and made it connect to that node. In Specter, I created a new bitcoin wallet, basing it on the bitcoin core hot wallet. In Specter, I ...
  • 193
1 vote
1 answer
87 views

How to import a descriptor into a wallet?

I am trying to import a descriptor into a blank wallet but I get a JSON parsing error. $ cli createwallet "test" false true "" false true $ cli -rpcwallet=test importdescriptors '[{...
1 vote
0 answers
30 views

Descriptor Wallets are way more confusing than legacy [duplicate]

how do you dump backup into a json file? then how do you load the json file into backup? " How to create the descriptors wallet? createwallet("my_wallet", False, False, "", ...
3 votes
1 answer
64 views

How to spend an imported rawtr() descriptor with bitcoin-cli?

I created a transaction that creates a taproot output that can be spent using the private key (KEY) corresponding to the taproot output key. Then I imported the WIF formatted private key into Bitcoin ...
1 vote
0 answers
34 views

What are valid BIP32 version bytes in descriptors & optional key origin defaults?

BIP49 & BIP84 defined different BIP32 version bytes so that serialized xpubs start with ypub/zpub/upub/vpub. This led to some incompatibility in the past with wallets and libraries that used (or ...
  • 183
0 votes
1 answer
30 views

What determines if a descriptor can have ranges?

For example, an address for a simple P2SH script puzzle like x+5=6 will always be the same address, so my understanding is that should not be ranged. Where can I understand the general logic for ...
2 votes
1 answer
105 views

Minimum range when importing descriptors?

When importing descriptors with a range less than 1000, it seems to be ignored. Is this deliberate? I could‘t find anything about this in the docs. To reproduce, first, create an empty wallet: bitcoin-...
  • 23
2 votes
1 answer
152 views

Signing PSBTs to spend from Taproot multisig address

I created a 2-of-3 multisig taproot address by following the steps outlined by Pieter Wuille in this post using importdescriptorsand deriveaddresses. His steps worked perfectly, and I was able to ...
3 votes
1 answer
478 views

How do I create a taproot multisig address requiring 21 of 210 keys to spend?

I understand that prior to taproot activation, m-of-n multisig addresses had an "n" max limit of 20 keys. I also saw the 998/999 tapscript multisig transaction that recently caused issues ...
3 votes
1 answer
137 views

How to create a valid time locked descriptor?

I am attempting to bitcoin-cli getdescriptorinfo "wpkh([00000000/84h/1h/0h/2]tpubDECM3jqdpSiGU2mKmo6xXxxXwFcmz6fX9EHMV3zbTY236jYYK9tM57cRFWaHqNjLbqAy52P6wkyo9wCAnr4P7Q1hGGFnrW98LPLajXEZPez/35:...
  • 476
0 votes
1 answer
123 views

Can I sign multisig transaction only with private key in a descriptor based wallet?

I created a multisig wallet using bdk. It seems to accept descriptor with owner wallet's private key and other participating wallet's public key. Is it possible to create a multisig wallet where only ...
1 vote
1 answer
37 views

What's not standard in these descriptors?

In here, about these (indentation is mine): sh(wsh(multi(2, abcdef01/1'/1'/0/*, 23456789/1'/1'/0/*)))#abcdefgh sh(wsh(multi(2, abcdef01/1'/1'/1/*, 23456789/1'/1'/1/*)))#ijklmnop wsh(multi(2, ...
  • 637
2 votes
1 answer
143 views

How to represent a taproot output with more than 2 scriptleaves as a descriptor?

I read in the Bitcoin Core doc an example of a taproot output descriptor with 2 script paths : tr(c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5,{pk(...
  • 593
3 votes
2 answers
241 views

Why isn't it possible to add an OP_RETURN (or some arbitrary script) inside a taproot script path with a descriptor?

I'm reading the Bitcoin Core's descriptor documentation and I noticed that the raw() SCRIPT expression can only be used at descriptor top-level. Indeed when called with this descriptor ...
  • 593

15 30 50 per page