diff options
| -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([ |