Infinite Markets: One Inventory, Every Storefront, Your Rails
- The problem it solves
- Two rails, one pipeline
- Publish once, sell everywhere
- A real back office
- Why it matters
Selling physical goods for bitcoin across the web and Nostr is still harder than it should be. Merchants often maintain separate catalogs for their own site and each marketplace, struggle to prove that an order was actually paid, and depend on relays or browser sessions that may disappear at the worst moment.
Infinite Markets is an MIT-licensed LNbits extension that makes your LNbits instance the commerce authority: one catalog, one stock count, one shipping configuration, and one Lightning settlement path—published to both your own web shop and Nostr-native marketplaces.
The problem it solves
The core issue is fragmentation. A web shop, Plebeian Market, and other NIP-99/Gamma clients can each hold their own copy of a merchant’s catalog, leading to stale prices, inventory drift, and overselling. Meanwhile, Nostr receipts or buyer-submitted payment claims are not settlement proof, and publishing an event to a relay is not the same as reliable delivery.
Infinite Markets separates responsibilities cleanly:
- Infinite Markets owns commerce state: catalog, inventory, shipping, orders, and buyer messages.
- LNbits remains the settlement authority: invoices, payment records, and the merchant’s funding source.
- Nostr is the distribution and messaging layer, not the source of truth for payment.
That distinction matters: relay delivery is never treated as payment truth, and only settled LNbits payments confirm an order.
Two rails, one pipeline
Infinite Markets supports two storefront rails from the same backend:
| Rail | What merchants get |
|---|---|
| Web | A self-hosted storefront with categories, collections, filters, themes, dark mode, embeds, private order links, and Lightning checkout. |
| Nostr | NIP-99 listings and Gamma collections, encrypted NIP-17 orders, NIP-89 deep links, and a merchant profile with NIP-05 and Lightning address. |
Every order—whether it begins on the merchant’s site or in a Nostr marketplace—follows the same pipeline:
- Validate and reprice against current catalog data.
- Atomically reserve stock with a 15-minute hold.
- Create an LNbits invoice bound to that specific order.
- Confirm settlement; release reserved inventory if the invoice expires.
This prevents duplicate invoices and double allocation of limited stock.
Publish once, sell everywhere
Merchants publish their catalog as standard Gamma/NIP-99 events signed with their own Nostr key. Buyers can then discover and purchase through the marketplace interface they already use, while the order returns to the merchant as an encrypted NIP-17 message and enters the same reservation-and-invoice workflow as a web order.
The practical result is that a marketplace becomes another storefront rather than another inventory system:
- Inventory: one stock count shared across channels.
- Shipping: merchant-defined zones and rules published for marketplaces to quote.
- Payments: every order invoiced from the merchant’s own wallet and bound to that order.
- Customers: conversations retained in the merchant’s admin regardless of the buyer’s app.
- Identity: the merchant’s Nostr key remains portable across Nostr clients.
The documentation reports a live Plebeian Market integration, including listings published by Infinite Markets and an end-to-end checkout completed on October 13: wrapped order, invoice, settlement, and status messages over public relays. Conduit Market uses the same specification and is listed as pending testing.
A real back office
Infinite Markets is not just a public storefront. Its admin includes product and catalog management, order history, encrypted customer message threads, publication status, appearance controls, and catalog import.
Notable operational features include:
- Durable relay outbox: per-relay delivery evidence, retries, and a catalog check that can identify missing, divergent, draft, stale, or deleted copies.
- Background workers: orders and relay workflows continue without requiring the merchant’s browser or signer to remain online.
- Catalog imports: Shopify CSV, Infinite Markets CSV, nostrmarket JSON, and signed NIP-15 event dumps can be imported as hidden drafts for review before publishing.
- Embeds: merchants can embed product cards without an iframe using
gm-embed.js, or use an iframe embed with automatic height messaging. - Storefront modes:
full,showcase,browse_only, andnostr_only, allowing merchants to control whether web browsing, web checkout, Nostr listings, and Nostr ordering are enabled.
Why it matters
Infinite Markets is a practical attempt to make self-custodial bitcoin commerce less brittle. Instead of treating Nostr as a replacement for commerce infrastructure, it uses Nostr for what it is good at—open publishing, portable identity, and encrypted messaging—while keeping inventory, order state, and settlement under the merchant’s control.
For merchants who want to sell on their own site and emerging Nostr marketplaces without surrendering their catalog, customer relationships, or payment flow to a centralized platform, it is worth a close look.
Learn more: https://infinitemarkets-docs.vercel.app/
GitHub: https://github.com/bitkarrot/infinitemarkets
Write a comment