Tools/Explorers

Bitcoin Ecash Mints Compared: Trust, Privacy, and Setup

Compare Bitcoin ecash mint implementations by trust model, privacy guarantees, Lightning integration, operator setup, and backup mechanisms.

Spark Team

Ecash Mint Implementations at a Glance

Bitcoin ecash mints let users hold and transfer satoshis as blind-signed bearer tokens. The two dominant protocols are Cashu and Fedimint, but within each protocol multiple software implementations compete on features, language ecosystem, and production readiness. This guide compares the concrete mint software a prospective operator would run, not just the protocols themselves.

For a protocol-level comparison of Cashu and Fedimint, see the Cashu vs Fedimint protocol comparison. For a broader view of implementation differences, see the ecash implementation comparison.

Mint SoftwareProtocolLanguageTrust ModelLightning BackendDatabaseMaturity
NutshellCashuPythonSingle operatorLND, CLN, LNbitsSQLite, PostgreSQLReference impl, experimental
CDK mintdCashuRustSingle operatorCLN, LND, LNbits, LDK NodeSQLite, PostgreSQL, ReDBEarly development
MokshaCashuRustSingle operatorLNbitsSQLiteExperimental
GonutsCashuGoSingle operatorLNDSQLiteExperimental
FedimintdFedimintRustM-of-N federationCLN, LND, LDK (via gateway)RocksDBBeta, multi-implementation

All Cashu mints are single-operator systems: one party holds the private signing keys and the underlying bitcoin. Fedimint distributes both custody and signing across a quorum of guardians, so no single party can steal funds or censor transactions unilaterally.

Privacy Guarantees

Both protocols derive sender privacy from Chaumian blind signatures. When a user mints tokens, the mint signs a blinded version of the user's secret. After unblinding, the resulting token is valid but unlinkable to the minting event. The mint cannot connect issuance to redemption.

Cashu uses Blind Diffie-Hellman Key Exchange (BDHKE) on the secp256k1 curve. The mint holds a separate private key for each denomination (amount), and the user's secret is hashed onto the curve, blinded with a random factor, then signed. Fedimint uses threshold BLS blind signatures on the BLS12-381 curve, with the blinding distributed across guardians so that no single guardian sees the unblinded token.

In both systems, privacy depends on the anonymity set: the more users minting and redeeming tokens of the same denomination on the same mint, the harder it is to correlate specific transactions. A high-traffic Cashu mint may offer better privacy than a small Fedimint federation, and vice versa. Receiver privacy weakens when Lightning payments are involved, because the payment hash is visible to routing nodes in both protocols.

Operator Setup and Deployment

Running a Cashu Mint

A Cashu mint is a single server process that connects to a Lightning backend for minting (user pays a Lightning invoice to receive ecash) and melting (ecash is destroyed and the mint pays an outbound Lightning invoice). Nutshell, the Python reference implementation, runs as a standalone server with SQLite or PostgreSQL storage. CDK mintd, the Rust alternative built on the Cashu Development Kit, adds ReDB as a third storage option and supports a wider range of Lightning backends including LDK Node.

Setup is straightforward: install the software, configure a Lightning node connection, generate mint keys, and expose the mint's API endpoint. The operator is solely responsible for key security, backups, and liquidity management. Both Nutshell and CDK mintd warn that they are experimental and not production-ready for large balances.

Running a Fedimint Federation

Founding a Fedimint federation requires coordinating multiple guardians through a one-time setup ceremony. Guardians agree on federation parameters (name, guardian count, enabled modules), then each guardian exchanges setup codes with every other guardian. Distributed key generation produces threshold signing keys: no single guardian holds the full key.

The recommended minimum is 4 guardians, which tolerates 1 Byzantine fault. A 7-guardian federation tolerates 2 faults, and 10 guardians tolerate 3. As of Fedimint v0.12.0, the maximum guardian count is 19. Each guardian runs a fedimintd instance, and v0.12.0 added ARM64 Docker images so guardians can run on ARM hardware alongside x86 servers.

Lightning integration uses a separate gateway process that acts as an HTLC interceptor. The gateway has been tested with CLN, LND, and LDK. The LNv2 module, stabilized in Fedimint v0.5.0, makes Lightning payments atomic and trust-minimized within the federated model.

Deployment Comparison

DimensionCashu (Nutshell / CDK)Fedimint
Minimum operators14 (recommended)
Key managementSingle operator holds all keysThreshold keys via DKG ceremony
ConsensusNone (single server)Byzantine fault-tolerant consensus
Setup timeMinutes (single server)Hours (multi-party ceremony)
Lightning integrationBuilt into mint processSeparate gateway process
Fault toleranceNone: single point of failureTolerates minority guardian failures
Custom modulesProtocol extensions via NUTsPluggable module system
ARM supportPython and Rust run on ARM nativelyOfficial ARM64 Docker images (v0.12.0+)
Multi-implementationMultiple independent mintsThree codebases in one live federation

Token Portability and Interoperability

Cashu tokens are bearer instruments serialized as strings. The current standard is the V4 format (prefix cashuB), which is approximately 40% smaller than the deprecated V3 format (cashuA). Tokens can be shared via any text channel: messaging apps, QR codes, NFC, or email. However, a token is only valid at the specific mint that issued it. The V3 container format supported bundling proofs from multiple mints into one token string, but each proof still requires redemption at its originating mint.

Fedimint tokens exist within their federation's state and are not designed for cross-federation transfer. Users interact with their federation through a client that tracks balances internally. To move value between federations, users route through Lightning: melt ecash in one federation to pay a Lightning invoice, which funds a mint operation in the target federation.

Neither protocol supports true cross-mint portability. Lightning serves as the interoperability layer for both.

Backup and Recovery

Backup mechanisms differ fundamentally between the two protocols, reflecting their different trust models.

Cashu wallets hold tokens locally. If the device is lost and no backup exists, the tokens are gone. NUT-09 defines a signature-based restore mechanism where a wallet can derive its previous secrets from a seed phrase and ask the mint to re-sign any that are still unspent. This works only if the mint is cooperative and online.

Fedimint uses a guardian-assisted recovery process. The user's private key is encrypted with a secret salt, split into shards, and distributed across the federation's guardian servers. When a user loses their device, they verify their identity to the guardians. After a quorum confirms the identity, the shards are returned and the user reconstructs their credentials locally. No single guardian can read a user's data, and losing a minority of guardians does not block recovery. The tradeoff: recovery requires the federation to still be alive and a quorum of guardians to be reachable.

Can I Run My Own Ecash Mint?

Yes, but the operational requirements vary significantly by protocol.

For Cashu, running a mint is comparable to running a Lightning node with an additional application layer. You need a server, a Lightning backend (LND or CLN are the most common), and one of the mint implementations. Nutshell is the simplest to get started with since it has the most documentation. CDK mintd is a better fit for production-oriented operators who want Rust performance and broader backend support. The operator takes full custodial responsibility for all deposited funds.

For Fedimint, you need at least 3 other people willing to act as guardians. Each guardian runs their own fedimintd instance and participates in the setup ceremony. The coordination overhead is higher, but the result is a system where no single operator can run off with user funds. Community groups, Bitcoin meetups, and local organizations are the typical use cases for Fedimint federations.

In both cases, operators should understand that ecash mints are custodial systems. Users trust the mint (or federation) to honor redemptions. This is a fundamentally different trust model from self-custodial systems like Spark, where users hold their own keys and control their bitcoin directly.

How Do Ecash Tokens Compare to Spark Transfers for Privacy?

Ecash mints and Spark take different approaches to privacy. Chaumian ecash provides strong sender unlinkability within a single mint: the mint cannot connect who funded a token to who redeemed it. The limitation is that all participants must trust the same mint operator (or guardian federation), and the anonymity set is bounded by that mint's user base.

Spark is a self-custodial Layer 2 that holds bitcoin in threshold-signed VTXOs. Users control their own keys at all times. Transfers happen off-chain with instant finality, and stablecoins like USDB can be sent alongside bitcoin. Spark does not provide the same blind-signature unlinkability as ecash, but it eliminates the custodial trust requirement entirely.

The practical choice depends on priorities: ecash mints suit use cases where transaction privacy within a trusted community is the primary goal, while Spark suits users who refuse to give up custody of their funds but still want fast, low-fee transfers on Bitcoin.

Cashu NUT Specification Reference

The Cashu protocol is defined by numbered specifications called NUTs (Notation, Usage, and Terminology). Mints must implement all mandatory NUTs and can optionally support others. The specification set has grown to over 30 documents. Key NUTs include:

  • NUT-00: Cryptography, models, and token format (BDHKE on secp256k1)
  • NUT-01: Mint public key distribution
  • NUT-02: Keysets and fee schedule
  • NUT-03: Token swaps
  • NUT-04: Minting (Lightning invoice to ecash)
  • NUT-05: Melting (ecash to Lightning payment)
  • NUT-06: Mint information endpoint
  • NUT-07: Token state checks
  • NUT-09: Signature-based restore (wallet recovery)
  • NUT-10: Spending conditions
  • NUT-11: Pay-to-public-key (P2PK)
  • NUT-17: WebSocket subscriptions

Implementation support varies by mint software. Nutshell covers the broadest set as the reference implementation, while CDK mintd and others implement subsets based on their maturity. Operators should verify which NUTs their chosen software supports before deploying.

Frequently Asked Questions

What is a Bitcoin ecash mint?

A Bitcoin ecash mint is a server that issues blind-signed bearer tokens backed by bitcoin. Users deposit sats (typically via Lightning) and receive ecash tokens that can be transferred privately. When a recipient redeems the tokens, the mint pays out sats. The mint cannot link issuance to redemption due to the blinding step, which provides sender privacy.

Is Cashu or Fedimint better for privacy?

Both provide comparable sender privacy through Chaumian blind signatures. The practical difference is in the trust model: Cashu places full trust in a single operator, while Fedimint distributes trust across a guardian federation. Privacy quality in both systems depends on the size of the anonymity set, meaning how many users transact through the same mint. A high-traffic Cashu mint can offer better privacy than a low-usage Fedimint federation.

Can ecash tokens be transferred between different mints?

No. Ecash tokens are only valid at the mint that issued them. To move value between mints, users melt tokens at one mint (converting to a Lightning payment) and mint new tokens at the destination mint. This is true for both Cashu and Fedimint. Lightning serves as the interoperability bridge between mints and federations. For more on how Lightning bridges ecash systems, see our ecash on Bitcoin research article.

How many guardians does a Fedimint federation need?

The recommended minimum is 4 guardians, which tolerates 1 Byzantine fault. A 7-guardian setup tolerates 2 faults, and 10 guardians tolerate 3. The maximum supported count is 19 as of Fedimint v0.12.0. The guardian count determines the security threshold: a majority of guardians must agree to sign transactions, and losing a minority of guardians does not compromise funds or block operations.

What happens if a Cashu mint operator disappears?

If a Cashu mint goes offline permanently, all unredeemed tokens become worthless. The operator holds the underlying bitcoin, and there is no on-chain recourse for users. This is the core tradeoff of single-operator ecash: simplicity and low setup cost in exchange for full counterparty risk. Users should only deposit amounts they are willing to lose and prefer mints operated by known, trusted community members.

Are ecash mints custodial?

Yes. Both Cashu and Fedimint are custodial systems. The mint (or federation of guardians) holds the underlying bitcoin. Users receive bearer tokens that represent a claim on those funds, but they do not hold their own keys. This differs from self-custodial solutions like Spark, where users retain direct control of their bitcoin through threshold-signed UTXOs. For a comparison of custody models, see the self-custody vs custodial guide.

Which Cashu mint software should I run?

Nutshell (Python) is the reference implementation with the most documentation and broadest NUT coverage. It is the best starting point for new operators. CDK mintd (Rust) is better suited for operators who want lower resource usage and more Lightning backend options, but it has fewer production deployments. Gonuts (Go) and Moksha (Rust) are smaller projects with narrower feature sets. Regardless of implementation, all Cashu mints warn that the software is experimental and should not be used with large balances.

This tool is for informational purposes only and does not constitute financial advice. Ecash protocols are experimental technology. Data is based on publicly available documentation and specifications as of late 2026. Software maturity, feature support, and security properties change with each release. Always verify current capabilities against the official project documentation before deploying or depositing funds.

Build with Spark

Integrate bitcoin, Lightning, and stablecoins into your app with a few lines of code.

Read the docs →