Decommerce Prompt ( NIP99)

This document clarifies the technical model and provides a concrete prompt you can use to create an interoperable, self-hosted shop.

Cypher

31. Januar 2026January 31, 2026 · 5 Min. Lesezeit5 min read

This document clarifies the technical model and provides a concrete prompt you can use to create an interoperable, self-hosted shop.


The 2.5 Levels of Online Commerce#

Level 1 — Type of Commerce Space#

This level defines the structural model of commerce.


Level 2 — Operator Model (the “Matrix” Layer)#

This level defines how the shop operates legally and operationally.

A. Law-Compliant / Circular Economy Commerce

Examples include farm-to-table sales, farmers markets, and local P2P trade.

The underlying assumption is that small-scale, peer-to-peer commerce is legal in most jurisdictions and forms the foundation of innovation and company creation.

As long as:

Operations should remain viable. This model does, however, require active listing oversight through whitelisting or moderation.

B. Non-Compliant Commerce

This applies when products fall outside the existing legal framework.

This operator model requires two additional considerations from day one:

  1. Hosted environment and infrastructure
    Decisions around hosting, connectivity, and runtime environment (e.g. Nsite-style deployments).

  2. Full operational security (OPSEC)
    Secure communications with customers, careful handling of shipping data, and disciplined operational practices from the outset.


What Is the Focus Here?#

It is already possible to clone or run existing projects such as Shopstr or Plebeian and operate a marketplace-style platform, depending on legal posture and technical capability.

That problem space is largely solved.

What makes more sense in 2026 is enabling small, independent shops that:

The goal is to provide a prompt that allows a user, for a small fee, to generate a complete project they can deploy and own.


Why Document a Prompt?#

Traditional CMS-based shops are centered around account creation and backend servers. Guest checkout exists, but it is rarely the primary design assumption.

Designing a shop without a backend server requires a clear, step-by-step checkout and order flow. Proper documentation of this process is essential to creating a simple, functional commerce experience.


Prompt #1 — Basic NIP-99 Shop

Build a Nostr shop using the NIP-99 specification.


Global Requirements#


Page 1 — Product Overview#

Data Source#

Layout#

Routing#


Page 2 — Individual Product Page#

Data Loading#

Functionality#

Cart Behavior#


Page 3 — Shopping Cart and Checkout Flow#

Empty Cart State#


Checkout Flow#

Step 1 — Cart Overview


Step 2 — Shipping Details Form

Collect the following fields:


Step 3 — Order Review and Confirmation

Display:

Order ID

Confirmation Options

Order Submission


Step 4 — Payment


Step 5 — Payment Confirmation

##decommerce#1#nip99

Written by

Comments

No comments yet. Start the conversation.

Contents

7 sections

  1. The 2.5 Levels of Online Commerce
  2. What Is the Focus Here?
  3. Why Document a Prompt?
  4. Global Requirements
  5. Page 1 — Product Overview
  6. Page 2 — Individual Product Page
  7. Page 3 — Shopping Cart and Checkout Flow