Skip to content

Stream market: payment channels, access control, and datastream pub/sub#20

Open
lastmeta wants to merge 2 commits intomainfrom
stream-market
Open

Stream market: payment channels, access control, and datastream pub/sub#20
lastmeta wants to merge 2 commits intomainfrom
stream-market

Conversation

@lastmeta
Copy link
Copy Markdown
Member

  • Full reclaimChannel implementation (PATH A: sender has EVR, PATH B: Mundo-assisted)
  • _grantChannelAccess: bridge between on-chain channel claims and Nostr access gates
  • _channelPayForObservation: auto-opens channels and pays per observation
  • stream_name on ChannelCommitment: per-stream payment grants (fixes multi-stream over-granting)
  • Fix record_subscription resetting last_paid_seq on reconnect
  • Pass encrypted flag through to add_publication
  • Channel UI improvements (channels.html, dashboard.html)

jordan and others added 2 commits March 26, 2026 05:20
- Full reclaimChannel implementation (PATH A: sender has EVR, PATH B: Mundo-assisted)
- _grantChannelAccess: bridge between on-chain channel claims and Nostr access gates
- _channelPayForObservation: auto-opens channels and pays per observation
- stream_name on ChannelCommitment: per-stream payment grants (fixes multi-stream over-granting)
- Fix record_subscription resetting last_paid_seq on reconnect
- Pass encrypted flag through to add_publication
- Channel UI improvements (channels.html, dashboard.html)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Fixes over-granting after a payment gap — use commitment.pay_amount_sats
instead of total cumulative paid so subscribers only get the observations
they just paid for.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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