diff --git a/01.md b/01.md index 6213402..9ed3ca9 100644 --- a/01.md +++ b/01.md @@ -10,8 +10,6 @@ This NIP defines the complete protocol that MUST be implemented by everybody. Ne ## Events -Each user has a keypair and is identified by their public key. - Event is only object type available. It is a hashed and signed payload with the following format: ```json @@ -29,7 +27,7 @@ Event is only object type available. It is a hashed and signed payload with the } ``` -Signatures and encodings are done according to the [Schnorr signatures standard for the curve `secp256k1`](https://bips.xyz/340). +Each user has a keypair and is identified by their public key. Signatures and encodings are done according to the [Schnorr signatures standard for the curve `secp256k1`](https://bips.xyz/340). To obtain the hash `.id`, we `sha256` the UTF-8 bytearray of a JSON-serialized string with the following structure: @@ -61,9 +59,9 @@ To verify an event: ### Kinds -Kinds specify the meaning of an event and its tags. +The `.kind` property specifies the meaning of an event and its tags. -Kind ranges define storage behaviours. The current ranges are: +Specific ranges define storage behaviours: | Name | Range | SHOULD retain | | ------------- | --------------------------------- | ------------------------------------------------------ |