follow-event
When booting, a client would check the most recent kind:1010 or kind:9,#k:1010 they can find in their local cache (if they have one), and REQ for new updates with a since of their last known timestamp.
Follow action
{
"kind": 1010,
// self-encrypted optional reason why you are following the person
"content": nip44_encrypt("I hate this person and want to keep track of the stupid shit they say")
"tags": [
[ "p", "followed-pubkey" ],
// kinds this follow is scoped to, this means that the user doesn't care about this pubkey in other stuff that is not pictures and wikis
[ "k", "20" ],
[ "k", "30818" ],
]
}
Unfollow action This just deletes the follow event.
{
"kind": 5,
// optional, public explanation for the person to why they are unfol
"content": "fuck you, bitch, I'm rage unfollowing your ass",
"tags": [
[ "e", "follow-event-id" ],
[ "k", "1010" ],
// optional p-tagging the bitch you unfollowed so she's aware of your hatred
[ "p", "unfollowed-pubkey" ]
]
}
Benefits
- Users can easily find the people that followed them without indexers
- No more follow list wipes
Comments
Public conversation about this article.
Sign in to join the discussion.
No comments yet.
Article metadata
About this entry
Event Id
Raw event
Other authors
No one else has published this topic yet.