From c599493f0a7f42d125be45145190121cf9549e45 Mon Sep 17 00:00:00 2001 From: LeandroBitcoiner21 <107815651+leandro21b@users.noreply.github.com> Date: Fri, 24 Mar 2023 15:54:39 -0300 Subject: [PATCH] Update 53.md I saw that `KIND-10002` is already used by `Relay List Metadata`, so I decided to change to `KIND-10020` --- 53.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/53.md b/53.md index 3fdbec17..16461f1d 100644 --- a/53.md +++ b/53.md @@ -14,13 +14,13 @@ Nostr Domain System (NDS) A domain registration system based on nostr where users can create domains associated with their IP addresses and onion, then this data is signed by the user's key and sent to several relays, so that the registrations do not depend on a central server -As IP addresses can change from time to time, domain registration events must be replaceable and therefore are classified as KIND-10002 according to the (NIP-16 Replaceable Events) +As IP addresses can change from time to time, domain registration events must be replaceable and therefore are classified as KIND-10020 according to the (NIP-16 Replaceable Events) ## Example: ```json { - "kind": 10002, + "kind": 10020, "tags": [ ["dr" "Domain1", "ip4:port", "ip6:port", "onion"], ["dr" "Domain2", "ip6:port", "onion"] /* dr = domain register */ @@ -37,7 +37,7 @@ There are several ways to avoid confusion due to the same domain being registere ```json { - "kind": 10003, + "kind": 10021, "tags": [ ["dro" "domainregistryevent"], ["dro" "domainregistryevent"] /* dro = domain registration organizer */ @@ -46,7 +46,7 @@ There are several ways to avoid confusion due to the same domain being registere } ``` -This event should also be replaceable as domain events may need to be changed as stated above, so it is classified as KIND-10003 +This event should also be replaceable as domain events may need to be changed as stated above, so it is classified as KIND-10021 It is very important not to depend on a single organizing user, although the domain registration itself is not done by them.