ABH3PO on Nostr: Then you should take a look at My implementation is different, since I believe a ...
Then you should take a look at
https://github.com/nostr-protocol/nips/pull/879My implementation is different, since I believe a rating is generic (like a reaction) and can be applied generically.
I use m-tags to differentiate between different kinds of classes. Default is event, but you can rate whatever you want with a single event kind.
This linked NIP argues for different rating kinds for different classes.
I personally think it sucks for discoverability, but it may work.
Published at
2025-05-08 05:31:06Event JSON
{
"id": "e72ef32ba9b310d92a05b10d2765e018666f46ec02984ef357d547282e7c7367",
"pubkey": "c21b1a6cdb247ccbd938dcb16b15a4fa382d00ffd7b12d5cbbad172a0cd4d170",
"created_at": 1746682266,
"kind": 1,
"tags": [
[
"e",
"21ebb10aa6d51abd9462a2a6ea8d9532a5484741afc48e95e2f4bb4d28053747",
"",
"root"
],
[
"e",
"e43939e15a180b0a2211f2ee90918eda441ce4d6b1951a44f1601b5097a38c8d"
],
[
"e",
"2a98c0690a0026105358b43a2b37b5ca2ace8afd97f72b7877bbb41922d286f3",
"",
"reply"
],
[
"p",
"c21b1a6cdb247ccbd938dcb16b15a4fa382d00ffd7b12d5cbbad172a0cd4d170"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"r",
"https://github.com/nostr-protocol/nips/pull/879"
]
],
"content": "Then you should take a look at https://github.com/nostr-protocol/nips/pull/879\n\nMy implementation is different, since I believe a rating is generic (like a reaction) and can be applied generically. \n\nI use m-tags to differentiate between different kinds of classes. Default is event, but you can rate whatever you want with a single event kind. \n\n\nThis linked NIP argues for different rating kinds for different classes. \n\nI personally think it sucks for discoverability, but it may work. ",
"sig": "d18c67db5d9c333cf55c8c59fead5e15424980830385e3c8c550510016e10a2e3b48a07b003003f8255e336c5194b70cab6c62e08dbc53595c8ed6fbdef7f1be"
}