mikedilger on Nostr: I've always thought requiring one POW event to whitelist your pubkey was a great ...
I've always thought requiring one POW event to whitelist your pubkey was a great idea. But there is no way for clients to know this is what your relay wants right now. You could do an AUTH and in the message tell the user to do this, but most clients don't let users set a POW on their message. So there is some NIP work to be done first I think. But that allows anybody to use the relay anonymously, and gives you a way to seriously throttle spam at the same time.
Published at
2023-03-09 21:33:15Event JSON
{
"id": "00009833f16398b90d0152a38674d0677c7c8e7a06fc841952f2a077303cb9da",
"pubkey": "ee11a5dff40c19a555f41fe42b48f00e618c91225622ae37b6c2bb67b76c4e49",
"created_at": 1678397595,
"kind": 1,
"tags": [
[
"client",
"gossip"
],
[
"p",
"c7da62153485ecfb1b65792c79ce3fe6fce6ed7d8ef536cb121d7a0c732e92df"
],
[
"e",
"99eac5575977c2f5a454f42135fde3e9f79392c735c0fa3e23bc185ede829a13",
"wss://nos.lol/",
"root"
],
[
"nonce",
"1537228672809140529",
"16"
]
],
"content": "I've always thought requiring one POW event to whitelist your pubkey was a great idea. But there is no way for clients to know this is what your relay wants right now. You could do an AUTH and in the message tell the user to do this, but most clients don't let users set a POW on their message. So there is some NIP work to be done first I think. But that allows anybody to use the relay anonymously, and gives you a way to seriously throttle spam at the same time.",
"sig": "21560a767ffb4facab6eb563beb4fefef16965321ca00900019ed1689fe038fac7dfa60b987f0cb073ddfec11b531f9e52e4eedd18b421e38af9c4ace78372d3"
}