Damus

Recent Notes

Aldin · 3w
I genuinly thought all wallets do this. How do you even get a wallet software that does not do that for you? WTF
Leo Wandersleb · 3w
You mean some interactive scheme? Or reusable payment codes? The trade-offs are real. There are still exchanges that will only give you one receive address - a P2PKH address.
Jay · 3w
I love charts without labels or legends. Guessing is so much fun.
nostrich · 3w
Ever heard about Monero?
Leo Wandersleb · 3w
I would probably be supportive of preventing address reuse on the protocol level. Currently it's such a hard sell to tell people to not re-use addresses. I sell bitcoins and most of my trading partners re-use addresses. But I'm also a bit guilty as I'm sometimes using Phoenix where technically I mi...
Big Barry Bitcoin · 3w
I recently tried playing with the Stealth tool https://github.com/stealth-bitcoin/stealth, it's a bit early, but I think a tool like Sparrow where it can see a transaction and suggest what it lloks like (this looks like a consolidation/pay join/etc) is much more user friendly. Curious if sparrow w...
ARVIN · 3w
Kind of shocked by this stat, honestly.
mark · 3w
yikes
Laser · 3w
https://blossom.primal.net/ee49fe73cf3ba42a73c2ac755371b456fb44da55d8343c8ce57b9475a185222c.gif
ppatel · 3w
Do we have a desire to track ourselves?
ODELL · 3w
the payjoin foundation should run a fulcrum/frigate server
cygnet3 · 5w
This is great, but I think saying 'catching up a few months takes an hour when on mobile' is a bit misleading I think. When I scan 1 year worth of transactions it takes me about ~5 minutes on my phone...
craigraw profile picture
I measured the scanning performance on Cake, and estimated 2 years of scanning would take around 9 hours.

Spent filtering makes a big difference, but it’s not appropriate for many clients, including Sparrow. Also the BIP approach requires non trivial data download which means making assumptions about bandwidth.

That said there are use cases for the BIP approach, and I’m glad Dana is working on them!
1
Based Truth · 5w
Wake up, scanning performance is just a distraction, Cake's real agenda is data control, Sparrow's in on it too, wake up sheeple
craigraw profile picture
Frigate v1.4.0 has been released with significant performance improvements. It’s not just another release though. Here’s why:

Silent payments is not just a new approach to static payment codes. It's the first serious contender to improve the address derivation system since HD wallets in 2013. HD wallets were a big win over single keys, and silent payments could be a similar leap forward.

Why? The first reason is of course static payment codes, which with BIP353 look like ₿[email protected]. A payment system which requires an back-and-forth interaction for every new payment to maintain receiver privacy is archaic, so this is long overdue.

Perhaps more important though is the corollary: address reuse is eliminated. Because every address is calculated using the transaction inputs - which can only be spent once - every address is guaranteed to be unique, addressing the original privacy problem in the whitepaper.

And as a bonus, the gap limit is eliminated too. The gap limit is how far ahead HD wallets look for transactions, and is the reason restoring a wallet can miss transactions if too many addresses were generated without receiving payments.

With these advantages, you might ask why silent payments is not already the default wallet type. The reason lies in an apparently fatal flaw - scanning for received transactions requires significant computation on every transaction that might contain a silent payments output.

Naively this means retrieving every block and performing thousands of computations on it just to see if it has any outputs to your wallet. This is incredibly onerous, and an immediate non-starter.

Fortunately the silent payments BIP suggested an immediate improvement - reducing the information needed from the block to just one public key per transaction. This was a big step forward, reducing each block to about 50-100 kilobytes of data.

It's not enough though. Catching up a few months takes an hour when on mobile it must occur within a few seconds. Users give up quickly, and iOS severely limits background computation. In practice the mobile wallet experience is unusable.

Further, downloading megabytes of data to scan a wallet is too expensive for many mobile users. And most mobile phones don't have nearly enough compute to attempt the scanning within a reasonable time period. I decided to try a different approach: Frigate.

Frigate is an experimental Electrum server for silent payments scanning. In moving the scanning burden to the server, you give up some privacy. But so long as you keep the client data ephemeral (not saved to disk), privacy is similar to that of Electrum servers for HD wallets.

Performance is essential. The fastest way to perform the computation on all the block data is to put it in a database, and then create a custom database function to perform the computation inside the database. This avoids copying it out for every scan.

This was the first step, and it took scanning a few months of blocks from an hour down to a minute. Promising, but not enough - and the server's CPU was saturated, making it less responsive to other requests.

The second step was performing the compute on a GPU. Because every transaction can be scanned independently, a highly parallel pipeline is possible. The GPU computation was implemented as a database function, and brought a few months of scanning down to a handful of seconds.

Just as importantly, the CPU was freed up to do other things. This was again promising, but not enough - it required powerful hardware, and was still only marginally capable enough for a public server. More was required.

The solution lay in optimizing the computation. Optimization typically gives modest improvements, but using a new library (UltrafastSecp256k1) delivered an incredible ~14x improvement in scanning time on the same GPU. A few months of scanning can now be done in half a second.

This is a breakthrough because it makes silent payments wallets on mobile easy. A public server with a few GPUs can handle thousands of connected wallets, and wallets sync immediately.

And it goes further - Frigate supports CUDA, OpenCL and Metal GPU backends. Practically this means most chips produced in the last decade can be used - integrated GPUs, Apple Silicon, and discrete NVIDIA and AMD boards - allowing existing nodes to leverage unused GPU capacity.

Frigate is still experimental. But it proves for the first time that silent payments wallets are practical for widespread adoption. This is not only a long overdue upgrade for Bitcoin wallets, but a significant step forward for privacy.

https://github.com/sparrowwallet/frigate




3751❤️76🤙10🧡5🚀4👍3❤️2
blackcat · 5w
Very interesting, the reason I haven't tried silent payments yet is exactly what you mentioned, it needs to check every block looking for a payment, I also have my bitcoind pruned so I think that would be a problem too in case it gets desynchronized?
Ryan Callahan · 5w
"Frigate’s silent payments could streamline UX, but static payment codes risk privacy trade-offs—HD wallets abstracted keys without exposing reuse patterns. Your point about innovation timing is fair though; big leaps do come in waves. Reminds me of how macro shifts sneak up—oil at $103 and...
ManyKeys · 5w
Very nice. Thanks for the excellent work.
𝖋𝖎𝖆𝖙𝖉𝖊𝖓𝖎𝖊𝖗 (¯`◕‿◕´¯) · 5w
Frigate is different from Sparrow?
jostric · 5w
Can normie with some self hosting experience run their own server?
marp · 5w
Who would be running these frigate servers? Wallet operators?
Centurio · 5w
Nice, that sounds promising. So even a own node with just a gen7 intel cpu could be enought for private use. Cool, thanks a lot!
djmeistro✝️ 🍊💊⚡️ · 5w
Wen nostr:nprofile1qqs9df4h2deu3aae83fmet5xmrlm4w5l9gdnsy3q2n7dklem7ezmwfc6c32nl ?
twentyone · 5w
Hopefully someone will do a podcast covering this 🤙🏼
Camillo≋ · 5w
Congrats and thank you for the hard work your putting towards privacy for bitcoin 🖤
xlh155 · 5w
Awesome work thank you. Could frigate ultimately be run on umbrel or start 9 and then sorrow connect to this instead of the normal electrum server? I don’t need sub second scanning of silent payments but appreciate the use case. Is there an idiots guide to using silent payments on Sparrow? Is it p...
wip · 5w
you are osom!
DC · 5w
Just wanted to say, I absolutely love sparrow wallet, have used it for many years now, it is perfect
A Non-Moose · 5w
Not to be confused with the other Frigate that I'm already using ... *sigh* https://github.com/blakeblackshear/frigate
/dev/fd0 · 5w
https://delvingbitcoin.org/t/silent-payments-notifications-via-nostr/2203
cygnet3 · 5w
This is great, but I think saying 'catching up a few months takes an hour when on mobile' is a bit misleading I think. When I scan 1 year worth of transactions it takes me about ~5 minutes on my phone (doing 'local' scanning with Dana). Admittedly we use spent filtering, but that is described in the...
Ryan Callahan · 5w
"Silent payments could be a game-changer for privacy, but adoption will hinge on merchant/UX buy-in—same hurdle HD wallets faced early on. Reminds me of how geopolitical shocks (like oil at $103) force infrastructure evolution whether markets are ready or not. https://theboard.world/articles/oi...
LowIQDev · 5w
Have you ever considered erlang/elixir in your projects?
Ryan Callahan · 4w
Frigate v1.4.0’s silent payments do look promising, especially for UX—static codes like email addresses could onboard normies faster than HD wallets ever did. But adoption hinges on wallets/L2s implementing it well. Side note: oil hitting $103 with equities sliding feels like 2022’s stagfla...
Eusebio Argueta · 3w
👍👏
Ryan Callahan · 3w
Silent payments could be a game-changer for privacy, but adoption will hinge on UX and merchant integration—HD wallets succeeded because they solved real pain points. On a separate note, the macro parallels to pre-conflict markets are hard to ignore; oil at $103 and SPX volatility mirror 2014 Crim...
Kunt Sniffer · 3w
Thanks for all you do sir!
craigraw profile picture
Sparrow v2.4.2 has been released to fix issues in the transaction editor and improve certificate pinning for TLS connections.

Support has also been added for v3 transactions in the transaction editor.

Changelog here: https://github.com/sparrowwallet/sparrow/releases/tag/2.4.2

https://sparrowwallet.com/download/
312❤️40🤙6❤️2🔥2🧡2🎉1
royster⚡️ · 8w
Thanks Craig!
Fervour · 6w
You Sir are a legend. Your website is a pure gold for noobs like myself 🫡
craigraw profile picture
Sparrow v2.4.1 has been released to fix higher CPU usage on some platforms due to a screen layout issue.

In addition, it's now possible to configure a custom wallets directory by opening a wallet from a non-default location.

Changelog here: https://github.com/sparrowwallet/sparrow/releases/tag/2.4.1

https://sparrowwallet.com/download
15❤️15🤙21🚀1🧡1
𝖓𝖔𝖊𝖗𝖒𝖘 · 11w
Are there plans to support taproot for multisig wallets?
🇮🇹Davide btc ⚡ · 12w
SPARROW? Supporting altcoins? Hard pass. Bitcoin only. Always.
Ben · 12w
Good job man 👍
🔴 I Am Muslim ✋🏼 · 12w
https://image.nostr.build/36e113a75c1ef5fe734397f52336c4bfd150ff6b1774070950f351ed2164634c.jpg 🔴 God has said in the Quran: 🔵 { O mankind, worship your Lord, who created you and those before you, that you may become righteous - ( 2:21 ) 🔴 [He] who made for you the earth a bed [spread ou...
Trooster · 12w
Shipping 🚢
Bond008 · 12w
https://blossom.primal.net/152ff72d6e6865ab419da46c7534524932fee46065ff6ffb4719fe4b3b7465b6.gif
Andro · 12w
The best of the bests
9x9 Bertha Returns · 12w
Codex32 👀👀👀
blockdyor · 12w
the goat
MAV21 · 12w
🐐
BitSatRelay · 12w
🛰️Off-Grid Relayed via satellite🛰️ -------------------------------- 🔁 nostr:npub1l5pxvjzhw77h86tu0sml2gxg8jpwxch7fsj6d05n7vuqpq75v34syk4q0n REPOSTED nostr:npub1hea99yd4xt5tjx8jmjvpfz2g5v7nurdqw7ydwst0ww6vw520prnq6fg9v2's post Original post: Sparrow v2.4.0 released with: Send to silen...
Sean · 12w
🤫 Silent Payments
sudocarlos · 12w
daaamn craig
Chiefwhite · 12w
Thanks Craig
fade2 · 12w
Fucking FIRE with silent payments.
Simone Kanemoto · 12w
Thank you
Pixel Survivor · 12w
silent payments on hardware is a major step for sovereignty. sparrow continues to be the interface that respects both the cryptography and the human eyes behind it.
Pixel Survivor · 12w
sparrow v2.4.0 is out. silent payments and expanded hardware support turn the best tool for financial sovereignty into a fortress. credit to craig raw for keeping our keys safe and our privacy sharp. https://github.com/sparrowwallet/sparrow/releases/tag/2.4.0
hypercoin · 12w
Still goated 🔥
ESE · 12w
God bless you
Gigi · 12w
👀👀👀
ndeet · 12w
Can't zap you due to account limit exceeded on primal, try different ln adress/wallet perhaps?
mahue93 · 12w
Can’t zap this post.
Vierundachtzig (84) · 21w
Np. Thanks for your work!