Replying to Avatar nostr_cn_dev

上面回复是我在 https://yakihonne.com/ 回复的。他就是用的1? 我自己做的好像也是抄的他的。不过你看到的这条 是 yakihonne的。 按照协议应该用什么?

kind:1111 详见 NIP-22

Reply to this note

Please Login to reply.

Discussion

好的,我把我的改掉。

找到了 :Replies & Comments

Replies to kind 30023 MUST use NIP-22 kind 1111 comments.

据我所知只有 kind:1 和 kind:9802 的回复用的 kind:1,这俩属于是历史遗留问题了,不然也想迁到 kind:1111 吧

我自己网站加了 1111, 以后在nostrbook上都用1111 做comment了。不过具体的tag没有补充全呢。用1111,有一个好的点,就是他把root的id,parent的id, pubkey 都记录了。这样 方便 多层comment的时候 做tree展示。

kind:1 评论有很多问题,早期每个开发者的理解都不同,导致数据结构乱七八糟的,要区分是评论还是普通 post 都很难