From 1ff0fade33881d9f33678ec3d66d12baf0b2414c Mon Sep 17 00:00:00 2001 From: ArjenStens Date: Thu, 7 Nov 2024 10:55:23 +0000 Subject: [PATCH] Add example --- 37.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/37.md b/37.md index 88e18e3..9b43851 100644 --- a/37.md +++ b/37.md @@ -11,7 +11,7 @@ This NIP describes how digital services can announce how clients can reach them, ## Motivation Nostr decouples applications completely from the transportation layer, meaning services no longer have to be designed around a single transportation method, but can be accessible through a plethora of ways. This NIP is meant to act as a lookup system that tells a client what transportation methods can be used to access a service. -#### Spec +## Spec A replacable event of kind `11111` event containing or more of the following tag(s): ```json @@ -20,7 +20,7 @@ A replacable event of kind `11111` event containing or more of the following tag - `` describes the network. - `
` describes how to address the service, this value may or may not include a protocol based on the tag's first value. -#### Example +## Example ```json { @@ -33,7 +33,8 @@ A replacable event of kind `11111` event containing or more of the following tag ["lo-ra", "914.3Mhz"], ["ipv4", "157.240.212.35"], ["ipv6", "2001:db8:3333:4444:CCCC:DDDD:EEEE:FFFF"], - ["aviation", "pigeon://MainSt.45thAve"] + ["aviation", "pigeon://MainSt.45thAve"], + ["nip04", ""] ] } ```