upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/60.md
diff options
context:
space:
mode:
authorP. Reis <patrickpereirareal1@gmail.com>2025-01-30 10:45:35 -0300
committerGitHub <noreply@github.com>2025-01-30 05:45:35 -0800
commit7370729472b5d8b54693e67d0f26b2dd1da84c07 (patch)
treef26cb9b0bec4d42c9ca5d98b4faa226c50e3047c /60.md
parent54b431e701c3e3b0eaa5bdd2093a3bb7830543dc (diff)
NIP-60: jsonconc -> jsonc (#1727)
Diffstat (limited to '60.md')
-rw-r--r--60.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/60.md b/60.md
index 6f3929c..8117412 100644
--- a/60.md
+++ b/60.md
@@ -134,7 +134,7 @@ While the client is fetching (and perhaps validating) proofs it can use the opti
134 134
135## Spending token 135## Spending token
136If Alice spends 4 sats from this token event 136If Alice spends 4 sats from this token event
137```jsonconc 137```jsonc
138{ 138{
139 "kind": 7375, 139 "kind": 7375,
140 "id": "event-id-1", 140 "id": "event-id-1",
@@ -155,7 +155,7 @@ If Alice spends 4 sats from this token event
155 155
156Her client: 156Her client:
157* MUST roll over the unspent proofs: 157* MUST roll over the unspent proofs:
158```jsonconc 158```jsonc
159{ 159{
160 "kind": 7375, 160 "kind": 7375,
161 "id": "event-id-2", 161 "id": "event-id-2",
@@ -176,7 +176,7 @@ Her client:
176* MUST delete event `event-id-1` 176* MUST delete event `event-id-1`
177* SHOULD add the `event-id-1` to the `del` array of deleted token-ids. 177* SHOULD add the `event-id-1` to the `del` array of deleted token-ids.
178* SHOULD create a `kind:7376` event to record the spend 178* SHOULD create a `kind:7376` event to record the spend
179```jsonconc 179```jsonc
180{ 180{
181 "kind": 7376, 181 "kind": 7376,
182 "content": nip44_encrypt([ 182 "content": nip44_encrypt([