im trying to find a spam protection model for nip-17 on relay layer and here is what we have:
1. we can't perform whitelisting on pubkey since it's a random temp key.
2. we can't p tags, since we send 2, 1059 event for each dm. each one with one different p tag. we can validate the sender event (we have a p tag and we can check it using authed pubkey) but we can't do it for receiver event. (if we just check the p tag, then anybody can put a whitelisted p tag and send dms.)
i want to know if anybody knows how we can check such thing on a whitelisted relay so only whitelsited users can send dms to each other.
> i hate nip-17. bullshit.
#dev #devstr #asknostr #nip17