From c567f2e4d6fa4e79585e83b6e6d9313217295582 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Fri, 8 Sep 2023 13:10:59 +0100 Subject: [PATCH] Add description to event 30019 (#768) --- 15.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/15.md b/15.md index 01ef05bf..edece818 100644 --- a/15.md +++ b/15.md @@ -220,6 +220,28 @@ The below json goes in `content` of [NIP04](https://github.com/nostr-protocol/ni "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": , + "about": , + "ui": { + "picture": , + "banner": , + "theme": , + "darkMode": + }, + "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