Runatyr's avatar
Runatyr
runatyr@poster.place
npub1uarv...6f59
Software Engineer (linux, kubernetes, developer experience, user experience, typescript, python, react native, etc). Interested in nostr growth for marketplaces and social media. Privacy, decentralization and freedom maximalist. Monero 1st, Bitcoin 2nd.
Runatyr's avatar
Runatyr 1 month ago
This is a test post for nostr relay sync. test1
Runatyr's avatar
Runatyr 2 months ago
Nostr can sync likes between relays but clients need to implement it correctly: - Clients publish events to multiple relays and retrieve events from multiple relays. - Likes are ordinary signed kind:7 events defined by NIP-25 (https://nips.nostr.com/25). - NIP-65 (https://nips.nostr.com/65) says clients should publish tagged events to the tagged user’s read/inbox relays. - NIP-45 (https://nips.nostr.com/45) already defines merging reaction counts from multiple relays using HyperLogLog, while avoiding duplicate counting. Therefore, likes can accumulate across relays, but only when clients correctly: 1. Publish the reaction to the liker’s write relays and note author’s read relays. 2. Query all relevant author inbox/read relays. 3. Deduplicate identical events. 4. Merge raw events or NIP-45 counts. #nostr #relays #reactions #interoperability #NIP25 #NIP45 #NIP65 #outboxmodel #Ditto #Primal #likes
↑