upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/15.md
diff options
context:
space:
mode:
authorTiago Vasconcelos <talvasconcelos@gmail.com>2023-09-08 13:10:59 +0100
committerGitHub <noreply@github.com>2023-09-08 09:10:59 -0300
commitc567f2e4d6fa4e79585e83b6e6d9313217295582 (patch)
tree29ae863a944af0502da823e951ad2658e6871f46 /15.md
parent74611d2580004e8384b77048a346c2e0b2a47890 (diff)
Add description to event 30019 (#768)
Diffstat (limited to '15.md')
-rw-r--r--15.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/15.md b/15.md
index 01ef05b..edece81 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
220 "shipped": <Bool, true/false has been shipped>, 220 "shipped": <Bool, true/false has been shipped>,
221} 221}
222``` 222```
223## Customize Marketplace
224Create 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.
225
226### Event `30019`: Create or update marketplace UI/UX
227
228**Event Content**:
229```json
230{
231 "name": <String (optional), market name>,
232 "about": <String (optional), market description>,
233 "ui": {
234 "picture": <String (optional), market logo image URL>,
235 "banner": <String (optional), market logo banner URL>,
236 "theme": <String (optional), market theme>,
237 "darkMode": <Bool, true/false>
238 },
239 "merchants": <[String] (optional), array of pubkeys>,
240 ...
241}
242```
243
244This event leverages naddr to enable comprehensive customization and sharing of marketplace configurations, fostering a unique and engaging marketplace environment.
223 245
224## Customer support events 246## Customer support events
225 247