cameri / nostream

A Nostr Relay written in TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[REQUEST] Allow Lightning zap receipts on paid relays

cameri opened this issue · comments

Pledge
I'll implement this myself.

Is your feature request related to a problem? Please describe.
Lightning wallet providers emit NIP-57 Zap receipts (Event kind 9735) with their own pubkey but these are rejected by Nostream paid relays. Nostream should have a mechanism to whitelist these events regardless.

Describe the solution you'd like
Allow event kinds to be whitelisted. By default, whitelist zap receipts.

Describe alternatives you've considered
Whitelisting Lightning wallet providers is an alternative but it does not scale, as some will get special treatment and others will not.

Additional context
Add any other context or screenshots about the feature request here.