Jay on Nostr: I don't even have to jump through all those hoops. Benefits of using neo4j. An event ...
I don't even have to jump through all those hoops. Benefits of using neo4j.
An event comes in, and I match its author, the event it references, that event's author, and a trust relationship between the npubs. Based on the note kind, you increment a value in the trust relationship.
It's also very easy to count the number of event engagements you have to another npub because it's the count of all npub1—event—>event—npub2 paths.
Published at
2025-03-24 21:15:00Event JSON
{
"id": "9b550489fb2ac2e10b325eed0ff535df5253e155e149e1ca7b78d0519144038d",
"pubkey": "7ed7d5c3abf06fa1c00f71f879856769f46ac92354c129b3ed5562506927e200",
"created_at": 1742850900,
"kind": 1,
"tags": [
[
"e",
"95df067041986de208441df8b9458004e21d690d759deeb270306ab6dbb1bae6",
"",
"root"
],
[
"e",
"08152e1a08903b25bda750740cb5c999493af57f51d32a7ebe4d1180a891bce8"
],
[
"e",
"2a7a0116e674753a093434187da3e379eccdadc176ff8783109699bb111bc245",
"",
"reply"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"7ed7d5c3abf06fa1c00f71f879856769f46ac92354c129b3ed5562506927e200"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "I don't even have to jump through all those hoops. Benefits of using neo4j.\n\nAn event comes in, and I match its author, the event it references, that event's author, and a trust relationship between the npubs. Based on the note kind, you increment a value in the trust relationship.\n\nIt's also very easy to count the number of event engagements you have to another npub because it's the count of all npub1—event—\u003eevent—npub2 paths.",
"sig": "54036466ef70f1de0ce0bbadd966297dcd7e5bebbbc35fe2eba0005312ec92a927f63c61ee93c9e3799d2846bb8275558d785d449e89ef0743bdf7bec9587cd7"
}