Replying to Avatar ben

Nostr devs: is the Tags array the right place to add app-specific metadata related to an event?

If so, is there a tag type for this? In the nips I see type “e”, “p”, “r”, and “g”. Is it reasonable to just use a new one?

If not, where should we encode application-specific metadata? Is it preferred to use a custom kind and e.g. json encode data in the content field?

Avatar
hodlbod 2y ago

What do you need application specific metadata for? Usually a new kind is a better idea. You might also consider kind 30078 for storing application-specific data https://github.com/nostr-protocol/nips/blob/master/78.md

Reply to this note

Please Login to reply.

Discussion

No replies yet.