The combination of nostr-rs-relay nostr:npub1xhfxu35se0s63x90v8xr29txr66l5a3m277skshy2zvu3ve0658sla4xw3 and manage-relay-users nostr:npub1qjgcmlpkeyl8mdkvp4s0xls4ytcux6my606tgfx9xttut907h0zs76lgjw is f*king awesome.

It means you can spin up a relay and send it events to add npubs to a whitelist/blacklist.

This is a very powerful building block that can be used for all kinds of things, e.g. automatic spam control, paid relays, etc.

Reply to this note

Please Login to reply.

Discussion

what is manage-relay-users?

It allows you to manage a list of allowed and denied pubkeys on your relay. It lets you do this through events.

cool, is there any NIP draft or docs I can find to learn more about this spec?

I’d like to see it manage allow/deny lists by Kind. For example, I’d like my relay to allow anybody to post Kind-3, but only allowed users to post most other Kinds, but then not allow anybody to post these other Kinds.

Yeah me too. I'm working on something at the moment because I need exactly this for nostrocket