Wasabi Wallet Is Revamping Its CoinJoin Design to Allow Bitcoin Mixing With Differing Values

Wasabi Wallet's new protocol would allow users to coinjoin with differing values, which could give users greater flexibility when using the privacy feature.

AccessTimeIconAug 27, 2020 at 9:40 p.m. UTC
Updated Aug 19, 2021 at 3:59 a.m. UTC

Presented By Icon

Election 2024 coverage presented by

Stand with crypto

Privacy-focused Bitcoin software wallet Wasabi is getting a major protocol overhaul.

The Wasabi team is working on a new protocol design, dubbed WabiSabi, in a bid to improve the user experience and privacy guarantees of the wallet's CoinJoin transactions. The major design change would allow users to coinjoin with different values than their peers, a first for the privacy-minded technology that could lead to new (and more flexible) use cases. Wasabi has been conceptualizing the design in a research group since the beginning of 2020 and has hired team members to work on the implementation.

  • Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
    13:18
    Bitcoin Mining in the U.S. Will Become 'a Lot More Decentralized': Core Scientific CEO
  • Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
    05:10
    Binance to Discontinue Its Nigerian Naira Services After Government Scrutiny
  • The first video of the year 2024
    04:07
    The first video of the year 2024
  • The last regression video of the year 3.67.0
    40:07
    The last regression video of the year 3.67.0
  • Out with the old

    Currently, Wasabi’s CoinJoin – a mixing protocol that, when used correctly, can obscure a bitcoin’s transaction history – relies on the ZeroLink protocol and blind signatures for mixing. Under this scheme, users must spend a set minimum amount of bitcoin with other users in a mixing pool for the CoinJoin to work successfully; these like amounts are shuffled together in a pool, after which each user receives the same amount of bitcoin back in a way that doesn’t reveal their original input.

    For this to work effectively, each user in a CoinJoin transaction must send a minimum amount of bitcoin to the mixing pool (e.g., 0.1, 0.01, etc) so as to ensure that they receive the same output as other users when the CoinJoin is complete. If recipients don't receive the same amount of Bitcoin at the end of a join as other users in the mix, the transactions could be easily deanonymized by blockchain surveillance. 

    This current scheme also gives the CoinJoin’s coordinator a spyglass into a user’s information. Wasabi contractor and contributor Max Hillebrand told CoinDesk that a coordinator "could link the input to the change output, and could link multiple inputs to the same user.”

    WabiSabi won’t disintermediate this coordinator role, seeing as it is necessary to make the protocol as frictionless and low-latency as possible. But the new design, according to Wasabi’s team, will keep the coordinator from tracing inputs to ensure “as few privacy leaks as reasonable,” Hillebrand said. 

    In with the new

    The new protocol is a technical casserole that combines Pedersen commitments and keyed-verification anonymous credentials (KVAC), a feature used for group messaging on the encrypted chat app Signal.

    If WabiSabi works in practice as it does in theory, then users will be able to spend any amount, irrespective of the value spent by their peers – an improvement over the current design which demands equal value payouts to mixing participants.

    Wasabi co-founder and lead researcher Adam Ficsor told CoinDesk this new design could unlock new CoinJoin use cases, like “CoinSwapping with CoinJoins and open[ing] lightning channels with CoinJoins.”

    Hillebrand continued to highlight that this implementation will not be limited to self-spends, where users can only send a CoinJoin transaction to themselves, like under the current model. Rather, WabiSabi would allow them to make payments in a CoinJoin transaction to another user as well. This process would operate in the background if it runs the way Wasabi envisions it, opening up the possibility to make “every spend a CoinJoin.” 

    “The [old] Zero Link CoinJoins are mainly a self-spend, so the same user owns the input and the output. It’s not a payment; it’s like you are shuffling the bitcoin from your left pocket to your right pocket. This increases blockspace usage and thus incurs more expensive mining fees for the sender and verification cost for all Bitcoin full node users.”

    'Testing, testing, testing'

    Of course, the protocol’s development is still in its early stages, and Wasabi lead developer Lucas Ontivero told CoinDesk the white paper, which was unveiled to the Bitcoin developer mailing list in mid-June, is “still being peer reviewed.”

    The challenge now is structuring the actual transaction design, which is a different technical feat from designing the protocol itself. As Hillebrand explained, the WabiSabi protocol design sets the parameters for data transmission between end users and coordinators, while the transaction structure of inputs and outputs is a different problem entirely.

    This “transaction structure is not 100% ready,” Wasabi cryptographer István András Seres told CoinDesk over email. He added that “it is a huge design [requirement]” and that the team will want a “proper audit” before feeling comfortable releasing it to the public.

    So a working WabiSabi implementation may be some time away, though the next step in development is creating a transaction scheme that retains the privacy promises of the underlying protocol. The team did not make any promises about when the tech could be ready, as “there are many open research questions and unknowns,” Hillebrand said.

    As independent Bitcoin privacy researcher Yuval Kogman put it, the next, challenging step is “going from theory to practice” in a way that keeps the protocol as user friendly as possible to maximize its adoption. 

    “On the cryptography side, the theory is well developed and understood. Anonymous credentials as a concept go a long way back and are fairly straightforward to apply...a big part of the challenge is UI/UX [user interface/user experience], and in order to take full advantage of the credential scheme and the transaction structure, we will have to find some creative solutions,” he said, adding that the team has “already come up with some pretty promising and interesting ideas.”

    This article was updated to more accurately describe how Wasabi's current CoinJoin implementation works.

    Disclosure

    Please note that our privacy policy, terms of use, cookies, and do not sell my personal information have been updated.

    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.


    Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.