“The issue that we’re trying to address is the fundamental issue that bitcoin is not fungible at the protocol layer, so we have to address that in the application layer,” Raw said.
Out of the two techniques, CoinJoin has gained more popularity over the years. JoinMarket, Samourai and Wasabi all have their own implementations of a CoinJoin, and each caters to different users. While JoinMarket is fully decentralized, Samourai and Wasabi leverage a centrally-coordinated CoinJoin implementation known as ZeroLink.
“A coordinator just takes the inputs and organizes them,” Raw said. “There is no custody of funds, we are talking about taking a bit or data and reorganizing it.”
CoinSwap, on the other hand, was until recently solely an area of research. In February, Mercury Wallet became the first CoinSwap implementation to be deployed. The wallet, of which CommerceBlock is behind, implements a novel layer on top of Bitcoin based on the concept of statechains to enable users to quickly transfer full custody of an amount of BTC to anyone with increased privacy and without paying miner fees.
“A statechain is a Bitcoin Layer 2 that … is a way for transferring your UTXOs off chain. We swap the coins and private keys in a non-custodial way. There is no on-chain taint as CoinJoin has,” Gregory said, adding that there is a risk that you end up with an undesirable coin, for example from a known hack.
“But you can attest that you participated in a CoinSwap,” he added, as a way to prove you were not behind that past coin history.
While many people still believe that Bitcoin enables anonymous transactions, truth is the novel peer-to-peer (P2P) digital currency is arguably more transparent than the traditional financial system where banks and corporations maintain a record of transactions and citizens can leverage cash to undergo private transactions that are only known to their counterparts.
At the bare minimum, techniques like CoinJoin and CoinSwap enable bitcoin funds to reach the level of privacy the regular citizen is accustomed to in their daily U.S. dollar transactions, because both tools can bring forward-looking privacy even if the user had to provide personal information when they purchased that bitcoin.
“What we are asking for here is not strange, it is a normal thing,” Raw said.
Bitcoin 2022 is part of the Bitcoin Event Series hosted by BTC Inc, the parent company of Bitcoin Magazine.