Replying to Avatar Sherry

This is in Nip1 but so sad we party instead of read it tgt. All data have same structure like below, you can ignore the explaination of value currently.

{

"id": <32-bytes lowercase hex-encoded sha256 of the serialized event data>,

"pubkey": <32-bytes lowercase hex-encoded public key of the event creator>,

"created_at": ,

"kind": ,

"tags": [

[...],

...

],

"content": ,

"sig": <64-bytes lowercase hex of the signature of the sha256 hash of the serialized event data, which is the same as the "id" field>

}

Kind is used to differentiate, lets say, different usage of data. All short note you see on nostr is kind1. All profile related data, like your name, lnurl, is stored in kind0.

Above is a json data format, "id",“kind”,“tag“,"content" etc is kind and content after ":" is value

Avatar
tanel 2y ago

sec 🤔

Reply to this note

Please Login to reply.

Discussion

Avatar
Sherry 2y ago

Here to see the magic

Thread collapsed