Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [bip174-psbt]

Use this tag for questions related to BIP 174 - Partially Signed Bitcoin Transactions (PSBT).

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

How to use psbt.addBip32DerivationToInput

I want to include key derivation path for input in psbt file but do not understand how. I tried adding 'path: "m/44/0/0/0"' to addInput() but this does not seem to work. Then I found ...
0
votes
1answer
18 views

Why do I get: Error: <address> has no matching Script

The example code for psbt.addOutput() with address '1KRMKfeZcmosxALVYESdPNez1AP1mEtywp' works as expected. But if I change this to an testnet address I get this error: ' has no matching script'. I ...
0
votes
0answers
14 views

How to create preimage from PSBT

I create the hash pre image from a PSBT but am not sure if my calculations are correct. Can anyone please check or point me to some examples? I use this PSBT: ...
0
votes
1answer
32 views

Correct way to use joinpsbt for manual coinjoin?

I am developing a feature in my app for "manual coinjoins" which follows this as inspiration: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki#Manual_CoinJoin_Workflow I am not an ...
0
votes
0answers
29 views

analyzepsbt says next role is “updater”, but nothing is “missing”

I'm trying to spend a 2/2 P2WSH input. I don't understand how the "next" field can be "updater" if the "missing" field is empty: $ bitcoin-cli -testnet analyzepsbt cHNidP8BAH0CAAAAAXz0qBDXO+...
1
vote
1answer
61 views

`walletcreatefundedpsbt` with unconfirmed inputs

I would like to create a psbt using walletcreatefundedpsbt spending unconfirmed ouptputs. Is this possible? When I call that RPC command with 0 confirmed balance but with sufficient unconfirmed ...
0
votes
1answer
31 views

From unsigned to psbt transaction

Recently, I happened to see in a codebase something like the following snippet to convert a standard transaction into a psbt format: txHex = "...
2
votes
1answer
43 views

Why is not possibile to convert a signed transaction into psbt?

In the bitcoin core doc is explicitly said that conversion from hex to psbt are only allowed for unsigned transactions, or, at most, passing a signed one with the permitsigdata param set to true, but ...
0
votes
1answer
49 views

How to create the data parameter for a PSBT?

I am sure this is a dumb question but if using: bitcoin-cli walletcreatefundedpsbt "[{\"txid\":\"myid\",\"vout\":0}]" "[{\"data\":\"00010203\"}]" How do you create the data parameter? Where does it ...
1
vote
1answer
46 views

What is the exact difference between combinepsbt and joinpsbts

They seem to do pretty much the same thing. The only apparent difference being that combinepsbt seems more for updating the same psbt with imcremental signatures while joinpsbts seems more for joining ...
2
votes
1answer
90 views

PSBT (BIP-174, Partially Signed Bitcoin Transaction) Ordering of keys

When serializing a PSBT (BIP-174, Partially Signed Bitcoin Transaction), I cannot find any information if the keys should be ordered when serializing the PSBT? Under the "Test Vectors" section for ...
7
votes
1answer
527 views

Expected use model for PSBT

I want to use Bitcoin Core to create a PSBT for offline signing (cold storage) of a multisig p2wsh-in-p2sh address, such as that created by Glacier. Based on the PSBT doc I assume I want the online ...
2
votes
2answers
323 views

Signing a bitcoin transaction OFFLINE fails

I know this subject has been discussed quite a lot, but after several days looking for this to work, I give up. I want to create a transaction on a view-only wallet which is connected to the internet ...