nostr-rs-relay now supports gRPC for filtering events to your relay! Free relays can now fight back against spam. Still experimental, but check out the schema, and build cool stuff: https://git.sr.ht/~gheartsfield/nostr-rs-relay/tree/master/item/proto/nauthz.proto
Discussion
Wow nice, so i can implement this service and filter incoming events?
can’t wait to have a play with this
#[0]
This is exactly what I was looking for. I have some experimental spam filters I have been working on in python and was wondering how to filter messages to my relay. Do you have an example out there I can use as a guide.