diff options
| author | P. Reis <patrickpereirareal1@gmail.com> | 2025-01-30 10:45:35 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-30 05:45:35 -0800 |
| commit | 7370729472b5d8b54693e67d0f26b2dd1da84c07 (patch) | |
| tree | f26cb9b0bec4d42c9ca5d98b4faa226c50e3047c | |
| parent | 54b431e701c3e3b0eaa5bdd2093a3bb7830543dc (diff) | |
NIP-60: jsonconc -> jsonc (#1727)
| -rw-r--r-- | 60.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 |
| 136 | If Alice spends 4 sats from this token event | 136 | If 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 | ||
| 156 | Her client: | 156 | Her 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([ |