Skip to content
Developer Handbook

Privacy

On this page

A confirmed payment is public. Its input identifies the UTXO it spends, and the two new UTXOs reveal their amounts and locking bytecode. Anyone can follow those links. A node can validate the payment without knowing who controls either key.

See what can be linked on-chain

When a wallet sends change back to the script of the UTXO it spent, anyone inspecting the transaction can link the two directly. HD wallets can derive fresh addresses for receiving and change to avoid repeating that script. Spending several UTXOs together in a later transaction can still link them. Common-input ownership and change detection are heuristics, and collaborative transactions can break their assumptions.

Try it on Mocknet. Broadcast the example payment in the Transaction Lab and open it in the explorer. Compare change output 1 with output 0 of the funding transaction. Both use the same address, so anyone can link the change to the address that funded the payment.

Track which UTXOs you spend together. A distinctive token category, NFT commitment, or public registration can also link separate payments, even when their addresses are fresh.

See what a server or peer can observe

An Electrum server sees the script hashes and subscriptions sent over one connection, and can associate them with connection metadata. TLS protects queries in transit while the server still sees them. A self-hosted index keeps those queries within your own infrastructure. Broadcasting also reveals the transaction to the peers or service that first receive it. Wallet sync · Transaction relay

Keep extended public keys, labels, and wallet logs private where possible. An account xpub can link its non-hardened derived addresses without access to the private keys.

Receive payments through a reusable code

A reusable payment address lets a recipient share a CashCode. The sender uses it to derive a fresh destination for a payment, and the recipient scans for payments it can recognize and spend. This reduces on-chain address reuse from publishing one receiving identifier. The payer still knows the payment it made, and the wallet needs compatible discovery and scanning. Reusable Payment Addresses specification

Understand collaborative spends

CashFusion lets multiple participants contribute inputs and outputs to a shared transaction while keeping control of their own keys. The transaction still publishes its inputs, outputs, and amounts. The protocol aims to make the correspondence between participants' inputs and outputs harder to infer. Later consolidation or address reuse can reveal some of those connections again. How CashFusion works · CashFusion specification