PayJoin

Both sides add inputs to one payment, breaking the assumption that a transaction has one sender.

Basically

A payment where both the sender and the receiver slip one of their own coins into the same transaction. To anyone watching the blockchain, it looks like a normal payment while quietly breaking the main assumption spies use to cluster wallets.

Key Takeaways

  • Specified in BIP 78 (and serverless PayJoin v2 / BIP 77).
  • Breaks the common-input-ownership heuristic without leaving an obvious CoinJoin fingerprint on-chain.
  • Also consolidates the receiver's UTXOs at the sender's moment of payment, saving future fees.

The assumption it breaks

Chain analysis assumes that when a transaction has multiple inputs, one wallet owns all of them. In a PayJoin, the customer and the merchant each contribute an input, and the merchant's output simply comes out larger by the price of the item. An observer sees a routine two-input transaction and draws the wrong conclusion about who owns what.

Why v2 matters

Early PayJoin required the receiver to run an online HTTP server. PayJoin v2 relays encrypted PSBTs through an oblivious mailbox so two ordinary mobile wallets can complete one asynchronously.

0

← All 1876 glossary terms