girino on Nostr: there could be a protocol where the content provider would set the rules, like ...
there could be a protocol where the content provider would set the rules, like minimum value and the renewal period, in a special event, and the relay would allow access if the zaps matched the rule.
something like
{...
tags: [
["minzap", 21000],
["renewaltime", "30", "days"],
["kinds", "1", "20", "22"],
...
]
...}
then the relay would apply the rules from this event to check if the reader could read events from this author.
Published at
2025-02-18 18:24:44Event JSON
{
"id": "c2a6ac246473287a841257c7a12f14d642886e71db01c544a2f9444a1d9ba368",
"pubkey": "3ffac3a6c859eaaa8cdddb2c7002a6e10b33efeb92d025b14ead6f8a2d656657",
"created_at": 1739903084,
"kind": 1,
"tags": [
[
"e",
"3d58efb3f76aa502389e318b45ce11b18b31bb701a450b3923ad959c2798bb79",
"wss://aegis.utxo.one/",
"root"
],
[
"e",
"ab61da93b101fa1988311dd755723d714f944133cfcc791ed361eea34232837c",
"",
"reply"
],
[
"p",
"c582af78dff442700ec59e21786532a7074c00be8b7b1eac989bbf62698069cc"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
]
],
"content": "there could be a protocol where the content provider would set the rules, like minimum value and the renewal period, in a special event, and the relay would allow access if the zaps matched the rule.\n\nsomething like\n{...\ntags: [\n [\"minzap\", 21000],\n [\"renewaltime\", \"30\", \"days\"],\n [\"kinds\", \"1\", \"20\", \"22\"],\n ... \n]\n...}\n\nthen the relay would apply the rules from this event to check if the reader could read events from this author.",
"sig": "4ade0de049b0b3daa9af1e60dd1bf936d550412f0d9559f317cf11db65e8969c66c7da9fd9fb8f629cdef8225065fb28261454000898259c517b8533c568e781"
}