From b05d68c46ff0691aca9a54a51ae10f6bd4eb7595 Mon Sep 17 00:00:00 2001 From: Max Gravitt Date: Sun, 19 Feb 2023 09:12:08 -0500 Subject: [PATCH] more changes to separate kinds and add recommended relay instead of notes to the tags --- 70.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/70.md b/70.md index 2bf15054..fac32d87 100644 --- a/70.md +++ b/70.md @@ -37,7 +37,7 @@ This example event tags Bob, Charlie, David, and Erika with an optional note for Bob asks Alice to approve of having cheesecake tonight. ```json { - "pubkey" : "5e79d85b377943fed828365d2a7712a0578272b6c1e0511154f6517e2a13925e", // bob + "pubkey": "5e79d85b377943fed828365d2a7712a0578272b6c1e0511154f6517e2a13925e", // bob "kind": 9991, "tags": [ [ @@ -47,7 +47,8 @@ Bob asks Alice to approve of having cheesecake tonight. ] ], "content": "I approve of the proposal to have cheesecake tonight", - "id": "the_ID_of_the_signature_request_event" // derived based on NIP-01 + "id": "the_ID_of_the_signature_request_event", // derived based on NIP-01 + "sig": , } ``` @@ -56,20 +57,22 @@ Bob asks Alice to approve of having cheesecake tonight. Alice approves of having cheesecake tonight. ```json { + "pubkey": "0e1db7418df1c6453ce42e7f4507b8823fc23e86e1f4f33d7fafc83d366e6e97", // alice "kind": 9992, "tags": [ [ "p", - "5e79d85b377943fed828365d2a7712a0578272b6c1e0511154f6517e2a13925e", + "5e79d85b377943fed828365d2a7712a0578272b6c1e0511154f6517e2a13925e", // bob "wss://r1.hashed.systems" ], [ "e", - "the_ID_of_the_signature_request_event", + "the_ID_of_the_signature_request_event", // per reply style spec "wss://r1.hashed.systems" ], ], "content": "signature:7d08c5d295ad7d5b29ba0c47e4a56323894e9b7a124a20ca59917428001b5b485d1aab20f58353b7a7e64be562d3ac5f458cc07dfe297d1850d4a5f4c18d6308¬es=sure thing", + "sig": , } ```