Discover ways to ship an imported tr(wif) and wpkh() utxo in the identical transaction.
I imported a WIF utxo containing a v1 segwit utxo.
bitcoin-cli importdescriptors '[{"desc":"tr(wifkey)#checksum", "timestamp":unixts}]'
I did not know the checksum, however when importing I obtained an error that instructed me what the checksum needs to be, so I used that.
The steadiness confirmed up after import, I assume it was imported accurately.
Realized createrawtransaction
, fundrawtransaction
, signrawtransactionwithwallet
should not acceptable for taproot. This was leading to “Witness program was handed an empty witness”.
It appears psbt instructions are extra acceptable. Nonetheless, I could not work out tips on how to efficiently signal with cli. I saved getting "full": false
returned.
I then tried bitcoin-qt and tried to comb funds to an deal with as a check.
I acquired this:
Whereas utilizing bitcoin-cli and operating bitcoin-cli listunspent
I see:
[
{
"txid": "TX_1",
"vout": x,
"address": "ADDR_1",
"label": "xxx1",
"scriptPubKey": "44_LEGNTH_HEX_STRING",
"amount": xxxxxx.xxxxxx,
"confirmations": xxx,
"spendable": true,
"solvable": true,
"desc": "wpkh([FINGERPRINT/84'/0'/0'/0/0]KEY)#CHECKSUM1",
"parent_descs": [
"wpkh(xpub_key/84'/0'/0'/0/*)#CHECKSUM-parent"
],
"protected": true
},
{
"txid": "TX_2",
"vout": xx,
"deal with": "ADDR_2",
"label": "xxx2",
"scriptPubKey": "68_LENGTH_HEX_STRING",
"quantity": xxxxxx.xxxxxx,
"confirmations": xxxx,
"spendable": true,
"solvable": true,
"desc": "tr([FINGERPRINT2]KEY2)#CHECKSUM2",
"parent_descs": [
"tr(KEY2)#CHECKSUM2"
],
"protected": true
}
]
Output sanitized
- What are the methodical steps beginning with an imported WIF/taproot utxo + wpkh utxo and making a signed tx to ship funds?