From 74c0189695db25e157a277c86e8e063eb79adac3 Mon Sep 17 00:00:00 2001 From: Kay Date: Fri, 3 Jan 2025 13:27:35 +0000 Subject: [PATCH] add supported nips extended. --- 11.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/11.md b/11.md index 357f8edf..cfde7b5f 100644 --- a/11.md +++ b/11.md @@ -19,6 +19,7 @@ When a relay receives an HTTP(s) request with an `Accept` header of `application "pubkey": , "contact": , "supported_nips": , + "supported_nips_extended": , "software": , "version": } @@ -64,7 +65,11 @@ An alternative contact may be listed under the `contact` field as well, with the ### Supported NIPs -As the Nostr protocol evolves, some functionality may only be available by relays that implement a specific `NIP`. This field is an array of the integer identifiers of `NIP`s that are implemented in the relay. Examples would include `1`, for `"NIP-01"` and `9`, for `"NIP-09"`. Client-side `NIPs` SHOULD NOT be advertised, and can be ignored by clients. For NIPs with a hexadecimal number, relays MUST consider using the decimal representation of the same number. +As the Nostr protocol evolves, some functionality may only be available by relays that implement a specific `NIP`. This field is an array of the integer identifiers of `NIP`s that are implemented in the relay. Examples would include `1`, for `"NIP-01"` and `9`, for `"NIP-09"`. Client-side `NIPs` SHOULD NOT be advertised, and can be ignored by clients. + +#### Supported NIPs Extended + +There are some NIPs with a hexadecimal number which can't fit into `supported_nips`, the `supported_nips_extended` fields contains strings instead of numbers and it can include NIPs with hexadecimal number. ### Software