Update 51.md

- Change "listing" tag to "a" tag to support both NIP-15 and NIP-99 listings
- Separate cart from wishlist
This commit is contained in:
calvadev⚡️ 2024-10-26 09:53:54 -07:00 committed by GitHub
parent 74fa43979d
commit b0ddb0cd33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
51.md
View File

@ -35,7 +35,8 @@ For example, _mute list_ can contain the public keys of spammers and bad actors
| DM relays | 10050 | Where to receive [NIP-17](17.md) direct messages | `"relay"` (see [NIP-17](17.md)) | | DM relays | 10050 | Where to receive [NIP-17](17.md) direct messages | `"relay"` (see [NIP-17](17.md)) |
| Good wiki authors | 10101 | [NIP-54](54.md) user recommended wiki authors | `"p"` (pubkeys) | | Good wiki authors | 10101 | [NIP-54](54.md) user recommended wiki authors | `"p"` (pubkeys) |
| Good wiki relays | 10102 | [NIP-54](54.md) relays deemed to only host useful articles | `"relay"` (relay URLs) | | Good wiki relays | 10102 | [NIP-54](54.md) relays deemed to only host useful articles | `"relay"` (relay URLs) |
| Cart/wishlist | 10402 | [NIP-99](99.md) listings the user wants to purchase or have purchased | `"listing"` ([NIP-99](99.md) listing event IDs) | | E-commerce cart | 10402 | [NIP-15](15.md) and [NIP-99](99.md) listings the user wants to purchase | `"a"` (kind:30018 and/or kind:30402 listing set) |
| E-commerce wishlist | 10420 | [NIP-15](15.md) and [NIP-99](99.md) listings the user wants to later purchase | `"a"` (kind:30018 and/or kind:30402 listing set) |
## Sets ## Sets