Skip to content

feat: enhance live stream zap functionality#420

Merged
barrydeen merged 1 commit intomainfrom
feat/live-stream-zap-enhancements
Apr 2, 2026
Merged

feat: enhance live stream zap functionality#420
barrydeen merged 1 commit intomainfrom
feat/live-stream-zap-enhancements

Conversation

@barrydeen
Copy link
Copy Markdown
Owner

Summary

  • Add "Zap this stream" button with pending/success/fail states and total sats display
  • Insert zap announcement messages in chat showing zapper avatar, name, and amount
  • Fix zap recipient to target the actual streamer (p-tag Host role), not the stream provider (event pubkey)
  • Use NIP-57 a tag for parameterized replaceable events so receipts are properly associated with the stream and visible to all subscribers
  • Include stream chat relays + streamer inbox relays in zap request relay hints
  • Fix EventRouter routing for live-react- and live-zap- subscriptions
  • Bump version to v0.17.1 (code 67)

Test plan

  • Zap a live stream via the "Zap" button — verify it targets the streamer, not the stream provider
  • Verify zap receipt appears as an announcement in the chat
  • Verify total zap sats accumulate next to the Zap button
  • Verify pending spinner and success animation on the Zap button
  • Verify zap error dialog shows on failure
  • Verify reactions from other users appear on chat messages
  • Verify zapping from another client (e.g. Amethyst) shows the announcement in chat

- Add "Zap this stream" button in stream info bar with pending/success states
- Insert zap announcement messages in chat when someone zaps the stream
- Track and display total stream zap sats next to the zap button
- Fix zap recipient to target the actual streamer (p-tag Host), not the
  stream provider (event author)
- Use NIP-57 "a" tag for addressable events in zap requests so receipts
  are properly associated with the stream
- Include stream chat relays in zap request relay hints so receipts reach
  the streamer and chat room subscribers
- Fix EventRouter to route live-react and live-zap subscriptions to
  LiveStreamRepository for proper reaction/zap tracking
- Show zap error dialog on failure
- Bump version to v0.17.1 (code 67)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@barrydeen barrydeen merged commit b72d61f into main Apr 2, 2026
@barrydeen barrydeen mentioned this pull request Apr 5, 2026
17 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant