How do we want to make follow lists for communities? NIP 51 with k tag?

Reply to this note

Please Login to reply.

Discussion

What does that mean?

There is no standard for community lists yet. So, gotta create one.

Yeah, I was going with a kind 30001 event with a `d` tag "communities" and a list of the `a` tags of the communities that the user is following. That's what you're doing with nostr.kiwi as I understand nostr:npub1alpha9l6f7kk08jxfdaxrpqqnd7vwcz6e6cvtattgexjhxr2vrcqk86dsn ?

nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z what do you mean by `k` tag?

Yea. That’s how it is right now.

K tag can be added to the 30001 event to say that this list only has an event type of k. In that way, clients can filter all communities list, independent of the d tag name.

["k", "1"] means this list has kind 1 events.

This is an interesting idea for handling lists.

Is there a nip for lists with k tags? I think it’s a great idea and would work great in the app I’m building.

Not really, but it was recently added to the Generic Repost here: https://github.com/nostr-protocol/nips/blob/master/18.md

The `k` tag is being discussed in many other event kinds. So, I would say just use it. We can change the lists NIP later.