Questions tagged [bip174-psbt]

Bitcoin Improvement Proposal 174 concerns Partially Signed Bitcoin Transactions (PSBT).

BIP 174 proposes a format for partially signed bitcoin transactions. It is designed to be standardized and extensible, allowing different wallet implementations to pass messages around to collaboratively build transactions in a trustless manner. It also works well in situations of offline signing.

See: https://github.com/bitcoin/bips/blob/master/bip-0174.mediawiki

69 questions
8
votes
1 answer

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 node to be the Creator & Updater, and the offline…
7
votes
1 answer

What does PSBT stand for?

What is PSBT? What does it stand for? bitcoin-qt has menu items "Load PSBT from file…" and "Load PSBT from clipboard…"; the dialog box says the file format is "Partially Signed Transaction".
Geremia
  • 4,469
  • 4
  • 37
  • 75
6
votes
1 answer

Segwit & Offline Signing

Yesterday Trezor released details of a segwit-related hardware wallet vulnerability. The writeup claims that providing full previous transactions to the hardware wallet prevents the exploit. My question: Why can't the compromised desktop software…
justinmoon
  • 567
  • 2
  • 11
6
votes
1 answer

What is the difference between PSBT support in Coldcard and Trezor?

The 10x Security Bitcoin Guide says that the only two hardware wallets support BIP174 (partially signed Bitcoin transactions, or PSBT). However, this Reddit thread says that "You can use PSBT with Trezor via HWI". This Github issue elaborates. What…
Sergei Tikhomirov
  • 1,430
  • 7
  • 17
4
votes
1 answer

Which wallets or libraries besides core support (or will support) P2TR descriptors?

I want to help test the WIP Bitcoin Dev Kit "Add support for Taproot and tr() descriptors", PR #593 against other implementations besides Bitcoin Core (already testing again Core 22.0). In particular we need to test interoperability via PSBTs. BDK…
4
votes
0 answers

Sign lightning channel creation PSBT with Golang

I'm trying to open a channel on regtest with LND v0.13.0-beta.rc3 using their PSBT workflow to allow for remote signing. I've done the following steps: I create a regtest wallet using the BIP39 mnemonic bronze execute spirit sense rack this repeat…
3
votes
1 answer

How to properly combine PSBTs for CoinJoin?

I am trying to learn the workflow for manual Coinjoins using PSBTs. I was following Andy Chow's suggestions in another thread here Where he suggests: 1. Createpsbt (he suggests using walletcreatefundedpsbt) 2. Have individual users send their PSBTs…
3
votes
3 answers

How do you switch your bitcoinjs integrationfrom TransactionBuilder to transactions-psbt.js?

the code below works: const btc = require('bitcoinjs-lib'); var tx = new btc.TransactionBuilder(net); inputs.forEach(o => tx.addInput(o.txId, o.vout)); outputs.forEach(o => tx.addOutput(o.address, o.value)); tx.sign(0, owner); var body =…
ekkis
  • 167
  • 10
3
votes
1 answer

How do I calculate transaction fee for call to createpsbt()?

When my user invokes my app, he passes as an input parameter the desired value of the TX fee in satoshis per byte. I create a PSBT by calling createpsbt(). I exert complete control over the determination of inputs and outputs. For example, I…
eric
  • 125
  • 7
3
votes
0 answers

Is it possible to use Bitcoin-core for multisig? Can it handle change addresses?

I have tried to import three xpub in a watch-only wallet as keypool with importmulti and a multisig output descriptor and to fill the first address with some BTCs. When I try to spend the newly created multisig UTXO, creating a…
3
votes
1 answer

`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 outputs, I get an Insufficient funds error. Thanks in…
justinmoon
  • 567
  • 2
  • 11
3
votes
1 answer

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 again it returns the related unsigned tx. The…
altafan
  • 41
  • 1
3
votes
3 answers

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 and synced, then sign this transaction on a…
3
votes
0 answers

Setting up to create PSBTs using Bitcoin Core from 10 year old non-deterministic wallet

I have an old wallet from 10+ years ago. It was created using an old version of Bitcoin Core before deterministic wallets were a thing. I have it now on an offline computer that has Bitcoin Core 21.0.0 on it. I installed Core 21 and synced the…
3
votes
1 answer

How to resolve error when trying to sign and broadcast PSBT transaction via electrum - (Witness program hash mismatch code -26)?

I'm trying to generate a 2-of-2 multisig transaction as a PSBT so that both parties can easily sign their transaction. I'm doing this all on btc testnet as a p2sh p2wsh transaction When initially generating my PSBT, I get the…
1
2 3 4 5