Real World Ecash Privacy

3 years of Fedimint in the wild

elsirion@protonmail.com

btc++ Seoul · Nov 6

Central promise

Even the mint can't link your payments.
transaction blind signatures Federation transaction log timespentissued (blinded) 10:32:071024·64·8512·256·256·64·8 10:32:412048·161024·1024·16 10:33:02128·32·464·64·32·4

Blind Signature Ecash

Federation X ₿ Federation spend book 7c1e…✓ b04a…✓ 3f9d…✓ blind(3f9d…) ① blinded note + ₿ sig(blind(3f9d…)) ② blind signature ③ unblind → sig(3f9d…) can't link 3f9d…, sig(3f9d…) ④ redeem ⑤ pays out

Still public: amounts time entries & exits

Amount Privacy

10,000,000 msat = 10,000 sat 8 notes 2²³ 8,388,608 2²⁰ 1,048,576 2¹⁹ 524,288 2¹⁵ 32,768 2¹² 4,096 2¹⁰ 1,024 2⁹ 512 2⁷ 128 52 notes ≥2 per tier 2²¹ 2²⁰ 2¹⁹ 2¹⁸ 2¹⁷ 2¹⁶ 2¹⁵ 2¹⁴ 2¹³ 2¹² 2¹¹ 2¹⁰ 2⁹ 2⁸ 2⁷ 2⁶ 2⁵ 2⁴ 2³ 2² 2¹ 2⁰ One Anonymity Set Different Anonymity Sets

Requirement: unlinkable connections

Federation X ₿ Federation spend book 7c1e…✓ b04a…✓ 3f9d…✓ can't link connection 1 connection 2

Tor Mixnets Iroh Relays CG NAT IP changes

Transaction Log

transaction blind signatures Federation transaction log PUBLIC timespentissued (blinded) 10:32:071024·64·8512·256·256·64·8 10:32:412048·161024·1024·16 10:33:02128·32·464·64·32·4

Fedimint Observer

Analytics & data science for Fedimint

observer.fedimint.org

Fedimint Observer home page: 18 federations, 1.18M transactions, activity charts per federation

The dataset

80

federations

18 public

463k

user transactions

1.65M Fedimint transactions

≈24k

wallets holding notes

Probe payments (102,500 / 102,300 msat) excluded · wallet count simulated from note pools

Methodology

Measuring a crowd

Your crowd is your rarest note

\[\mathrm{crowd}(tx) = \min_{D\,\in\,\mathrm{spent}(tx)} N_D\]

A note of denomination $D$ hides among all $N_D$ notes of $D$ in circulation

8 sat N = 9,412 64 sat N = 3,180 1,024 sat N = 410 65,536 sat N = 23 transaction 66,000 sat LN 632 sat change N = 23 crowd = 23

Part 1

What works

Everyday payments hide among thousands

Bars: all federations. Dots: the 8 largest.

Do abandoned wallets inflate the crowd?

months ago 30 days ago spend
all notes of $D$: $N_D = 26$
dormant
active: $N_D = 20$

Measured: crowds shrink by ≤1.3× (≤0.4 bits)

Part 2

What leaks

The crowd shrinks with the amount

Share of spends with a crowd under 10: 0.2% · 2.6% · 7.9% · 19% · 57%

Crowd under 10 in a public mega-federation: 0.04% · 0.07% · 0.09% · 1% · 19%

The crowd shrinks with the amount

Simulated: client note rules replayed on each federation's history, fitted to its note pool. Estimates, ±15% for wallets, ±30% for the "can pay" shares.

Time and Amount Correlation

time +1M −1M +1M +1M +1M −1M
$P = 1$
$p_i \propto w(\Delta t_i)$
$\mathrm{crowd} = 1$
$\mathrm{crowd} = 2^{H(p)} \le 3$

Time and Amount Correlation

Inflow amount within +1% of the outflow, same federation, completed LN only, ≥1k sat

Edge Leaks: Lightning

Federation A Federation B Gateway Lightning Network Fedimint Observer sees Gateway also sees 7c2e… · 50k · 14:02 7c2e… · 50k · 14:02 same hash in A's and B's log → A paid B 50k at 14:02 8,505 such pairs matched the invoice and its memo 9a41… · 20k · 14:30 A paid 20k at 14:30 via this gateway hash matches every Lightning hop recipient node the invoice and its memo

Edge Leaks: On-Chain

Depositor Federation A Recipient Fedimint Observer sees Chain observer sees peg-in tx e555… · 450k · 14:02 which Bitcoin tx paid in, 450k at 14:02 → ties the depositor's coins to A 1,530 peg-ins observed address associated with federation peg-out tx bc1q… · 120k · 14:30 withdrawal address, amount, fee → ties that address to A 3,093 peg-outs observed change back at a fixed output → A's wallet is easy to follow

Recap

Part 3

Ecash and CoinJoins

Ecash vs CoinJoin

Fedimint (median)Wasabi 2JoinMarket
Small amounts≈1,000 walletsnot economicalnot economical
100k–1M sat≈10 wallets≈5–14 after 3 rounds≈7
1M+ sat≈4 wallets≈5–14 after 3 rounds≈7
Trustcustodial
t-of-n security
coordinator
never holds funds
peer to peer

Anonymity set in participants. Fedimint: median crowd ÷ ≈2.2 notes per wallet. CoinJoin: P. Todd 2025; JoinMarket-NG 2026.

Ecash vs CoinJoin

CoinJoin
Ecash
Trustless → liquidity
Custodial → less liquidity
Not economical for small payments
Perfect for day-to-day payments
Needs continuous CoinJoins to grow the anon set
Anon set improves automatically
Leaves toxic change
Can recycle toxic change
CoinJoins and Ecash
complement each other!

Part 4

Improving Ecash

Improving Ecash: Hidden Amounts

transaction inputs outputs
$2^{23}$
$2^{20}$
$2^{19}$
$2^{22}$
$2^{22}$
$2^{20}$
$2^{19}$
$\Sigma = 2^{23} + 2^{20} + 2^{19}$
$\Sigma = 2^{22} + 2^{22} + 2^{20} + 2^{19}$
$=$
$\mathrm{blind}(\mathit{in}_1)$
$\mathrm{blind}(\mathit{in}_2)$
$\mathrm{blind}(\mathit{out}_1)$
$\mathrm{blind}(\mathit{out}_2)$
attached proof
$\mathit{in}_1 + \mathit{in}_2 \ge \mathit{out}_1 + \mathit{out}_2$, every amount $\ge 0$

Hidden amounts: how much bigger is the crowd?

Median crowd in wallets. Today: measured (notes ÷ 2.2). Hidden: measured × simulated ratio. Exit line: earlier deposits ≥ the amount, whole history.

Improving Ecash

Blind signatures work.
The edges leak.

Privacy comes from
money at rest.

elsirion@protonmail.com

Questions?