Payjoin's hard(ware) challenges
November 27, 2025•802 words
Payjoin enhances transaction privacy and efficiency by allowing both the sender and receiver to contribute inputs in the transaction. Async payjoin greatly expands the use cases and situations where payjoin can be used.
Background
A few weeks back, the Bitcoin Design Community held a community call with Andreas Griffin from Bitcoin Safe for evaluating payjoin from a UX perspective. Bitcoin Safe requires its users to utilise a hardware signer, and so his big question was around the signing experience for the payjoin sender, who has to sign twice in the payjoin process. I have been inviting attention to the hardware signing aspect of payjoin, simply due to the extra logistics involved for both the sender and receiver. But Andreas brought another (huge, it turns out) aspect of this to our attention, namely that the hardware signer should handle the payjoin PSBT properly, and failure to do so can have a variety of negative effects, ranging from bad to catastrophic.
Our call sparked two related threads: pythcoiner tweeted enquiring "how signing devices handle the fact that there is some non-own input in a txn"? The other one started on the Payjoin Dev Kit discord when Dan wondered if payjoin hardware support could/should use the fact that sender's PSBT spend the same inputs in both the signing sessions. It has been great to see many contributors pitch in about this topic.
Both threads are developing, but since this is a complicated area, here's a quick-n-dirty rundown of the current situation in the discourse written with the help of the LLM fren.
The problem
The Payjoin Dev Kit has been churning out code like champs to help projects implement payjoin. But where hardware signers are involved, the payjoin hits unique friction. Hardware signers tend to enforce strict input ownership checks – a security strength that's a challenge for payjoin. This is because PSBTs being signed by a user (through their hardware signer) may contain inputs (~coins) not owned/recognised by the signer.
Technical challenges
- Firmware Limitations: No popular hardware natively "understands" payjoin logic. Some signers (like BitBox) refuse to sign the updated PSBT because it contains "foreign" inputs. Others (Coldcard, Ledger) warn about this but allow – creating inconsistency and/or lack of trust on the user's part.
- Amount Miscalculations: Due to lack of payjoin recognition likely causes signers to displays wrong amounts (SeedSigner confirmed) since not all inputs or outputs belong to the signer. This is also a giant UX red-flag 🚩
- Potential Input Substitution Attacks: A compromised sender wallet could inject malicious inputs into the PSBT, tricking hardware into overpaying.
- PSBT Ambiguity: Current PSBT standards lack fields to flag "This is a payjoin, expect external inputs." Something like this would minimise risks and improve user communication!
UX hurdles
- "Resending Funds?": Users see two signing requests for one payment. To non-experts, this feels like a double-spend risk.
- Opaque Errors/warnings: Hardware may reject the final PSBT with cryptic alerts (e.g., "Unknown inputs detected"). Even if the device is ready to sign, but displays an unhelpful warning, a cautious user might be put off.
Hardware signer behaviour
(Based on community input) (in flux)
This is how hardware signers currently tend to respond to PSBTs with foreign inputs.
| Device | Signing transactions with foreign inputs | Amount accuracy |
|---|---|---|
| Coldcard | ✅ (with warning) | ❓ |
| BitBox | ❌ | ❓ |
| Ledger | ✅ (with warning) | ❓ |
| SeedSigner | ✅ | Wrong |
| Jade | ❓ | ❓ |
| Passport | ❓ | ❓ |
| Specter DIY | ✅ (with warning) | ❓ |
| Krux firmware | ❓ | ❓ |
Areas of improvement
- Firmware Upgrades: Firmware could incorporate payjoin-aware logic:
- Ignore foreign inputs
- Displaying net payment amount (fee sharing might make it tricky?)
- PSBT Standards: Upgrade PSBT standard to recognise payjoin
- UX guardrails:
- Pre-signing explainers on apps ("You’ll sign twice – this is normal").
- Helpful errors/warnings in hardware signers(e.g., "Foreign input detected: Is this a payjoin?").
Conclusion
Payjoin sorely needs rapport with signing devices! Wallet apps need to bridge the gap in the meanwhile through helpful in-app communication and user education, while hardware/firmware makers should embrace payjoin as a first-class use case, while maintaining security and usability. On-chain security and privacy are only going to get more important, we have to get this right. WAGMI!
Thanks to Keith Mukai, pythcoiner, rotten wheel and others who are working on testing and other things related to this.
Chime in on the discord thread or DM me (you can find me on Bitcoin Design discord or PDK discord) for feedback, suggestions, corrections etc.
This post might be updated as we go, and content might change. I'll try to highlight edits (with credits) where I can.