mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Add description to event 30019 (#768)
This commit is contained in:
parent
74611d2580
commit
c567f2e4d6
22
15.md
22
15.md
|
@ -220,6 +220,28 @@ The below json goes in `content` of [NIP04](https://github.com/nostr-protocol/ni
|
|||
"shipped": <Bool, true/false has been shipped>,
|
||||
}
|
||||
```
|
||||
## Customize Marketplace
|
||||
Create a customized user experience using the `naddr` from [NIP-19](https://github.com/nostr-protocol/nips/blob/master/19.md#shareable-identifiers-with-extra-metadata). The use of `naddr` enables easy sharing of marketplace events while incorporating a rich set of metadata. This metadata can include relays, merchant profiles, and more. Subsequently, it allows merchants to be grouped into a market, empowering the market creator to configure the marketplace's user interface and user experience, and share that marketplace. This customization can encompass elements such as market name, description, logo, banner, themes, and even color schemes, offering a tailored and unique marketplace experience.
|
||||
|
||||
### Event `30019`: Create or update marketplace UI/UX
|
||||
|
||||
**Event Content**:
|
||||
```json
|
||||
{
|
||||
"name": <String (optional), market name>,
|
||||
"about": <String (optional), market description>,
|
||||
"ui": {
|
||||
"picture": <String (optional), market logo image URL>,
|
||||
"banner": <String (optional), market logo banner URL>,
|
||||
"theme": <String (optional), market theme>,
|
||||
"darkMode": <Bool, true/false>
|
||||
},
|
||||
"merchants": <[String] (optional), array of pubkeys>,
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
This event leverages naddr to enable comprehensive customization and sharing of marketplace configurations, fostering a unique and engaging marketplace environment.
|
||||
|
||||
## Customer support events
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user