diff options
| author | Asai Toshiya <to.asai.60@gmail.com> | 2023-11-24 02:44:12 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-23 14:44:12 -0300 |
| commit | 5ae5a6d0553e34afc3cf19e96043f7e0e2b349ef (patch) | |
| tree | 208799976bccde900c48c22037d756201eb02d4d | |
| parent | 7822a8b12670312aff104ddc03066425882f739d (diff) | |
Remove "NIP-33" (#896)
| -rw-r--r-- | 09.md | 2 | ||||
| -rw-r--r-- | 57.md | 4 | ||||
| -rw-r--r-- | 89.md | 2 |
3 files changed, 4 insertions, 4 deletions
| @@ -8,7 +8,7 @@ Event Deletion | |||
| 8 | 8 | ||
| 9 | A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted. | 9 | A special event with kind `5`, meaning "deletion" is defined as having a list of one or more `e` tags, each referencing an event the author is requesting to be deleted. |
| 10 | 10 | ||
| 11 | Each tag entry must contain an "e" event id and/or NIP-33 `a` tags intended for deletion. | 11 | Each tag entry must contain an "e" event id and/or `a` tags intended for deletion. |
| 12 | 12 | ||
| 13 | The event's `content` field MAY contain a text note describing the reason for the deletion. | 13 | The event's `content` field MAY contain a text note describing the reason for the deletion. |
| 14 | 14 | ||
| @@ -36,7 +36,7 @@ A `zap request` is an event of kind `9734` that is _not_ published to relays, bu | |||
| 36 | In addition, the event MAY include the following tags: | 36 | In addition, the event MAY include the following tags: |
| 37 | 37 | ||
| 38 | - `e` is an optional hex-encoded event id. Clients MUST include this if zapping an event rather than a person. | 38 | - `e` is an optional hex-encoded event id. Clients MUST include this if zapping an event rather than a person. |
| 39 | - `a` is an optional NIP-33 event coordinate that allows tipping parameterized replaceable events such as NIP-23 long-form notes. | 39 | - `a` is an optional event coordinate that allows tipping parameterized replaceable events such as NIP-23 long-form notes. |
| 40 | 40 | ||
| 41 | Example: | 41 | Example: |
| 42 | 42 | ||
| @@ -110,7 +110,7 @@ When a client sends a `zap request` event to a server's lnurl-pay callback URL, | |||
| 110 | 4. It MUST have 0 or 1 `e` tags | 110 | 4. It MUST have 0 or 1 `e` tags |
| 111 | 5. There should be a `relays` tag with the relays to send the `zap receipt` to. | 111 | 5. There should be a `relays` tag with the relays to send the `zap receipt` to. |
| 112 | 6. If there is an `amount` tag, it MUST be equal to the `amount` query parameter. | 112 | 6. If there is an `amount` tag, it MUST be equal to the `amount` query parameter. |
| 113 | 7. If there is an `a` tag, it MUST be a valid NIP-33 event coordinate | 113 | 7. If there is an `a` tag, it MUST be a valid event coordinate |
| 114 | 114 | ||
| 115 | The event MUST then be stored for use later, when the invoice is paid. | 115 | The event MUST then be stored for use later, when the invoice is paid. |
| 116 | 116 | ||
| @@ -65,7 +65,7 @@ The third value of the tag SHOULD be the platform where this recommendation migh | |||
| 65 | 65 | ||
| 66 | * `content` is an optional `metadata`-like stringified JSON object, as described in NIP-01. This content is useful when the pubkey creating the `kind:31990` is not an application. If `content` is empty, the `kind:0` of the pubkey should be used to display application information (e.g. name, picture, web, LUD16, etc.) | 66 | * `content` is an optional `metadata`-like stringified JSON object, as described in NIP-01. This content is useful when the pubkey creating the `kind:31990` is not an application. If `content` is empty, the `kind:0` of the pubkey should be used to display application information (e.g. name, picture, web, LUD16, etc.) |
| 67 | * `k` tags' value is the event kind that is supported by this `kind:31990`. | 67 | * `k` tags' value is the event kind that is supported by this `kind:31990`. |
| 68 | Using a `k` tag(s) (instead of having the kind onf the NIP-33 `d` tag) provides: | 68 | Using a `k` tag(s) (instead of having the kind of the `d` tag) provides: |
| 69 | * Multiple `k` tags can exist in the same event if the application supports more than one event kind and their handler URLs are the same. | 69 | * Multiple `k` tags can exist in the same event if the application supports more than one event kind and their handler URLs are the same. |
| 70 | * The same pubkey can have multiple events with different apps that handle the same event kind. | 70 | * The same pubkey can have multiple events with different apps that handle the same event kind. |
| 71 | * `bech32` in a URL MUST be replaced by clients with the NIP-19-encoded entity that should be loaded by the application. | 71 | * `bech32` in a URL MUST be replaced by clients with the NIP-19-encoded entity that should be loaded by the application. |