This skill should be used when implementing, debugging, or discussing the Gamma Markets e-commerce specification - an extension of NIP-99 for decentralized Nostr marketplaces...
The Gamma Markets specification extends NIP-99 to support full e-commerce use cases on Nostr. It was developed collaboratively by Nostr marketplace developers (Shopstr, Cypher, Plebeian, Conduit).
Source: https://github.com/GammaMarkets/market-spec
| Kind | Purpose |
|---|---|
| 30402 | Product listings |
| 30405 | Product collections |
| 30406 | Shipping options |
| 31555 | Product reviews |
| 14 | General order communication (NIP-17) |
| 16 | Order processing and status (NIP-17) |
| 17 | Payment receipts (NIP-17) |
0| Type | Purpose | Direction |
|---|---|---|
| 1 | Order creation | Buyer → Merchant |
| 2 | Payment request | Either direction (depends on payment mode) |
| 3 | Status updates | Either direction |
| 4 | Shipping updates | Merchant → Buyer |
To access detailed specifications:
Event kinds and tag structures: Read references/event-kinds.md
Order flow and message types: Read references/order-flow.md
Merchant preferences and payment modes: Read references/merchant-preferences.md
["d", "<product-id>"]
["title", "<name>"]
["price", "<amount>", "<currency>"]
["p", "<merchant-pubkey>"]
["type", "1"]
["order", "<order-id>"]
["amount", "<sats>"]
["item", "30402:<pubkey>:<d-tag>", "<quantity>"]
["p", "<merchant-pubkey>"]
["order", "<order-id>"]
["payment", "<method>", "<reference>", "<proof>"]
["amount", "<amount>"]