• Catalog
  • Blog
  • Tor Relay
  • Jabber
  • Secret Notes
  • Temp Mail
  • Get Tor Browser
  • Crypto
    Technical comparison of Bitcoin CoinJoin protocols: WabiSabi, Whirlpool, and JoinMarket

    CoinJoin gets talked about as a single privacy technique, but under the hood there is no such thing as "CoinJoin" the protocol. Wasabi, Ashigaru Whirlpool, and JoinMarket NG each implement the same idea, several parties signing one transaction whose inputs and outputs cannot be trivially mapped, using fundamentally different cryptographic machinery, coordination models, and economic incentives. Choosing between them is not a matter of picking the "most private" one, because each protocol fails in a different way against different attackers. This comparison goes past the UI-level reviews and looks at the protocol mechanics: how outputs are registered, how anonymity sets are actually constructed, how fees are priced, and exactly what each design asks you to trust.

    For a gentler introduction to what CoinJoin does and does not protect, see our CoinJoin explained guide. This article assumes you know the basics and want the technical differences.

    Why "CoinJoin" Is Not One Protocol

    Every CoinJoin implementation solves the same construction problem: produce a single Bitcoin transaction containing many inputs and outputs of carefully chosen values, sign it collaboratively, and broadcast it, so that an outside observer cannot determine which inputs funded which outputs. But "collaboratively" can mean very different things:

    • Fixed-denomination, centrally coordinated rounds (Whirlpool's ZeroLink lineage): participants register identical-denomination outputs, the coordinator aggregates them, and a Chaumian blind-signature scheme lets the coordinator verify that each input is funded without learning which input belongs to whom.
    • Arbitrary-amount, credential-based rounds (WabiSabi, used by Wasabi 2.x): participants register arbitrary input and output values protected by homomorphic amount commitments and anonymous credentials, so a coordinator can run large heterogeneous rounds without learning value linkages.
    • Maker-taker markets (JoinMarket): there is no coordinator at all. Takers select makers from an orderbook, pay them for liquidity, and construct the transaction themselves, which means the taker knows the full input-output mapping while makers see only fragments.

    These are not interchangeable implementations of one spec. They have different anonymity-set math, different fee dynamics, different trust surfaces, and different griefing vectors. The rest of this article dissects each one.

    WabiSabi: Credential-Based CoinJoins with Arbitrary Amounts

    WabiSabi is the protocol powering Wasabi Wallet 2.x's CoinJoin feature, and it is the most technically ambitious of the three. It is formally described in the academic paper "WabiSabi: Centrally Coordinated CoinJoins with Variable Amounts" (Fichtl, Malavolta, et al., 2021).

    The core problem WabiSabi solves is that real users do not have convenient round numbers. A user might want to mix 0.37 BTC. Under a fixed-denomination protocol like Whirlpool, that balance must be decomposed into many small UTXOs across separate rounds, slow and fee-heavy. WabiSabi instead lets each participant register arbitrary input values and arbitrary output values.

    The cryptographic trick is how the coordinator verifies amounts without learning them. Each user proves via homomorphic Pedersen-style commitments that the sum of their registered outputs (plus their mining-fee contribution) equals the sum of their registered inputs, without revealing the individual values. The coordinator issues anonymous credentials attesting to these properties, so a user can prove "I am entitled to this many outputs of these denominations" without linking their input registration to their output registration or to their network identity. This is what makes heterogeneous, multi-denomination rounds possible at scale.

    A Wasabi CoinJoin round typically runs the input registration, output registration, and transaction-signing phases described in the paper. The coordinator collects hundreds of inputs, observed rounds regularly exceed 100 participants, and produces a single transaction where outputs cluster around a few common denominations because wallets compute possible output splits with a predefined algorithm designed to maximize collisions between users.

    Tradeoffs: WabiSabi removes toxic change almost entirely (leftover value stays inside the mixed outputs rather than leaking as a distinct change output), which is its biggest anonymity advantage over fixed-denomination designs. The cost is complexity: the cryptographic machinery is harder to audit, the coordinator is a powerful trusted party, and the coordinator sees the entire round's structure, though not, by design, the input-output mappings.

    Whirlpool / ZeroLink: Chaumian Blind Signatures and Fixed Denominations

    Ashigaru (the Tor-only wallet distributed for Whirlpool CoinJoins) and Samourai's Whirlpool implementation descend from the older ZeroLink protocol family, the same design lineage as the original Wasabi 1.x CoinJoin. It is simpler, older, and in some ways more transparent to analyze.

    The mechanics: users deposit funds into a Whirlpool, which decomposes them into fixed denominations, historically 0.5, 0.05, 0.01, and 0.001 BTC pools. Each mix is a small round, typically exactly 5 participants (8 in some configurations), where every participant contributes inputs of roughly equal value and receives outputs of exactly the pool denomination. Inputs are slightly larger than outputs; the difference pays the transaction fee. The equal-value outputs create a clean anonymity set: every output in the round is fungible, so an observer sees five identical outputs and cannot tell which input funded which.

    The coordinator's role is verification via Chaumian blind signatures: participants blind their input values, the coordinator signs commitments proving each input equals an output-plus-fee without seeing the amounts, and the process repeats for as many rounds as needed. Because all values are fixed and public, the coordinator learns very little, but it also cannot run heterogeneous rounds, which is why large balances take many sequential mixes.

    Tradeoffs: Whirlpool's fixed-denomination design has a well-understood weakness: toxic change ("doxxic change" in community slang). Whatever value does not fit the denomination remains unmixed and can link your pre-mix and post-mix activity. Whirlpool mitigates this by isolating change in a separate wallet and recommending repeated "remixes," but the problem is structural. On the plus side, the protocol is simple enough that independent researchers have analyzed it extensively, the MIT Digital Currency Initiative published a detailed timing analysis of Whirlpool transactions showing how on-chain patterns can partially de-anonymize participants.

    JoinMarket: A Maker-Taker Market Instead of a Coordinator

    JoinMarket NG takes the opposite architectural bet: it removes the coordinator entirely and replaces it with a market. The protocol is documented in the JoinMarket client-server repository.

    Two roles exist. Makers advertise their bitcoin as CoinJoin liquidity on a public orderbook, earning fees for participating. Takers want privacy for a specific transaction, browse the orderbook, and select makers to include. The taker then constructs the transaction themselves, pays makers for their participation (typically a fee per input), and pays the network fee separately. Makers sign partial transactions without ever seeing the complete picture.

    This design has a subtle but critical consequence that distinguishes it from the coordinator-based protocols: the taker knows the full input-output mapping by construction, and chain analysis can sometimes exploit the structural asymmetry. Because makers are paid for their inputs and the taker's payment output differs in structure, passive observers can sometimes identify which party is the taker and which outputs belong to it. Researcher Peter Todd's 2025 comparison of CoinJoin implementations demonstrated that JoinMarket's market structure can leak the taker's role through value-matching analysis, unlike Wasabi's symmetric rounds where all participants contribute equally.

    Tradeoffs: JoinMarket is the most decentralized option, no single coordinator can be coerced, subpoenaed, or maliciously manipulated, and its fee model is a genuine market: competition among makers drives costs down, and there is no protocol-level fee skimmed by a coordinator. The costs are usability (it is a command-line-oriented tool aimed at technical users), smaller effective anonymity sets per transaction (typically 5-7 counterparties selected per join), and the asymmetric trust/leakage profile described above.

    Anonymity Set Construction: Where the Implementations Actually Differ

    Raw participant count is a misleading metric. What matters is the effective anonymity set: the number of indistinguishable outputs an observer must consider as the possible owner of your funds. The three protocols construct this set differently:

    • WabiSabi (Wasabi): anonymity set = the number of identical-denomination outputs within a round, multiplied by remix history. Because output denominations are computed to collide across users, a single round might produce a dozen identical 0.1 BTC outputs even with hundreds of participants. Automatic, continuous remixing compounds the set over time. Weakness: sophisticated observers can attempt input-output mapping analysis on heterogeneous values, and the effective per-round set for any specific denomination is smaller than total round size.
    • Whirlpool (Ashigaru): anonymity set = pool size per denomination (5), but this set compounds perfectly because every remix of the same denomination merges your output into a fresh set of 5 identical outputs. Three remixes of a 0.05 BTC output gives you membership in a lineage an observer must trace through 125 candidate outputs. Weakness: the set is capped per round, timing analysis can correlate rounds, and change outputs sit outside the set entirely.
    • JoinMarket: anonymity set = number of makers selected plus other takers in the same transaction (typically 5-7 total outputs of matched value). There is no automatic remixing, each new join is a new taker transaction with new fees. Weakness: role asymmetry can shrink the effective set, and the taker initiates timing, which an observer watching the orderbook or the mempool can exploit.

    For a deeper treatment of anonymity-set mechanics, see our analysis of what happens inside a CoinJoin round and the comprehensive technical guide to CoinJoin protocol mechanics.

    Fee Structures: Coordinator Skim vs. Market Pricing

    The three protocols price privacy in fundamentally different ways:

    • WabiSabi/Wasabi: users pay a coordinator fee (historically a small percentage or flat rate per CoinJoin) plus the Bitcoin network fee for the transaction. Because rounds are large, the per-output network fee is amortized across many participants, making Wasabi typically the cheapest per unit of anonymity set, though the coordinator fee is a fixed skim you cannot negotiate away.
    • Whirlpool/Ashigaru: fees are the difference between input value and output denomination, which implicitly includes the network fee; there is no separate coordinator fee, though the coordinator model means you pay whatever the pool mechanics charge. Remixing is cheap in fees but each round costs a transaction's worth of fees, so deep remix chains add up.
    • JoinMarket: pure market pricing. Takers pay makers a negotiated fee (orders specify rates), and makers compete, so fees can be lower than coordinator models, but illiquid periods or poor orderbook depth can spike costs. There is no coordinator skim, but you also get no coordinator service subsidizing anything.

    The practical takeaway: Wasabi is usually cheapest for large anonymity sets, Whirlpool's cost scales linearly with remix depth, and JoinMarket can be cheapest or most expensive depending on orderbook conditions at the moment you transact.

    Coordinator Trust: What Each Design Actually Requires You to Trust

    This is the axis where the protocols diverge most sharply:

    • WabiSabi requires trusting the coordinator with round construction. The cryptography prevents the coordinator from learning input-output mappings, in theory. But a malicious coordinator could theoretically refuse to include your output, attempt timing correlation across rounds, or be compelled by legal process to log registrations. Wasabi mitigates this by publishing coordinator source code and running the coordinator openly, but the trust is real. See our deep dive on coordinator trust.
    • Whirlpool's coordinator trust is narrower. Because all values are fixed and public, the coordinator learns almost nothing beyond participation, but it still controls round formation and could theoretically collude with a Sybil participant to shrink effective anonymity or time rounds. The Chaumian blind-signature construction means the coordinator cannot steal funds, only degrade privacy.
    • JoinMarket requires no coordinator trust at all. There is no central party to attack, subpoena, or manipulate. The tradeoff is that you must trust the makers you select not to leak information, though makers see only their own fragment, and you must trust the protocol implementation itself, since JoinMarket NG is a smaller codebase with a smaller audit trail than Wasabi.

    There is also a meta-level trust question: which software you run. Wasabi is a polished closed-source-adjacent wallet with a large user base; Ashigaru is Tor-only and purpose-built for Whirlpool; JoinMarket NG is a technical tool with minimal hand-holding. A supply-chain compromise in any of them defeats all the protocol-level analysis in this article.

    Denial of Service, Griefing, and Edge Cases

    Each protocol has characteristic failure modes:

    • WabiSabi: the coordinator is a single point of failure for round completion. If it goes offline, rounds stall; if it misbehaves, users can switch coordinators (Wasabi supports multiple). The credential system is designed to penalize non-signers and identify non-compliant inputs, but a determined attacker registering inputs and refusing to sign can degrade rounds, the protocol has penalty mechanisms, but they add latency.
    • Whirlpool: small fixed rounds mean a single non-signing participant stalls the entire pool. Whirlpool handles this by replacing non-responsive participants, but small pools are inherently more fragile than WabiSabi's hundred-input rounds.
    • JoinMarket: no coordinator means no coordinator-level DoS, but the orderbook can be thin. If makers go offline or fees spike, takers wait or pay more. Makers can also selectively refuse takers, creating a soft censorship surface.

    Legal and Safety Warnings

    CoinJoin is a legal gray area that varies dramatically by jurisdiction. In the United States, FinCEN has historically treated CoinJoin participation as potentially money-transmission-adjacent; other jurisdictions have moved to explicitly restrict or ban privacy-enhancing technologies. Using CoinJoin to obscure the proceeds of crime is illegal everywhere. Even for lawful use:

    • Some exchanges flag, delay, or refuse deposits that appear to come from CoinJoin transactions, check your exchange's policy before moving mixed coins.
    • Regulatory scrutiny of privacy tools has increased; assume any transaction pattern that looks like mixing will be visible to chain-analytics firms regardless of which protocol you used.
    • Only download these tools from official sources. Ashigaru and JoinMarket NG are distributed Tor-only partly because impersonators actively target these communities, fake versions have stolen funds before.
    • CoinJoin protects transaction linkage, not network-level observation, and not careless post-mix behavior. If you cash out to a KYC exchange from the same IP or timing pattern, the anonymity set you built is irrelevant.

    For a threat-model-driven guide to when CoinJoin is even the right tool, see how to spend bitcoin privately and our beginners guide to anonymity sets and legal risks. For wallet-level comparisons beyond the protocol layer, see the 2027 CoinJoin wallet comparison.

    Bottom Line

    WabiSabi is the most technically sophisticated design, arbitrary amounts, credential-based privacy, huge rounds, minimal toxic change, at the cost of trusting a coordinator and a more complex codebase. Whirlpool is the simplest and most auditable, with clean fixed-denomination anonymity sets that compound through remixing, but it leaks value through change and small rounds are fragile. JoinMarket eliminates the coordinator entirely and lets a market set fees, but its taker-maker asymmetry means the privacy guarantee is weaker and more dependent on how you use it. There is no universally "best" protocol, the right choice depends on your threat model, your technical comfort, and how much you value decentralization of trust over convenience and anonymity-set size.

    Author OnionInfoDesk
    CoinJoin Comprehensive Technical Guide: Protocol Mechanics and Implementations
    Inside the CoinJoin Round: Coordinator Trust and Anonymity Sets
    CoinJoin Wallet Comparison 2027: Wasabi, Ashigaru, Whirlpool, JoinMarket NG
    How to Spend Bitcoin Privately: CoinJoin Tools and Threat Models

    Comments 0

    Add comment