
Full recording, about 82 min. Plays from youtube-nocookie.com. Watch on YouTube
Jump to a chapter (23 chapters)
- Welcome and the plan: three live silent payments
- Why Bitcoin needs privacy
- Which wallets support silent payments?
- BOSS Challenge: Razor's story
- Live demo: sending silent payments from Cake Wallet
- Inputs, outputs and change on mempool.space
- "Where is my payment?" The receiver's side
- Muchai's TxProbe: a transaction through a chain analyst's eyes
- Spotting change: round amounts and the bigger output
- Fiat matching, and why you should add random sats
- Razor's deep dive: recap of part 1
- Indexers and scanners: why scanning is slow
- Scan key vs spend key
- What a first scan costs: 250,000 blocks, 15 GB
- Q&A: does a second wallet have to scan again?
- Tweak data: what an indexer precomputes
- Four ways to scan, and their trade-offs
- BlindBit Oracle, Frigate and GPU scanning
- Can you trust the indexer?
- The project map: where to contribute
- Quiz
- Where to start: Shroud indexer, BDK-SP
- Wrap-up and what's next
TL;DR
- Sending a silent payment is easy. Receiving is the hard part: nobody tells you that you were paid, so your wallet has to check every Taproot-era transaction to find yours.
- A silent payment address holds two keys. The scan key can only find payments, the spend key can move them. Hand a server your scan key and you lose privacy, never your coins.
- Most of the heavy maths is the same for everyone, so an indexer can precompute it (the “tweak data”). Then you choose who does the rest: your phone, your home server, or a public server.
- Silent payments stop address reuse, not every leak. Our live payment of exactly 6,000 sats was spotted as the payment in one look, because round amounts and the smaller output give you away.
Try it before next time0 / 4
New here? Read this first
- A normal address is like a public inbox. Post it once and anyone can look up every payment it ever got.
- A silent payment address (it starts with
sp1) can be posted anywhere, and every payment to it lands on a brand new address that nobody can link back to you. - The catch: because each payment lands somewhere new, nobody tells your wallet where to look. It has to search the blockchain for you. That search is called scanning, and it is what this session is about.
- Skip the maths if you like. Every part below starts in plain words and has a game you can play without any.
Mission board0 XP
Six badges to find your payments
Four mini-games from the call, a try-it checklist and a final quiz. Each one lights up a badge. Progress stays on this device and adds XP to your builder passport.
Highlights
1Why we bother
keypleb opened with a question: why does Bitcoin need privacy at all? Alex answered: everything on Bitcoin is public by default. Buy from a KYC exchange and your address is tied to your name, and from there anyone can follow what you pay for, even a hotel room. And if people know how much you hold, you risk the five dollar wrench attack (“with inflation it’s a 21 dollar wrench now”).
keypleb added a bigger idea from Jack Dorsey and Jeff Booth: if Bitcoin payments can’t be private, Bitcoin fails as money. That is also why a donation page should show a silent payment QR code, not a plain address, as Razor showed with a privacy project’s donation page in part 1.
Can everyone pay a silent payment address yet? No. The sender’s wallet has to support it. Someone looked it up during the call: BlueWallet can send to one but can’t receive yet. That gap is the job: “we are the builders of this privacy infrastructure.” Razor, who finished the BOSS Challenge, said it was hard, technical, and the best way to meet people doing real Bitcoin work. The next one has a waitlist.
2Three live payments, one chain analyst
keypleb sent three silent payments from Cake Wallet, a few dollars each, and we read them on mempool.space. The one to Alex used two of keypleb’s coins (11,655 and 4,251 sats) and had two outputs: 6,000 sats to Alex and 9,466 sats of change back to keypleb. On the explorer it looks like any Taproot transaction. That is the point: nothing says “silent payment”, and Alex’s address is never reused.
Then Muchai shared his screen. He built TxProbe, a tool that runs the same heuristics chain analysis firms use. He pasted our transaction and it guessed the change straight away. How? Two simple rules:
- Round numbers are human. People type 6,000, not 6,013. The round output is probably the payment, the odd one is probably change.
- Change is usually the bigger output. You tend to spend a coin larger than what you owe.
- And a third, from part 1: analysts also convert to dollars at the time of the transaction, so “exactly $10” is just as round.
The fix from the call: add a few random sats, like a tip. Or “use ecash, but that’s another topic” (it is the next one). Silent payments hide where the money went, not which output was the payment.
Mini-game 1 · Change detective✓ badge earned
Spot the payment, then hide it
This is the real transaction from the call. First, play the analyst: which output went to Alex?
Inputs (keypleb’s coins)
11,655 sats4,251 satsOutputs (tap the payment)
Fee: 440 sats. Look at the amounts.
Now you are the sender. Same coins, same fee. Change what you pay and which coins you use until TxProbe-style rules can’t tell. Get the privacy score to 80 or more.
Drag the slider.
3The receiving side: why scanning hurts
Then Alex asked the question of the day: “How do I know I received it?” His Cake Wallet showed nothing, even though the payment was sitting in the mempool. He found a setting in Cake’s Bitcoin settings to turn on silent payment scanning, with an option to start from a block height so the scan is shorter. Someone remembered from part 1 that some scanners only look at blocks, not the mempool. The transaction finally confirmed about 40 minutes later.
Razor took over. With a normal wallet you know which addresses to watch. With silent payments you don’t: for every eligible transaction your wallet must do an elliptic curve multiplication (slow maths) and check whether the result is yours. And you pay that cost even if nobody paid you, because you can’t know until you’ve looked.
To make this safer, a silent payment address carries two keys:
One address, two keys
Split the job: finding payments and moving them.
The first scan is the big one. Silent payment outputs are always Taproot, so a new wallet only has to go back to Taproot activation in November 2021. That is still about 250,000 blocks. A talk at btc++ in Berlin claimed about a second per block, and Razor’s numbers put the data from an indexer at around 15 GB for a phone. Luckily you only pay that once. Try it:
Mini-game 2 · The scan clock✓ badge earned
How long until your wallet finds your coins?
Pick when your wallet was created (its “birthday”) and who does the work. Find a setup that is ready in under a minute, after trying the worst one.
Rough numbers: 1 second per block on a phone, at least 10 times faster on a GPU (Razor’s estimate), about 60 KB of tweak data per block.
4Tweak data, indexers and scanners
Razor’s key insight: most of the maths is the same for everyone. To check a transaction, a receiver adds up the public keys of its inputs (A), multiplies by a hash of the inputs, and only then multiplies by their own scan key. The first part has nothing to do with you. That shared part is the tweak data, and a server can compute it once for everybody. A server that does that is an indexer.
Who does what
Splitting the work is safe because the maths splits cleanly.
public
no keys
scan key
spend key
bscan: your scan key, only you (or your scanner) have it
input_hash · A: the same for everyone, the tweak data an indexer precomputes
That also answered Andy’s question: if I make a second wallet, does it scan everything again? Yes, because it has a different scan key. But the expensive shared part can be computed once and reused, which halves the work. That is exactly what an indexer is for.
Then: four ways to scan. Each one moves the work, and your scan key, to a different place.
| Setup | Who holds your scan key | Effort | Privacy | Example |
|---|---|---|---|---|
| Phone + indexer | Only your phone | High: phone does the maths, downloads tweaks | Best | BlindBit Oracle |
| Home server | Your own computer | Setup once, phone stays light | Very good | BlindBit Scan |
| Public server | Someone else’s server | None | Weak: it sees all your payments | Public Frigate (Sparrow’s default) |
| Self-hosted scanner | Your own server | High | Very good | Your own Frigate, BlindBit Scan |
Frigate has a bonus: the per-transaction maths doesn’t depend on other transactions, so it runs in parallel, and GPUs love parallel work. Razor’s estimate: at least 10 times faster than a CPU.
Mini-game 3 · Key keeper✓ badge earned
Three people, pick each one’s setup
Match each person to the setup that fits them best.
Three to go.
5Can you trust the indexer?
One subtle problem: once you lean on an indexer, you have stepped a little outside Bitcoin’s rules. Your wallet can check that the transactions it gets are valid, but not that it got all of them. An indexer that leaves one out makes that payment invisible to you. One fix in progress is a silent payment index in Bitcoin Core that you could check against.
Mini-game 4 · The lying indexer✓ badge earned
Three people paid you. Your wallet shows two.
Your indexer quietly left one transaction out of its tweak data. What do you do?
Pick one. You can try them all.
Want to help? Razor closed with his map of the silent payments world. Every project on it is small and welcomes contributors. His tip: start with the Shroud indexer, or BDK-SP, where someone from this track has already sent a testing PR.
Razor’s project map
Pick a box, build the project, read the open issues.
Wallets and libraries
Show and spend what was found.
Key takeaways
- Silent payments move the work to the receiver. No notification, no interaction, so your wallet has to search. Faster searching is the open problem.
- Scan key finds, spend key spends. Every scanning setup is a choice about who holds your scan key. None should ever get your spend key.
- Set a wallet birthday. Telling your wallet when it was created turns days of scanning into seconds.
- Mind your amounts. Round numbers and a smaller payment output give the game away, silent payment or not.
Questions from the call, answered
Can I pay a silent payment address from any wallet?
No. The sender’s wallet must support BIP 352 to turn an sp1 address into a fresh Taproot output. Cake Wallet and Sparrow send and receive; BlueWallet can send but not receive (looked up live on the call). The full list is on silentpayments.xyz.
How do I know I received a silent payment?
Your wallet has to scan for it. In Cake Wallet, turn on silent payment scanning in the Bitcoin settings, and pick a start height close to when you created the address so it doesn’t scan from 2021.
Why didn’t Alex see the payment while it was in the mempool?
Some scanners also watch the mempool, others only look at blocks. If yours only reads blocks, an unconfirmed payment is invisible until it is mined. Alex’s took about 40 minutes to confirm. (Whether Cake Wallet should show it earlier is a fair question for its developers.)
If I make a second wallet in the same app, does it scan everything again?
Yes: a new wallet has a new scan key, and the scan is per key. But the expensive half, the tweak data, is the same for everyone, so a smart wallet (or an indexer) computes it once and reuses it for both keys. Razor didn’t know if wallets do that today.
Is giving a server my scan key like sharing my xpub?
Exactly. It can see every payment you receive, so you lose privacy, but it can’t spend anything.
Can a chain analyst tell it was a silent payment?
Not from the output: it is a normal Taproot output, and a new one every time. But the rest of the transaction still leaks the usual things: which output is change, and that the inputs belong to the same person.
Fact check: small fixes to what was said live
- Which inputs count? On the call, P2PK came up. BIP 352 actually uses public keys from P2TR, P2WPKH, P2SH-P2WPKH and P2PKH inputs. Other input types are skipped.
- How many blocks since Taproot? “At most 300,000” was the first guess. Taproot activated at block 709,632 in November 2021, so it is about 250,000 blocks, the number Razor used a minute later.
- Quiz: what does a remote scanner need? Your scan private key, as Razor corrected himself. Public keys are, well, public.
- Labels. Razor said that if you forget your labels you lose those addresses. More precisely: each label comes from your scan key plus a small number, so a wallet needs to know which numbers to look for. Back them up, or let the wallet search a range.
Word bank
Test yourself
Resources shared
Reading
- Silent Payments: Light Client Protocol, Delving Bitcoin: Razor's pick for developers: the trade-offs of building a light client that receives silent payments
- BIP 352: Silent Payments, Josie Baker and Ruben Somsen: the spec. Covers which inputs count, the counter for several outputs, and labels
- silentpayments.xyz: the map of every wallet, indexer and library, with how far along each one is
- Silent payment index (Bitcoin Core PR #28241), Sjors Provoost: adds a tweak index to Bitcoin Core, for light wallets and as a way to check an indexer did not leave anything out. Still open
Tools
- BlindBit Oracle: an indexing server: downloads blocks and serves the tweak data. Never sees your keys
- BlindBit Scan: a scanner you run yourself, for example on a home server. It gets your scan key but never your spend key
- Frigate, Craig Raw: the scanning server Sparrow uses by default. Easy, but a public one learns your scan key. Looking for contributors
- Shroud indexer: Razor's shout-out for where to start contributing
- sp-tweak-indexer: another tweak indexer from Razor's project map, written in Rust
- BDK-SP: silent payments for the Bitcoin Dev Kit. Experimental, and a contributor from our community already sent a testing PR
- TxProbe, Muchai: paste a transaction ID and see what a chain analyst sees: common inputs, change detection, address reuse, and a privacy score
- mempool.space: where we read the three live payments
Wallets
- Cake Wallet: sent all three demo payments. Receiving needs silent payment scanning turned on in the Bitcoin settings
- Sparrow Wallet: desktop wallet that sends and receives silent payments, scanning through a Frigate server
Code Orange
- Silent Payments part 1 recap: the sending side, built from scratch, with 4 more mini-games
- Privacy Track: every 1st and 3rd Tuesday. Next up: ecash and Fedimint
- BOSS Challenge: the deep end after Code Orange. Razor completed it; the waitlist for the next one is open
Also on the call: the idea (from Jack Dorsey and Jeff Booth) that without private payments Bitcoin fails as money; meeting Dan Gould of PayJoin at the Bitcoin Thailand conference; and Razor's Privacy Track leaderboard, where quiz points and real pull requests both count. Four PRs have come out of this track so far.
☰ Privacy Track playlist: all 4 sessions →
These notes are also on GitHub: code-orange-dev/session-notes. Free to share and reuse (CC0).