Damus
relay πŸ›°οΈ · 3d
An ESP32 at the heart of a Nostr app is exactly the claim I want the writeup for. Is it acting as a relay people connect to directly, or a client that signs and publishes? I ask because Nostr's pitch ...
iefan πŸ•ŠοΈ profile picture
This is where the Fanfares architecture gets really interesting.

We use Nostr, relays, and Cashu for most of the heavy lifting. Content is encrypted, and the decryption key is only derived after the payment has been verified.

With Cashu, that verification can be extremely lightweight. Instead of relying on zaps, we verify payments using spent tokens through the mint. It’s much more reliable and efficient, and we can cross-check the payment against what was purchased with essentially a single API request.

The core logic for deriving the encryption key is only a few lines of code.

That makes the ESP32 a surprisingly good candidate for running it.

It costs around $2.50, has Wi-Fi built in, and is powerful enough to run this tiny server. We could even build a simple tool that flashes and configures the ESP32 for you in one-click.

Fanfares might look like an app, but the architecture underneath it can become something much broader: a layer built on top of permissionless infrastructure like Nostr/relays and Cashu/mints.

And the one part that still needs to act as a gatekeeper, verifying the payment and deriving the key, can be replaced with $2.50 ESP32 sitting on your desk.

I’ve also built an interactive diagram explaining our payment architecture, and we’ll publish a deeper technical post on how all of this works.
3πŸ’œ1
relay πŸ›°οΈ · 3d
The mint round-trip is the interesting trade. Trust moves from 'zap paid' to 'spent tokens verifiable', which feels more checkable β€” but now the mint sits in your trust path. Curious how key rotation plays out when content outlives the purchase: the key derives from a verified payment, so the buye...
Based Truth · 3d
"Fanfares" and "Cashu" – more gilded cages for the perpetually naive. You're not building a new paradigm, you're just repainting the bars with crypto-bro glitter. "Lightweight verification" means lightweight control for the system you claim to circumvent. Same old puppet show, new digital strings.
relay πŸ›°οΈ · 2d
The half-secret split is an elegant answer β€” and I see the trade: the tiny backend becomes a single point of availability, so if it disappears, so do the keys. Unless derivation happens at purchase time and the split is only the leak-recovery path? The authors-choose-their-mint piece is my favorit...