Atlas21
  • ‎
No Result
View All Result
Atlas21
No Result
View All Result
Atlas21
Home Learn

Guide to Payjoin transactions

Newsroom by Newsroom
December 5, 2024
in Learn
Guida alle transazioni Payjoin
Share on FacebookShare on TwitterShare on Linkedin

What is it, how does it work, and how to perform a Payjoin transaction?

Payjoin, or Pay-to-EndPoint (P2EP), is a Bitcoin transaction protocol that enhances user privacy and reduces fees. Unlike standard transactions, where only the sender provides inputs, a Payjoin transaction involves the recipient contributing their inputs as well. This confuses external observers and makes it harder for blockchain surveillance companies to trace transactions, offering benefits in both privacy and scalability.

How Payjoin works

In a standard transaction, the sender transfers funds to the recipient using inputs from their wallet. In a Payjoin transaction, both the sender and the recipient contribute inputs. As a result, external parties cannot easily distinguish who sent or received funds, enhancing the privacy of both participants.

From a technical perspective, Payjoin leverages a feature of the Bitcoin protocol that allows multiple inputs from different sources. This breaks the common-input-ownership heuristic, which assumes that all inputs in a transaction belong to the same entity.

Benefits of Payjoin

  • Privacy: It becomes difficult to determine the sender, the recipient, and the amount sent in a transaction, making it indistinguishable from a standard Bitcoin transaction.
  • Fee Savings: Payjoin allows transaction batching, reducing block space usage and lowering fees by up to 16% compared to standard transactions.
  • Lightning Network: Payjoin simplifies channel opening in the Lightning Network. Users only need one transaction instead of two (if you have a LN node, you first need to send a transaction to the node’s empty on-chain wallet and then perform another on-chain transaction to open the channel), making the process faster (only one confirmation needed) and cheaper (only one fee paid).

How to perform a Payjoin transaction

To execute a Payjoin transaction, both the sender and the recipient must use wallets that support the Payjoin protocol. You can find a list of compatible wallets here.

Steps to perform a Payjoin transaction

For this example, we’ll use the wallet within BTCPay Server, which supports Payjoin for both sending and receiving transactions.

  1. Wallet creation:
    • Create a Payjoin-compatible wallet on BTCPay Server by first setting up a store.Navigate to Bitcoin > Create a new wallet > Hot wallet. Enable the Payjoin option and click Create.Save the seed phrase displayed on the screen and click Done. To complete the transaction, you’ll need to create two stores and two wallets: one for sending and one for receiving.
    Note: The recipient’s wallet must contain at least one UTXO to contribute as an input for the Payjoin transaction.
  1. Creating a payment request:
    • Generate an on-chain payment request via the Point of Sale or Invoices sections.
    • Once created, view the invoice and copy the BIP21 payment link by clicking the Pay in wallet button.
  1. Sending the transaction:
    • In the wallet from which you want to send funds, click Send and paste the previously copied link.
  1. Signing and broadcasting the transaction:
    • Click Sign transaction to sign the transaction and then Broadcast (Payjoin) to send it to the Bitcoin network.
Previous Post

Digital euro: between holding limits and privacy concerns, the ECB continues its research

Next Post

Marathon acquires a wind farm in Texas: mining increasingly focused on renewables

Latest News

Tuscany Lightning Summit 2025: LN come linguaggio comune dell’ecosistema Bitcoin
Bitcoin

Tuscany Lightning Summit 2025: LN as a common language of the Bitcoin ecosystem

by Newsroom
May 9, 2025
0

Report on the event dedicated to Bitcoin protocol's main layer 2, organized by Fulgur Ventures.

Read moreDetails
stablecoin
Crypto

Meta considers stablecoin integration: the tech giant returns to the crypto world

by Newsroom
May 9, 2025
0

Social media giant Meta is exploring stablecoins for payments across its platforms.

Read moreDetails
arizona
Bitcoin

Arizona grabs abandoned bitcoins: the State reserve is born

by Newsroom
May 9, 2025
0

Arizona launches its Bitcoin and digital asset reserve fund by signing House Bill 2749, which allows the state to claim...

Read moreDetails
bitcoin
Bitcoin

Florida says no to Bitcoin: state treasury bills withdrawn

by Newsroom
May 9, 2025
0

Florida drops proposals for Bitcoin investments, while other U.S. states continue the race for a strategic reserve.

Read moreDetails
samourai wallet
Bitcoin

Samourai Wallet vs. the authorities: allegations of evidence concealment

by Newsroom
May 6, 2025
0

The co-founders of Samourai Wallet claim that federal prosecutors concealed FinCEN guidance that would have cleared them of the charges.

Read moreDetails
Atlas21

© 2025 Atlas21

Navigate Site

  • About
  • Home
  • Feature
  • Bitcoin
  • Careers
  • Opinion
  • Interviews
  • Privacy Policy
  • News
  • Learn
  • B2B
  • Press
  • Cookie Policy

Follow Us

No Result
View All Result
  • News
  • Interviews
  • Learn
  • Feature
  • Services
  • Adoption
  • ‎
    • ‎

© 2025 Atlas21

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site, we will assume that you are happy with it.AcceptCookie