mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-26 18:25:51 -05:00
Add 30019
Add an event `30019` to use `naddr` for customized UI/UX
This commit is contained in:
parent
b12c93c452
commit
6ffa75b994
19
15.md
19
15.md
|
@ -204,6 +204,25 @@ 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). Include relays, merchants, color, banner, etc...
|
||||
|
||||
### 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>
|
||||
},
|
||||
"merchants": <[String] (optional), array of pubkeys>,
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||
## Customer support events
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user