From 7ec7a25403d71f527495e3188e91f761d2e187cb Mon Sep 17 00:00:00 2001 From: Pablo Fernandez Date: Tue, 21 Nov 2023 10:31:22 +0000 Subject: [PATCH] event timestamping DVM --- _site/index.html | 13 +++ _site/kinds/5900/index.html | 179 +++++++++++++++++++++++++++++++++++ _site/ranges/59xx/index.html | 116 +++++++++++++++++++++++ index.md | 4 + kinds/5900.md | 45 +++++++++ ranges/59xx.md | 25 +++++ 6 files changed, 382 insertions(+) create mode 100644 _site/kinds/5900/index.html create mode 100644 _site/ranges/59xx/index.html create mode 100644 kinds/5900.md create mode 100644 ranges/59xx.md diff --git a/_site/index.html b/_site/index.html index 97a1108..fd33b3c 100644 --- a/_site/index.html +++ b/_site/index.html @@ -149,6 +149,19 @@ +
+ + + + +
+ diff --git a/_site/kinds/5900/index.html b/_site/kinds/5900/index.html new file mode 100644 index 0000000..64d1609 --- /dev/null +++ b/_site/kinds/5900/index.html @@ -0,0 +1,179 @@ + + + + + + +Nostr Event Time Stamping + + + + + + + + + + + +
+ +
+ + + + + + +
+
+
+
+
+
+ +

Nostr Event Time Stamping

+ + +

NIP-03 Timestamping of nostr events

+ + +
+
+
+ +
+
+
+
+
+
+
+
+

Input

+ +

Event ID to be stamped.

+ +

Output

+ +

content MUST contain the event ID of the kind:1040 event.

+ +
    +
  • Retrieving counts for list pages (number of messages in a conversation, number of lists on a profile)
  • +
  • Getting metadata for tags (this topic has been used x times)
  • +
+ +

Example

+ +

Request

+ +
{
+    "content": "",
+    "kind": 5900,
+    "pubkey": "<pubkey-a>",
+    "tags": [
+        [ "i", "<eventid>", "event" ],
+    ]
+}
+
+ +

Desponse

+ +
{
+    "content": "<eventid-of-1040-event>",
+    "kind": 6900,
+    "tags": [
+        [ "i", "<eventid>", "event" ],
+        [ "p", "<pubkey-a>" ],
+        [ "e", "<event-id-of-5900>" ]
+    ]
+}
+
+ +
+
+
+
+ +
+
+
+
+
+ + + + diff --git a/_site/ranges/59xx/index.html b/_site/ranges/59xx/index.html new file mode 100644 index 0000000..6869f2d --- /dev/null +++ b/_site/ranges/59xx/index.html @@ -0,0 +1,116 @@ + + + + + + +Others + + + + + + + + + + + + +
+
+
+
+
+
+ +

Others

+ + +

Jobs that don't fit neatly in other categories

+ + + + + + Back + + + +
+
+
+ +
+
+
+ +
+ +
+ + + + + + + + + + + + + + + + diff --git a/index.md b/index.md index eb4ff12..fc0e9bf 100755 --- a/index.md +++ b/index.md @@ -50,5 +50,9 @@ grid_navigation: excerpt: "Jobs where the goal is to analyze something" cta: View url: 'ranges/54xx' + - title: Others + excerpt: "Jobs that don't fit neatly in other categories" + cta: View + url: 'ranges/59xx' --- --- \ No newline at end of file diff --git a/kinds/5900.md b/kinds/5900.md new file mode 100644 index 0000000..d497e29 --- /dev/null +++ b/kinds/5900.md @@ -0,0 +1,45 @@ +--- +layout: default +title: Nostr Event Time Stamping +description: NIP-03 Timestamping of nostr events +--- + +# Input + +Event ID to be stamped. + +# Output + +`content` MUST contain the event ID of the `kind:1040` event. + +- Retrieving counts for list pages (number of messages in a conversation, number of lists on a profile) +- Getting metadata for tags (this topic has been used x times) + +# Example + +## Request + +```json +{ + "content": "", + "kind": 5900, + "pubkey": "", + "tags": [ + [ "i", "", "event" ], + ] +} +``` + +## Desponse + +```json +{ + "content": "", + "kind": 6900, + "tags": [ + [ "i", "", "event" ], + [ "p", "" ], + [ "e", "" ] + ] +} +``` diff --git a/ranges/59xx.md b/ranges/59xx.md new file mode 100644 index 0000000..d9fab91 --- /dev/null +++ b/ranges/59xx.md @@ -0,0 +1,25 @@ +--- +# Page settings +layout: homepage +keywords: nostr + +# Hero section +title: Others +description: "Jobs that don't fit neatly in other categories" +buttons: + - content: Back + url: '/' + external_url: false + # - icon: github + # content: Button with icon + # url: '#' + # external_url: true + + +# Grid navigation +grid_navigation: + - title: Nostr Event Time Stamping + excerpt: "Generate NIP-03 event timestamps" + cta: View + url: '/kinds/5900' +---