Hey all. Quick question. When I wanna create a raw transaction in Sparrow, do I need to make it unsigned if the other signer needs to add their own inputs and outputs? Like, how do they import it into their wallet? What are the steps?
Working with SIGHASH_SINGLE and ANYONECANPAY
6 replies 221 views
You should totally make an unsigned transaction. You can use SIGHASH_ANYONECANPAY to let them add inputs later. But if you sign it with SIGHASH_SINGLE, they can't add outputs. So, keep that in mind.
Right, so here’s the deal: create an unsigned PSBT. Pick your inputs and outputs, then make that PSBT. Export it as a file or QR code, send it to the other person. They’ll import it into Sparrow, check everything, add their signature without changing the setup. After that, it’s signed and sent to the network.
Does Sparrow even support combining inputs and outputs? I looked through the notes but couldn't find anything. I might've missed it... what’s the goal here? Trying to do a manual coin-join or what?
Nah, Sparrow doesn’t have that feature. Kinda weird, right? If someone gets a PSBT, they can’t just edit it for inputs/outputs. They’ll need another wallet that supports that. Seems like a simple feature to include.
I sent an unsigned PSBT to my buddy, but his wallet shows it as view-only. He can’t edit. I tried to import it in Electrum. Do I need to paste my own raw transaction there or is it different?
You can merge your unsigned PSBT with your friend's in Electrum using the join inputs/outputs button. Just remember to sign it separately and then merge the signatures later. Your goal is to get enough signatures based on the inputs for the combined transaction.
Related topics
- Issues with ripemd160 on Ubuntu 22 9
- New Bitcoin Improvement Proposal with $100 Reward 9
- Clipboard Vulnerabilities in Cryptocurrency Transactions 8
- Understanding the Differences Between Traditional and Simplified Chinese Mnemonics 6
- Running Bitcoin Core on a Laptop with Limited Storage 20
- Exploring Blockstream's Satellite Tech and Its Potential 22