From 6ffa75b9947c373525e194f8c01dc434b4e18737 Mon Sep 17 00:00:00 2001 From: Tiago Vasconcelos Date: Mon, 29 May 2023 11:39:45 +0100 Subject: [PATCH] Add 30019 Add an event `30019` to use `naddr` for customized UI/UX --- 15.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/15.md b/15.md index f8df3284..9bddb750 100644 --- a/15.md +++ b/15.md @@ -204,6 +204,25 @@ 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). Include relays, merchants, color, banner, etc... + +### Event `30019`: Create or update marketplace UI/UX + +**Event Content**: +```json +{ + "name": , + "about": , + "ui": { + "picture": , + "banner": , + "theme": + }, + "merchants": <[String] (optional), array of pubkeys>, + ... +} +``` ## Customer support events