Register events extension RPCs with Nostr transport #7

Open
opened 2026-04-26 20:24:03 +00:00 by padreug · 0 comments
Owner

Summary

Once the Nostr transport PR (aiolabs/lnbits#4) is merged, register events-specific RPCs in the dispatcher to enable HTTP-free event ticketing over Nostr relays.

Scope

  • Register RPCs with the LNbits Nostr transport dispatcher:
    • create_event — auth: admin_wallet
    • propose_event — auth: wallet
    • purchase_ticket — auth: wallet
    • check_ticket_payment — auth: none
    • list_events — auth: none
    • list_user_tickets — auth: wallet
    • validate_ticket — auth: none
  • Follow Lightning.pub's patterns for content sharding (large events) and request correlation

Depends on

References

  • Lightning.pub RPC dispatch patterns: ~/dev/shocknet/lightning-pub/extension-loader/proto/autogenerated/ts/nostr_transport.ts
  • LNbits Nostr transport dispatcher: lnbits/core/services/nostr_transport/dispatcher.py
## Summary Once the Nostr transport PR (aiolabs/lnbits#4) is merged, register events-specific RPCs in the dispatcher to enable HTTP-free event ticketing over Nostr relays. ## Scope - Register RPCs with the LNbits Nostr transport dispatcher: - `create_event` — auth: admin_wallet - `propose_event` — auth: wallet - `purchase_ticket` — auth: wallet - `check_ticket_payment` — auth: none - `list_events` — auth: none - `list_user_tickets` — auth: wallet - `validate_ticket` — auth: none - Follow Lightning.pub's patterns for content sharding (large events) and request correlation ## Depends on - aiolabs/lnbits#4 (Nostr transport layer) must be merged - aiolabs/events#4 (NIP-52 publishing) - aiolabs/events#6 (approval workflow) ## References - Lightning.pub RPC dispatch patterns: `~/dev/shocknet/lightning-pub/extension-loader/proto/autogenerated/ts/nostr_transport.ts` - LNbits Nostr transport dispatcher: `lnbits/core/services/nostr_transport/dispatcher.py`
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aiolabs/events#7
No description provided.