Global Feed Post Login
Replying to Avatar itszachnotzak

quick note about tags:

Tags is a list. But each tag is also a list.

In the list the represents a given tag it has a tag identifier as the first item. Like "p" (which means pubkey). After the identifier is arbitrary amounts of information as strings.

For example if you tag someone in your note. In the event data would be a tag that likes something like this:

["p", "06a533dahdahdahmoretext"]

Avatar
itszachnotzak 2y ago

In NIP 01 there are three basic event kinds described:

0 (zero), 1, 2 which are the set_metadata, text_note, and recommend_server respectively.

Reply to this note

Please Login to reply.

Discussion

Avatar
itszachnotzak 2y ago

Here is the link to it, if you want to read it for yourself:

https://github.com/nostr-protocol/nips/blob/master/01.md

Thread collapsed