Questions tagged [output-script-descriptors]

Filter by
Sorted by
Tagged with
3
votes
1answer
61 views

Support for taproot multisig descriptors

I’m trying to understand the current state of descriptor support for taproot, with a specific focus on multisig wallets (When I say “multisig” I mean k-of-n threshold signing, rather than a schnorr ...
3
votes
1answer
80 views

Layout of new SQLite descriptor wallets in v0.21 and v22.0?

I'm trying to explore the database format of the new descriptor wallets in Bitcoin Core v0.21 and v22.0, but I can't quite figure it out. I've created a new descriptor wallet and dumped it's contents ...
4
votes
1answer
233 views

XPRIV/XPUB type for P2TR

As far as I understand, there is a standard that describes what address types an extended private key or extended public key is intended to derive and it works as such: xpriv/xpub => Legacy ...
6
votes
1answer
619 views

How can I create P2TR addresses with Bitcoin Core 22.0?

I'm trying to test P2TR with Bitcoin Core, and I don't know how to get taproot addresses. How should I create them using 22.0?
0
votes
0answers
30 views

Can you explain how to set up a basic M-of-N multisig between multiple people using descriptor wallets and PSBTs, as well as a signing flow?

Can you explain how to set up a basic M-of-N multisig between multiple people using descriptor wallets and PSBTs, as well as a signing flow?
4
votes
1answer
601 views

How to make a taproot transaction with bitcoin-cli?

Can you give a simple step-by-step example for a taproot transaction with bitcoin-cli on Testnet?
2
votes
1answer
93 views

Can output descriptors be used to encode any Miniscript expression?

Output descriptors provide a standard to make address bodies more exchangeable between various wallet implementations. It seems that an output descriptor can be used to encode any Miniscript ...
2
votes
1answer
83 views

Would there ever be a reason to use a P2SH-P2WSH-P2PKH descriptor?

Bitcoin Core's descriptor documentation lists a P2SH-P2WSH-P2PKH descriptor as one of its examples: sh(wsh(pkh(02e493dbf1c10d80f3581e4904930b1404cc6c13900ee0758474fa94abe8c4cd13))) describes an (...
1
vote
1answer
88 views

`getdescriptorinfo` for private key

Public key: bitcoin-cli getdescriptorinfo "wpkh(027fda10f37e6c637a1cfeba2cbada86de36f28e63d4ded9e1314117739f6419a9)" { "descriptor": "wpkh(...
3
votes
1answer
207 views

How do I get the private key of an address in descriptor wallets? How to dumpprivkey?

When I run dumpprivkey from Bitcoin Core 0.21.1. I get the following error message: error code: -4 error message: This type of wallet does not support this command I came across achow's explanation ...
7
votes
2answers
645 views

Should the Bitcoin Core wallet (or any wallet) prevent users from sending funds to a Taproot address pre activation?

The Bitcoin Core wallet prevents mainnet Taproot descriptors from being imported pre activation (November 2021) as a safeguard. However, you can send mainnet Bitcoin to a Taproot (P2TR) address pre ...
0
votes
1answer
67 views

How do I obtain a checksum for a Taproot descriptor so that I can import it using importmulti?

I tried to import an example Taproot descriptor using bitcoin-cli importmulti tr(c6047f9441ed7d6d3045406e95c07cd85c778e4b8cef3ca7abac09b95c709ee5,{pk(...
1
vote
1answer
285 views

What wallet support for Taproot will be included in Bitcoin Core v22.0?

What wallet support for Taproot will be included in Bitcoin Core v22.0? What will I be able to do and what won't I be able to do using the Core wallet?
4
votes
1answer
152 views

Output Descriptor for an Arbitrary Script

Can output descriptors be used to describe an arbitrary script? Say I had a script something like the following: OP_IF 1737417600 OP_CHECKLOCKTIMEVERIFY OP_DROP OP_DUP OP_HASH160 <pubKeyHashD> ...
-1
votes
1answer
123 views

Please help out I send 109k to my client he was able to receive $50,000 please help

I send a bitcoin transaction of all coin my wallet which is $109,180 to my client wallet address giving to me. But he received $50,000 in is wallet address. And I sent all the coin my of 109180. ...
0
votes
1answer
906 views

How to create descriptor watch-only wallet with bitcoin-cli in Bitcoin Core 0.21?

Using only command line (no GUI), how can I create watch only wallet based on descriptor and get first unused address? This is the descriptor: "wpkh([00000000/84h/0h/0h]xpub6DP....xyz/0/*)#...
1
vote
1answer
189 views

getnewaddress with importmulti

I have a question about how the bitcoin core wallet works with descriptors. I am creating a wallet using the createwallet method and passing in a name (all other args are default). I then import ...
2
votes
1answer
2k views

How do I create a descriptor wallet?

Using Bitcoin Core from today (almost 0.21): I ran ./configure. It said with sqlite = yes. ldd $(which bitcoind) shows it is linked to libsqlite3.so. Now, I started a signet node using bitcoind -...
2
votes
1answer
219 views

How will the migration tool from a Bitcoin Core legacy wallet to a descriptor wallet work?

In this Andrew Chow blog post on what's coming to the Bitcoin Core wallet in 0.21 he states: It is, and will be, possible to take an existing Legacy Wallet, and make a Descriptor Wallet which exactly ...
7
votes
2answers
2k views

What are output descriptors?

I have heard about output descriptors or wallet descriptors. It is not clear to me what they are. What do they allow me to do? How does that improve my experience using Bitcoin?
2
votes
0answers
68 views

How to manually compute a descriptors checksum?

In the docs it says: The checksum for a descriptor without one can be computed using the getdescriptorinfo RPC. I would like to build a recovery tool where many descriptors are imported, calling ...
1
vote
1answer
125 views

Missing Checksum error when importing multisig wallet via descriptor

I'm trying to import a multisig wallet on regtest, but getting a strange error. What am I doing wrong? I've tried it with xpubs, tpubs, and Vpubs (converted here) and get the same error for all. ...
2
votes
1answer
88 views

What is the link between address and use of the UTXO?

I state that I'm still a beginner. I need some clarification. I am using the Testnet. This is the information regarding the address I used to receive funds from a Faucet bitcoin-cli validateaddress ...
1
vote
1answer
122 views

How to interpret the Descriptor field?

These are my UTXO in Tesnet environment: { "txid": "93ae7787fe8203e9f13534205ca0310baf8bf5e2b55b2faa1f8b09134f475208", "vout": 1, "address": "2N4VywDy3DnkCmCM8yvfMSFHiEt2ePxzLXu", "...
0
votes
1answer
82 views

Will bitcoind import private keys for multi-sig descriptor with watch-only flag set to true?

I am importing a "warm" multi-sig quorum into bitcoind using importmulti like so: {"jsonrpc":"1.0","id":"curltest","method":"importmulti","params":[[{ "desc": "sh(multi(2,[eb2d2f9e/44'/1'/0']...
0
votes
0answers
44 views

why is getdescriptorinfo returning a "function needed" error with a sortedmulti descriptor?

When trying: bitcoin-cli getdescriptorinfo "wsh(sortedmulti(2,tpubDFck48zH8ZzteKKZCR9WMVBJwHZayhQmtCDyDRzHsU7VMTwEXohD23h1CBiizKtFtWck2fVegNDRM193nGx3VLs1RTSGNc1iePKpc1JvsS6/*,...
2
votes
1answer
138 views

Why is getdescriptorinfo returning an error "Invalid descriptor (code -5)"

I am using Bitcoin Core bitcoin-cli with getdescriptorinfo like so: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getdescriptorinfo", "params":["sh(multi(2,[3c60330a/1]...
1
vote
1answer
267 views

bitcoin-cli deriveaddresses always returns an error

I am copying and pasting the example from the bitcoin-cli help: deriveaddresses "wpkh([d34db33f/84h/0h/0h] ...
1
vote
1answer
738 views

Create multisignature wallet from xpub keys in bitcoin core

I can create Multisignature wallet electrum with 2 xpub keys. How can I create bitcoin core to do that? Standart use; Add a multisig address from 2 addresses bitcoin-cli addmultisigaddress 2 "[\"...