mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Add count suggestions
This commit is contained in:
parent
50234f20f9
commit
dea7c157c1
20
22.md
20
22.md
|
@ -54,3 +54,23 @@ on the associated context or culture.
|
||||||
|
|
||||||
If a client wants to offer neutral reactions, it should send both
|
If a client wants to offer neutral reactions, it should send both
|
||||||
a `kind:31143` event and a `kind:31144` one with the same `d` tag.
|
a `kind:31143` event and a `kind:31144` one with the same `d` tag.
|
||||||
|
|
||||||
|
## Which Relays to Use
|
||||||
|
|
||||||
|
When reacting to an event, send the reaction to both the reaction author's [NIP-65](65.md) `write`
|
||||||
|
relays and to to the event being reacted to author's `read` relays.
|
||||||
|
|
||||||
|
### Counting
|
||||||
|
|
||||||
|
Pick one of the `read` relays of the author of the event being reacted to.
|
||||||
|
Use that relay with [NIP-45](45.md) to count.
|
||||||
|
|
||||||
|
### External Entities
|
||||||
|
|
||||||
|
For reacting to non-nostr entities, send the reaction event
|
||||||
|
to the reaction author's [NIP-65](65.md) `write`
|
||||||
|
relays and also to some popular relays. These picked popular
|
||||||
|
relays should preferably be public and have anti-spam measures
|
||||||
|
such as IP rate-limiting.
|
||||||
|
|
||||||
|
Use one of those popular relays with [NIP-45](45.md) to count.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user