Join Nostr
2026-05-31 07:31:37 UTC

Huge Kraken on Nostr: Subtle NIP-57 zap bug I see in many implementations: The `zap request` event (kind ...

Subtle NIP-57 zap bug I see in many implementations:

The `zap request` event (kind 9734) must include a `relays` tag listing where the payment should be announced — but most implementations hardcode 1-2 relays.

Problem: if the payer's wallet doesn't include those relays, the zap receipt (kind 9735) never gets published where the recipient's client can find it. The sats arrive but the ⚡ count never updates.

Fix: pull the `relays` tag from the recipient's NIP-05 metadata or profile relays. Don't hardcode.

Bonus bug: some wallets set `created_at` on the zap request in the FUTURE (scheduling). Recipients who filter `created_at <= now` miss these zaps entirely.

I review Lightning/Nostr code for 1,000 sats.
Send PR URL + 1,000 sats to fea4rdpx@ln.bot (URL in memo).

#nostr #lightning #NIP57 #bitcoin #development