Questions tagged [bip174-psbt]

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

18 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
38 views

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 ...
3
votes
0answers
35 views

What are the malleability threat vectors when passing PSBTs to other actors?

If I am passing a PSBT (Partially Signed Bitcoin Transaction) between multiple people, and I pass on my signature for my UTXOs for given inputs, can someone take advantage of malleability and cheat me ...
2
votes
0answers
79 views

Sign psbt with software wallet. [electrum & others]

So I've been looking for days to sign a PSBT transaction but upon to all my research i failed or i just haven't searched in the right place. The PSBT content is generated from a payment gateway that I'...
2
votes
0answers
229 views

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 ...
1
vote
0answers
35 views

Add inputs and outputs to a transaction signed with sighash SINGLE | ANYONECANPAY

I created a transaction with one input and one output, and signed it using sighash SINGLE | ANYONECANPAY. Can I add further inputs and outputs with another wallet using bitcoin-cli?
1
vote
0answers
58 views

How can I use PSBT in a JavaScript project?

I am trying to use PSBT in a Bitcoin project. The idea is to generate keys and sign transactions client-side. I am already familiar with bitcoinjs-lib but I find the API rather complicated. It would ...
1
vote
0answers
74 views

PSBT signing safety checks

I'm working on a multisignature cold storage wallet that adds several features to the Glacier Protocol wallet, namely PSBT support through bitcoin-cli's RPC interface. The wallet intentionally uses a ...
1
vote
1answer
551 views

Is it possible to use Electrum to create a multisig wallet with a trezor and an airgapped coldcard?

I set up a 2-of-3 multisig using Electrum, a Trezor, and a Coldcard. During testing, I ran into issues using the Coldcard to sign. My approach: (On Electrum) File -> New/Restore -> Multi-signature ...
0
votes
0answers
24 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?
0
votes
0answers
23 views

Does anyone have a step by step tutorial in how to use Bitcoin Core in 2 laptop airgapped scheme?

What I mean is, 2 laptops: -laptop 1: Connected to the internet, synced, has watch-only wallets of all private keys to be found in laptop 2's wallet -laptop 2: Never connected to the internet. You ...
0
votes
0answers
25 views

RPC to sign PSBT with private key

What is the PSBT related RPC which works similar to signrawtransactionwithkey ?
0
votes
0answers
87 views

TX decode failed. Make sure the tx has at least one input. (code -22)

I am getting an error when trying to broadcast a transaction that was signed in two different wallets with walletprocesspsbt: Created the transaction as mentioned in Sign PSBT for 2 of 3 multisig ...
0
votes
0answers
203 views

Bitcoin Core 0.21.0 Loading PSBT from file gets error: "unable to decode psbt...."

The Bitcoin Core GitHub text says to ask my question here. I also asked on reddit but maybe this is a better place. I created a PSBT file from my online Bitcoin Core wallet. I transferred it to my ...
0
votes
1answer
128 views

Can we sign a psbt raw tx having multiple inputs created from BTC node with bitcoinjs lib?

Due to secruity reasons, unavailablity of private keys on my end and as per project requirements I need to build back end apis where I will provide a PSBT raw transaction hex (having multiple inputs) ...
0
votes
0answers
34 views

Fund single output in PSBT with bitcoind

I would like to create a PSBT with a single output (P2WSH with a given/predefined amount) in an app and give that to the user. The user should then be able to fund this PSBT with the help of bitcoind ...
0
votes
0answers
103 views

How could PSBT deal with data capacity limit of QR code?

QR code has very limited data capacity. (According to Wikipedia) one single QR code can only carry <3KB of binary data. It's not rare for a PSBT to hit this 3KB limit, especially for ones which ...
0
votes
1answer
349 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
68 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+...