Getting Started
LumenBazaar is delivered as four separate repositories. Start by choosing the path that matches your role, then bring up the repositories in dependency order.
Repository Order
Use this order for a full local environment:
lumenbazaar-backendlumenbazaar-contractslumenbazaar-frontendlumenbazaar-docs
The backend comes first because it owns the facilitator API, Bazaar discovery API, MCP server, SDK packages, examples, workers, generated OpenAPI output, and conformance runner. The contracts repo becomes required when testing upto sessions. The frontend depends on backend APIs, and the docs repo links to all of them.
Required Local Services
A complete local stack needs:
- PostgreSQL for sellers, resources, payment attempts, settlements, receipts, catalog events, conformance runs, and operational state.
- Redis for queues and rate-limit support.
- A search index, starting with PostgreSQL full-text search and optionally moving to Meilisearch, Typesense, or pgvector-backed ranking.
- Backend API for x402, discovery, resources, payments, sellers, and conformance.
- Worker process for settlement confirmation, resource indexing, search sync, network health, receipt finalization, and stale payment cleanup.
- MCP server for agent-facing paid resource search and calls.
- Frontend dashboard for sellers, buyers, operators, and reviewers.
- Docs site for architecture, guides, reference material, operations, funding, and security.
Local Documentation Setup
From this repository:
npm install
npm run start
Run the local checks before opening a pull request:
npm run lint
npm run links
npm run build
Role-Based Paths
Sellers should start with:
Buyers should start with:
AI agent developers should start with:
Operators should start with:
Contributors should start with:
Reviewers, funders, and security auditors should start with:
Network Progression
Implementation should progress in this order:
- Local mock and integration tests.
- Stellar testnet verification and settlement evidence.
- Staging deployment with monitoring and conformance checks.
- Mainnet launch only after operational and security gates are complete.
The docs should never describe local checks as live-network proof, and testnet transaction hashes should not be presented as mainnet settlement evidence.