Understand and master the principles of privacy protection when using Bitcoin
Understanding Payjoin Transactions on Bitcoin
- Payjoin
- Stowaway
- P2EP (Pay-to-End-Point)
- Steganographic transaction
4000 sats using a UTXO of 10,000 sats and opt for a Payjoin, your baker will add a UTXO of 15,000 sats that belongs to them as an input, which they will receive in full as an output, in addition to your 4000 sats:
15,000 sats as an input and comes out with 19,000 sats, with a difference of exactly 4000 sats, which is the price of the baguette. On your side, you enter with 10,000 sats and end up with 6,000 sats as an output, representing a balance of -4000 sats, which is the price of the baguette. To simplify the example, I deliberately omitted mining fees in this transaction.What is the purpose of a Payjoin transaction?
Steganography is a technique of concealing information within other data or objects in such a way that the presence of the hidden information is not perceptible. For example, a secret message can be hidden inside a dot in a text that has nothing to do with it, making it undetectable to the naked eye (this is the technique of micropoint). Unlike encryption, which makes information incomprehensible without the decryption key, steganography does not modify the information. It remains displayed in plain sight. Its objective is rather to hide the existence of the secret message, whereas encryption clearly reveals the presence of hidden information, although inaccessible without the key.
19,000 sats to Bob."
This interpretation is obviously incorrect because, as you already know, the two input UTXOs do not belong to the same person. Furthermore, the actual value of the payment is not 19,000 sats, but rather 4,000 sats. The analysis of the external observer is thus directed towards an erroneous conclusion, ensuring the preservation of the privacy of the stakeholders.
If you wish to analyze a real Payjoin transaction, here is one that I performed on the testnet: 8dba6657ab9bb44824b3317c8cc3f333c2f465d3668c678691a091cdd6e5984cAuthor
This tutorial has been written by Loïc Morel
You can say thanks by tipping the professor.
I write educational content about Bitcoin.
Credits
This tutorial has not been proofread yet
The original content has been translated by AI, but human review is necessary to ensure its accuracy.
1 508 sats754 sats377 satsEvery content on the platform is the result of a collaborative effort: each lesson, translation, and revision is made possible by the work of contributors. For this reason, we are always looking for proofreaders who can review our content in many languages. If you want to participate in the proofreading process, please reach out in our Telegram group and read our tutorial. We remind you that this content is open-source - licensed under CC BY-SA - so it can be freely shared and used, as long as the original source is credited.

