• Catalog
  • Blog
  • Tor Relay
  • Jabber
  • Secret Notes
  • Temp Mail
  • Get Tor Browser
  • Guides
    Bitcoin CoinJoin implementation guide comparing Wasabi, JoinMarket and Ashigaru wallets

    Bitcoin's ledger is transparent by design: every transaction is permanent, every address balance is public, and every heuristic link between your coins is visible to anyone willing to run analysis. If you want to actually spend bitcoin without exposing your financial history to your employer, your exchange, or a subpoena, you need a privacy technique, and CoinJoin is the most practical one that exists today. Unlike a custodial mixer, a CoinJoin is a collaborative transaction that combines inputs and outputs from many independent users inside a single, ordinary-looking Bitcoin transaction. No third party ever takes custody of your coins.

    This guide walks through every major CoinJoin implementation available in 2026-2027: Wasabi Wallet (WabiSabi), JoinMarket and its JoinMarket-ng successor, Ashigaru Whirlpool (the Samourai successor), plus PayJoin, CoinSwap/OpenSwap, and stealth-adjacent options. For each we cover how it works, exact setup steps, fees, privacy properties, and the failure modes that matter. We finish with a comparison table, honest recommendations by use case, and the legal and operational warnings that are not optional reading.

    What CoinJoin actually is (and what it is not)

    A CoinJoin takes inputs from many participants and produces outputs of equal or overlapping amounts inside one transaction. Because every input is signed by its owner and the transaction is valid only if all signatures are present, the coordinator, if there even is one, cannot steal funds or forge outputs. The privacy gain comes from ambiguity: an observer sees N inputs and M outputs and cannot tell which input paid which output. The strength of that ambiguity depends on the anonymity set, how many participants, how much prior mixing history the coins carry, and how distinguishable your outputs are.

    CoinJoin is not anonymity. It is not a mixer in the custodial sense, it does not hide that you participated in a coinjoin-like transaction (on-chain analysis can flag the pattern), and it does not protect you before or after the transaction if your operational security is poor. Chainalysis-style heuristics have specific signatures for each protocol, equal-denomination outputs for Whirlpool-style joins, near-equal output clusters for WabiSabi, round timing patterns, and exchanges have historically flagged or frozen coins with coinjoin history. Treat CoinJoin as one layer in a stack that includes careful UTXO management, Tor usage, and destination hygiene, not a magic shield.

    Wasabi Wallet, WabiSabi CoinJoin

    Wasabi is the most accessible CoinJoin implementation for non-technical users: an open-source desktop wallet (Windows, macOS, Linux) that automatically schedules and joins WabiSabi rounds. The WabiSabi protocol supports variable output amounts, which breaks the "equal outputs = coinjoin" fingerprint that plagued older fixed-denomination implementations, and it is designed so that an honest coordinator cannot link inputs to outputs, though the coordinator can deny service or censor specific coins.

    Step-by-step setup:

    1. Download Wasabi only from wasabiwallet.io (verify signatures where available) and install on a dedicated device or VM, see our guide on Tails and secure operating systems for why isolation matters.
    2. Create a new wallet and write down the seed on paper. Never enter it anywhere online. Wasabi supports BIP39 seeds and encrypted wallet backups.
    3. Fund the wallet. For meaningful privacy, fund it once with a larger amount (0.1 BTC or more is a common practice) rather than coinjoining many small deposits, which fragment your anonymity set.
    4. Go to CoinJoin → Wallets, select the wallet, and choose Coinjoin. Wasabi displays an estimated anonymity score, the coordinator fee policy, and the expected round time (typically 30-90 minutes).
    5. Since version 2.8, you can schedule a payment inside the coinjoin itself (the "music box" scheduled-send feature), which saves roughly half the fees and improves privacy versus coinjoining then spending separately.
    6. Let the round complete, then verify outputs in your wallet history. Re-mix periodically, Wasabi tracks a "coinjoin score" per UTXO, and spend to fresh addresses.

    Fees: As of Wasabi 2.2.0.0 the client refuses rounds that charge a coordination fee; you pay only mining fees for your block space, set by the coordinator's fee rate (default maximum 50 sat/vB). Third-party coordinators like Kruw run free or low-fee rounds. The dominant cost is your own mining fee, roughly a few dollars at typical fee levels, dramatically cheaper than custodial mixers.

    Privacy caveats: Coordinator trust is minimal but not zero, a malicious coordinator can fingerprint or refuse service, though Kruw-style coordinators mitigate this by rotating and by Wasabi supporting custom coordinators. Registering the same UTXO in multiple rounds, or coinjoining coins that later get KYC-linked at an exchange, erodes your set. Always strip metadata and avoid account linkage around the transaction.

    JoinMarket, the peer-to-peer taker/maker market

    JoinMarket is architecturally different from everything else here: there is no coordinator at all. "Makers" post liquidity offers on an order book (reachable over IRC-style messaging, now commonly through the Jam desktop UI or the joinmarket-ng Python implementation), and a "taker" assembles a coinjoin from multiple makers' UTXOs plus their own. Makers earn fees for their liquidity; takers pay those fees plus mining fees. Because offers are open, takers can be selective, and liquidity is fragmented across many participants rather than pooled in one round.

    Step-by-step (JoinMarket-ng, the current recommended implementation):

    1. Install joinmarket-ng from its GitHub repository (Python 3.11+, Tor integrated). Alternatively use Jam, the Qt desktop frontend.
    2. Sync a Bitcoin Core backend (or the lightweight Neutrino backend) and the wallet. Run jm-wallet info to verify confirmed, eligible UTXOs. Eligibility rules matter: the PoDLE commitment needs an eligible UTXO with at least 5 confirmations worth ≥20% of the join amount.
    3. Request offers: jm-orderbook lists makers with fees and liquidity. Filter by fee rate and fidelity bond, bonded makers have skin in the game and are less likely to grief rounds.
    4. As a taker: jm-taker coinjoin --amount AMOUNT_SATS --destination INTERNAL. Review the maker/fee preview carefully, then confirm. Do not use --yes on your first run.
    5. After broadcast, wait for confirmation and check jm-wallet history. If the process dies mid-round, check whether the transaction broadcast before retrying, partial states can strand fees.
    6. As a maker (advanced): jm-maker earns fees by signing for takers' rounds. This deepens the liquidity pool but requires your node to stay online and exposes your UTXO set to potential analysis.

    Fees: Market-driven. Maker fees are typically fractions of a percent of the joined amount; total cost including mining fees is usually comparable to or slightly above Wasabi, but you gain finer control, you can reject high-fee offers, require bonded makers, or split joins across many small makers for a larger effective anonymity set.

    Privacy caveats: JoinMarket's maker-taker structure means your coins mix with coins that may themselves be fresh, un-mixed deposits, good for entropy, but each maker sees only their own inputs. The order book reveals fee preferences and liquidity depth. Because there is no coordinator to enforce equal outputs, JoinMarket rounds are harder for naive heuristics to fingerprint, but sophisticated analysis can still infer structure. JoinMarket is the choice for users who want maximum configurability and are comfortable on the command line.

    Ashigaru Whirlpool, the Samourai successor

    In April 2024 US authorities seized Samourai Wallet's servers and charged its founders; both pleaded guilty in July 2025 and were sentenced in November 2025 (five and four years respectively). Samourai's Whirlpool coinjoin coordinator died with it, but an anonymous team, the Ashigaru Open Source Project, forked Samourai's codebase and relaunched a Tor-only Whirlpool coordinator in June 2025. Ashigaru runs two products: Ashigaru Mobile (a Samourai fork for Android requiring your own Dojo backend) and Ashigaru Terminal (a desktop TUI forked from Sparrow, released v1.0.0 in June 2025, updated to v1.2.0 of the mobile wallet by late 2026).

    How it works: Whirlpool is a fixed-denomination ZeroLink-style protocol. You initiate a Tx0 transaction that breaks your coins into pool-denomination UTXOs (e.g., 0.1, 0.05, 0.01 BTC pools), enter the premix account, and the coordinator mixes your UTXOs with other participants' in cycles of equal outputs. After enough mixes you reach the postmix account with forward privacy (future spends unlinked) and backwards privacy (deposit unlinked from postmix).

    Step-by-step:

    1. Install Ashigaru Terminal (desktop) or Ashigaru Mobile (Android APK distributed by the project, verify the source; it is not on Google Play).
    2. Create or restore a wallet. Ashigaru works best with Sparrow, Ashigaru Mobile, or Samourai-derived wallets because Whirlpool uses specific BIP44/84/49 derivation paths.
    3. Fund a Tx0: send coins to the wallet, then use the Tx0 tool to split them into pool denominations. Tx0 carries a coordinator fee, Ashigaru charges 5% of pool size at entry; remixing within the pool is free.
    4. Enter the premix account, then run mixes through Ashigaru Terminal until you reach your target anonymity depth (typically 2-3 mixes per pool).
    5. Spend from postmix using Sparrow or Ashigaru Mobile, which understand Whirlpool account structure. Ashigaru Terminal itself only broadcasts Tx0 and mix transactions, it deliberately cannot make ordinary spends.

    Fees: 5% coordinator fee on Tx0 pool entry is significant, on a 0.5 BTC deposit that's 0.025 BTC before mining fees. Factor this into cost comparisons; Whirlpool's fixed denominations also create "toxic change" (remainder UTXOs that didn't fit the pool) which can leak linkage.

    Privacy caveats and legal reality: Ashigaru is Tor-only with identity isolation between session stages, architecturally stronger than Samourai's clearnet coordinator was. But the legal landscape is the elephant in the room: the US government prosecuted Samourai's founders for operating a money transmitting business, and Ashigaru's anonymity means its operators' legal exposure is unknown but plausibly similar. Coins from old Samourai pools cannot be verified by Ashigaru and must re-enter via new Tx0s. Users should understand that running or heavily using a coinjoin coordinator carries real legal risk in some jurisdictions, this is a fact, not speculation, given the Samourai precedent.

    Other implementations worth knowing

    PayJoin (BIP78): A two-party protocol where sender and receiver combine inputs in a single transaction that looks like a normal payment. Both parties gain some ambiguity, and the sender pays only ~210 vBytes instead of a full coinjoin's ~650. The catch: your counterparty knows exactly which inputs are yours, payjoin provides confidentiality against third parties, not against the receiver. Supports exist in Wasabi, Sparrow, BTCPay Server, and Bull Bitcoin's wallet. Best used opportunistically when your payee supports it.

    CoinSwap / OpenSwap: Two or more transactions that look like independent payments but actually swap coins via HTLC or PTLC locks. The privacy argument is strong, swaps are indistinguishable from payments, unlike coinjoins which have detectable patterns, and CoinSwap v0.2.2 added multi-transaction swaps with deniability proofs. Trade-offs: more complex, requires a swap server or counterparty, and uncooperative counterparties can grief (though locks refund you). Best for high-value privacy where coinjoin fingerprints are unacceptable.

    Whirlpool standalone / other forks: The original Whirlpool code is open; forks and alternative coordinators exist but liquidity is thin compared to Ashigaru's relaunch. Ginger Wallet is a Wasabi/WabiSabi fork with mobile support. BTCPay Server supports payjoin for merchants. For most users, the four implementations above cover the realistic option space in 2027.

    Comparison table

    ImplementationProtocolCoordinatorCoordination feePlatformAnonymity modelBest for
    Wasabi WalletWabiSabiThird-party (Kruw etc.), TorNone (mining fees only)Desktop GUIVariable outputs, round-basedBeginners, scheduled payments
    JoinMarket-ng / JamMaker-taker marketNone (P2P)Market maker feesCLI / desktop UIFragmented liquidity, configurableAdvanced users, fee control
    Ashigaru WhirlpoolZeroLink / WhirlpoolAshigaru (Tor-only)5% of Tx0 poolMobile + desktop TUIFixed denominations, cycle remixMax anonymity-set depth
    PayJoin (BIP78)Two-party joinNoneNoneWallet-dependentConfidentiality onlyRoutine payments
    CoinSwap/OpenSwapHTLC/PTLC swapsSwap server or P2PServer feeCLI / integrationsPayment-indistinguishableHigh-value, fingerprint-sensitive

    Step-by-step: a complete CoinJoin workflow

    Whatever implementation you choose, the operational sequence is the same:

    1. Threat-model first. Decide what you're hiding (amount, counterparties, timing, source of funds) and from whom (exchange compliance, chainalysis, a specific adversary). CoinJoin answers only some of these questions.
    2. Isolate. Use a dedicated device or VM, Tails is the standard recommendation, with Tor enforced. See our Tor browser guide and VPN vs Tor analysis if you're unsure about network layers.
    3. Acquire coins carefully. Where the coins come from matters as much as how you spend them. A KYC exchange withdrawal is a known-identity UTXO; coinjoining it helps break forward links but the entry point is already tagged. Prefer non-KYC acquisition (peer-to-peer, mining, gifts) or accept that the first hop is compromised and focus on forward privacy.
    4. Consolidate before mixing. One large coinjoin of a consolidated UTXO beats five small ones, each round has fees and each small output shrinks your anonymity set.
    5. Mix to sufficient depth. Two to three remix cycles is the practical minimum; Wasabi's score and Whirlpool's pool depth both measure this. More depth costs fees and time with diminishing returns.
    6. Spend cleanly. Send to fresh addresses, avoid address reuse, don't broadcast from an IP linked to your identity, and never paste destination addresses into logged-in web wallets simultaneously. Our wallet security guide covers the surrounding hygiene.
    7. Repeat periodically. Anonymity decays, new chain analysis, exchange deposit flags, and timing correlation all erode past work. Treat coinjoin as maintenance, not a one-time fix.

    Recommendations for 2027

    For most users: Wasabi Wallet. Lowest friction, no coordination fees, variable outputs, active development, and the scheduled-payment feature makes it practical for real spending. Point it at reputable coordinators and keep the machine on Tor.

    For privacy maximalists: Layer Ashigaru Whirlpool for deep fixed-denomination remixing (accept the 5% entry fee as the price of the largest structured anonymity set) with CoinSwap for payments where coinjoin fingerprints are unacceptable. JoinMarket-ng sits between, more control, more effort.

    For routine payments: PayJoin wherever the counterparty supports it, it's cheap, fast, and better than nothing, then Wasabi for anything sensitive.

    Legal warning, read this twice: CoinJoin itself is legal in most jurisdictions as a self-custody privacy technique, but the Samourai prosecution established that operating mixing infrastructure can be charged as unlicensed money transmission, and some exchanges treat coinjoined coins as high-risk regardless of legality. Never use coinjoin to launder criminal proceeds, that converts a privacy tool into evidence of conspiracy. Consult a lawyer familiar with digital-asset regulation in your jurisdiction before using these tools for anything beyond personal privacy. For darknet-market-specific payment hygiene, see our darknet Bitcoin privacy guide and the BTC vs XMR payment comparison.

    External references

    • Wasabi Docs, CoinJoin / WabiSabi protocol: docs.wasabiwallet.io
    • JoinMarket-ng documentation and protocol spec: joinmarket-ng.github.io
    • Ashigaru Open Source Project, Whirlpool coordinator announcement: ashigaru.rs
    • Peter Todd, "How Good Are The Widely Used Coinjoin Implementations?" (2025): petertodd.org
    • US IRS Criminal Investigation, Samourai founders sentencing release (Nov 2025): irs.gov
    • Bitcoin Optech, Coinswap topic: bitcoinops.org

    Disclaimer: This guide is educational, not legal or financial advice. CoinJoin implementations change frequently; verify current versions, fees, and coordinator policies before use. Privacy tools reduce but never eliminate risk, operational security is your responsibility.

    Author OnionInfoDesk
    Bitcoin privacy, CoinJoin and mixing best practices
    How to spend Bitcoin privately: threat-model guide
    Bitcoin privacy tools fee comparison 2026
    Lightning Network technical guide 2027

    Comments 0

    Add comment