From 2b6edc0f71e4a563752a7c7fce705feaeffcaf44 Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Wed, 3 Jan 2024 13:19:19 -0500 Subject: [PATCH] adjustments --- 01.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/01.md b/01.md index 4422fa2f..430a1767 100644 --- a/01.md +++ b/01.md @@ -6,11 +6,11 @@ Nostr Protocol `draft` `mandatory` -This NIP defines the basic protocol that MUST be implemented by everybody. New NIPs may add new optional (or mandatory) fields, messages, and features to the structures and flows described here. +This NIP defines the mandatory part of the Nostr protocol. New NIPs may add new optional (or mandatory) fields, messages, and features to the structures and flows described here. # Events -Event is the only object type available. It is a hashed and signed payload with the following format: +Event is the only object type available. It is a hashed and signed payload in the following format: ```json { @@ -33,7 +33,7 @@ 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 byte array of a JSON-serialized string with the following structure: +To obtain the hash `.id`, we `sha256` the UTF-8 byte array of a JSON-serialized string in the following structure: ``` [