cameri / nostream

A Nostr Relay written in TypeScript
MIT License
741 stars 190 forks source link

[REQUEST] Allow Lightning zap receipts on paid relays #302

Closed cameri closed 1 year ago

cameri commented 1 year ago

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.