BTC
$107,758.87
-
0.38%
ETH
$2,463.27
+
0.39%
USDT
$1.0002
-
0.01%
XRP
$2.1819
-
0.47%
BNB
$654.54
+
0.63%
SOL
$150.53
-
0.81%
USDC
$0.9999
+
0.00%
TRX
$0.2774
+
0.88%
DOGE
$0.1650
+
0.45%
ADA
$0.5646
+
0.05%
HYPE
$40.00
+
2.64%
WBT
$45.81
-
3.18%
BCH
$491.47
-
0.29%
SUI
$2.7755
-
1.32%
LINK
$13.23
-
1.44%
LEO
$9.1403
+
0.02%
AVAX
$18.13
+
0.61%
XLM
$0.2364
-
0.88%
SHIB
$0.0₄1146
-
1.33%
LTC
$85.63
-
1.17%
Logo
  • News
  • Cryptocurrencies
  • Data
  • Indices
  • Research
  • Events
  • Sponsored
  • Sign In
  • Sign Up
Tech
Share this article
X iconX (Twitter)LinkedInFacebookEmail

CoinSwap and the Ongoing Effort to Make Bitcoin Privacy 'Invisible'

Developer Chris Belcher has set his sights on making CoinSwap a reality – a new project he hopes will "massively improve bitcoin privacy."

By Alyssa Hertig
Updated Dec 12, 2022, 12:54 p.m. Published Jul 13, 2020, 8:00 a.m.
(MathGoulet/Creative Commons)
(MathGoulet/Creative Commons)

A developer known for working on enhancing Bitcoin privacy has set his sights on a new project he hopes will "massively improve" how we keep our transactions private.

jwp-player-placeholder
STORY CONTINUES BELOW
Don't miss another story.Subscribe to the The Protocol Newsletter today. See all newsletters
By signing up, you will receive emails about CoinDesk products and you agree to our terms of use and privacy policy.

Chris Belcher, who also created the technical privacy market JoinMarket, is currently working on putting to the test CoinSwap, an idea first proposed by legendary Bitcoin developer Greg Maxwell in 2013. Belcher has been focusing on CoinSwap rather than JoinMarket because he thinks it will give users better privacy, he told CoinDesk.

Belcher recently received not just one, but two grants for his efforts, showing just how excited Bitcoiners are about the potential of the project.

Though the Bitcoin network arose from a privacy-minded movement, its privacy is actually pretty thin. Just take a look at any block explorer for a glimpse of how easy it is to pull up any transaction that's ever happened in Bitcoin's history – as well as the transaction's associated history.

Read more: Human Rights Foundation Funds Bitcoin Privacy Tools Despite ‘Coin Mixing’ Legal Stigma

"Right now, Bitcoin privacy is not very good at all. Anyone in the world can analyze the blockchain and then can find all sorts of information about users - their balance, their history, who they transact with and in what amounts, when – everything they spend," Belcher told CoinDesk in an interview.

Belcher argues that this is, in some ways, worse than the financial privacy we have in legacy systems today. "The banking system, they know your transactions, but the general public doesn't. With Bitcoin it is the general public -- it is everyone that can see exactly what the user does," Belcher added.

He added it's important to most people that this type of information isn't exposed to the whole world.

"Financial privacy is good for human dignity, [for example], if you don't want your neighbors to see what charities you donate to or that type of thing, or if you're paid in bitcoin you don't want your employers to know what charities you donate to or what other activities you're involved in," Belcher added.

CoinJoins: today's Bitcoin privacy

"CoinJoins" (distinctive from "CoinSwaps," which Belcher is putting to the test) are the privacy transactions that are most popular on Bitcoin today. CoinJoins give users good privacy and are becoming more popular. Thus far, they have been adopted in the Wasabi wallet, Samourai Wallet and JoinMarket.

A CoinJoin takes all inputs from several transactions by different users and mixes them into one big, collaborative transaction. This one big transaction then sends the bitcoins mixed from different addresses out to different addresses. Because no one can tell where the spent bitcoins originally came from, the scent of the trail is obfuscated and the participants in the CoinJoin gain better privacy.

Read more: What an Uptick in ‘Coinjoins’ Says About Bitcoin’s Value Proposition

But it’s not perfect. There are still ways for people analyzing the Bitcoin blockchain (namely blockchain analysis companies) to detect when and where bitcoins are being mixed.

For one thing, the transaction sizes of mixed coins are much bigger than normal transactions because they contain so many different inputs.

Also telling is the fact they have outputs that are all the same size. "Equal output CoinJoins are very obvious. If someone sees them on the blockchain they can see that this kind of privacy protocol is happening,” Belcher said.

Why are outputs the same size? If Bob sends 0.8 BTC into the CoinJoin transaction and Alice sends 0.187 BTC and Mary sends 1.2222 BTC, and the resulting outputs are exactly 0.8 BTC, 0.187 BTC and 1.2222 BTC respectively, that coincidence is pretty obvious to anyone who is looking.

In order to preserve privacy, a CoinJoin transaction usually splits the amount of bitcoin dispensed into even pieces, say 0.1 bitcoin. So, if Alice put in 0.3 bitcoin, she will receive three 0.1 pieces sent to three separate addresses that she controls.

Most transactions don't have a bunch of equal outputs like this. That's why CoinJoins are easy to detect.

Indeed, there have been a few instances of cryptocurrency exchanges banning users who have evidently sent their bitcoin through such privacy services.

"They'll be suspicious. If there's someone analyzing the blockchain, they'll see this is a CoinJoin, so they know this person did that. And if they see another transaction, [by comparison] they can see that it's not a CoinJoin," Belcher said.

CoinSwap: an invisibility cloak for transactions

"CoinJoin" and "CoinSwap" have similar names and they both help to preserve privacy, so it's easy to confuse them. But they're different, and Belcher argues CoinSwaps "fixes many of the problems of some kinds of CoinJoins" and "is the next step for on-chain bitcoin privacy."

CoinSwaps can be made to look invisible, Belcher said. If done correctly, a CoinSwap transaction can look just like a vanilla bitcoin transaction.

In a CoinSwap, it looks like two separate people are sending completely separate transactions. But under the hood, something else completely is happening.

Two parties, say Alice and Bob, execute such a swap. In short, Alice sends some bitcoin to a CoinSwap address. Bob sends the same amount of bitcoin to a separate CoinSwap address.

If both send the right amount of money over, the coins are "swapped." The coins Alice sent to the CoinSwap address are sent to a new address owned by Bob, and the coins Bob sent to his own CoinSwap address are sent to a new address owned by Alice.

'Teleporting' Coins

Under the hood, the CoinSwap address, which is responsible for this swapping, is much fancier than a normal bitcoin transaction. It's a multi-signature transaction, meaning it requires more than one person to sign off on it in order to send the transaction. Usually, these types of transactions stand out on the blockchain since they look different from normal bitcoin transactions. But by including ECDSA-2P cryptography, these multi-signature transactions can be made to look just like normal bitcoin transactions. This is very much Belcher's plan.

With ECDSA-2P in place, "Alice sends a CoinSwap to Bob and it just looks like just a normal transaction. But actually the coins have ended up somewhere else completely," Belcher said.

This component is important. If all of these transactions look the same, people who aren't even using CoinSwaps are getting more privacy too. There's no way to tell if any transaction is a CoinSwap transaction or a normal one, turning bitcoin chain analysis on its head.

Read more: ‘Financial Surveillance’ or ‘Blockchain Analysis’? Human Rights Foundation Debates Elliptic

Similar technology will expand to the Lightning Network as well, so blockchain watchers can't tell if any single transaction is a CoinSwap, a Lightning Network transaction or just a normal bitcoin transaction.

"CoinSwap could be said to allow bitcoins to teleport undetectably to anywhere else on the blockchain," as a description of the technology on the Bitcoin Wiki puts it. For a deeper explanation, check out this posthttps://joinmarket.me/blog/blog/coinswaps/ from JoinMarket developer Adam Gibson.

That's not to say that CoinSwap is perfect, though. The problem with CoinSwap is that it is a much more complicated process to implement than CoinJoin.

'As decentralized as possible'

In his mountain of a post, Belcher describes how to turn the idea of CoinSwap into reality.

A key reason CoinSwaps haven’t taken off since Maxwell described them seven years ago is that they're not as straightforward as CoinJoins. So, Belcher has his work cut out for him in implementing the complexity for the first time.

His first step was just thinking about the best way to do it, outlining a number of different design considerations in the article making up his plan of attack. For one, he plans to use the Rust programming language, since it's potentially more secure than other languages.

"I want to make it as decentralized as possible, so there's no central point of failure that can be switched off or censored," Belcher said. To meet this goal, he wants the "whole thing" to run over the privacy network Tor, which helps to shield IP addresses, which are kind of like a mailing address for a computer exposing where it is located.

"I think that's quite necessary for privacy," he said.

Read more: BTCPay Looks to Anonymize Bitcoin Transactions With PayJoin Integration

Belcher outlines this and various other considerations in his proposal, such as routing and using PayJoin, yet another bitcoin privacy technology, alongside it. Now that his ideas are out in the public, people can comment and make suggestions.

The next step is actually implementing it. Belcher told CoinDesk he hopes to release a minimum viable product in the next six months.

Image: "BallesStrob-4" by MathGoulet is licensed under CC BY-ND 2.0.

PrivacyCoinJoinLightning NetworkCoinSwapJoinMarket
Alyssa Hertig

A contributing tech reporter at CoinDesk, Alyssa Hertig is a programmer and journalist specializing in Bitcoin and the Lightning Network. Over the years, her work has also appeared in VICE, Mic and Reason. She's currently writing a book exploring the ins and outs of Bitcoin governance. Alyssa owns some BTC.

X icon
CoinDesk News Image
Latest Crypto News
Assets

Price Chip Testing

Jun 27, 2025
Article image

Digital Asset, Builder of Privacy-Focused Blockchain Canton, Raises $135M

Jun 24, 2025
Article image

Bankrupt Crypto Exchange FTX Slams Three Arrows Capital’s $1.51B Claim: “3AC Is Owed Nothing”

Jun 23, 2025
Article image

Ethereum Surges 4% on Massive Volume as Institutional Interest Grows

Jun 23, 2025
FastNews (CoinDesk)

[Test test ] translation without price widget

Jun 20, 2025
FastNews (CoinDesk)

[Test-C31-6047, FastNews] JPMorgan To Allow Clients To Buy Bitcoin, Says Jamie Dimon

Jun 20, 2025
Top Stories
Assets

Price Chip Testing

Jun 27, 2025
JPMorgan Chase CEO Jamie Dimon (Photo by Kevin Dietsch/Getty Images)

JPMorgan To Allow Clients To Buy Bitcoin, Says Jamie Dimon

May 19, 2025
Ethereum co-founder Vitalik Buterin (CoinDesk Archives)

Ethereum's Vitalik Buterin Proposes Design to Make Running Nodes Easier

May 19, 2025
A barman shakes a cocktail shaker with an array of drinks bottles behind him.

Crypto Daybook Americas: Bitcoin Whiplash Shakes Market as U.S. Yield Spike Threatens Bull Run

May 19, 2025
Mike Novogratz, Galaxy founder and CEO, speaks at Consensus 2024 (CoinDesk/Shutterstock/Suzanne Cordiero)

The Bull Case for Galaxy Digital Is AI Data Centers Not Bitcoin Mining, Research Firm Says

May 19, 2025
Tokyo, Japan (Jaison Lin/Unsplash)

Metaplanet Buys Another 1,004 Bitcoin, Lifts Holdings to Over $800M Worth of BTC

May 19, 2025

This is your last article this month.

Sign up for free

About

  • About Us
  • Masthead
  • Careers
  • CoinDesk News
  • Crypto API Documentation

Contact

  • Contact Us
  • Accessibility
  • Advertise
  • Sitemap
  • System Status
DISCLOSURE & POLICES
CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. CoinDesk has adopted a set of principles aimed at ensuring the integrity, editorial independence and freedom from bias of its publications. CoinDesk is part of the Bullish group, which owns and invests in digital asset businesses and digital assets. CoinDesk employees, including journalists, may receive Bullish group equity-based compensation. Bullish was incubated by technology investor Block.one.
EthicsPrivacyTerms of UseCookie SettingsDo Not Sell My Info

© 2025 CoinDesk, Inc.
X icon
Sign Up
  • News
    Back to menu
    News
    • Markets
    • Finance
    • Tech
    • Policy
    • Focus
  • Cryptocurrencies
    Back to menu
    Cryptocurrencies
    • Data
      Back to menu
      Data
      • Trade Data
      • Derivatives
      • Order Book Data
      • On-Chain Data
      • API
      • Research & Insights
      • Data Catalogue
      • AI & Machine Learning
    • Indices
      Back to menu
      Indices
      • Multi-Asset Indices
      • Reference Rates
      • Strategies and Services
      • API
      • Insights & Announcements
      • Documentation & Governance
    • Research
      Back to menu
      Research
      • Events
        Back to menu
        Events
        • CoinDesk: Policy & Regulation
        • Consensus Hong Kong
        • Consensus Miami
      • Sponsored
        Back to menu
        Sponsored
        • Thought Leadership
        • Press Releases
        • CoinW
        • MEXC
        • Phemex
        • Advertise
      • Videos
        Back to menu
        Videos
        • CoinDesk Daily
        • Shorts
        • Editor's Picks
      • Podcasts
        Back to menu
        Podcasts
        • CoinDesk Podcast Network
        • Markets Daily
        • Gen C
        • Unchained with Laura Shin
        • The Mining Pod
      • Newsletters
        Back to menu
        Newsletters
        • The Node
        • Crypto Daybook Americas
        • State of Crypto
        • Crypto Long & Short
        • Crypto for Advisors
      • Webinars
        Back to menu
        Webinars
        Select Language
        English enEspañol esFilipino filFrançais frItaliano itPortuguês pt-brРусский ruУкраїнська ukDeutsch deNederlands nl