An x402 facilitator for Stellar with Bazaar discovery, an MCP interface and the upto scheme.
Built on the Apache-2.0 @x402/stellar
package. Status: skeleton, nothing implemented yet.
| Path | Contents |
|---|---|
apps/facilitator |
HTTP service: /verify, /settle, /supported, /discovery/*, /mcp |
apps/mcp-local |
stdio MCP server for paid calls with locally held keys |
packages/bazaar |
catalog validation, storage, ranking and search |
packages/signer-pool |
channel accounts: funding, sequence tracking, retry, fee bump |
packages/mcp |
MCP tools (search, paid call) and error codes |
packages/sdk |
seller, buyer and agent helpers (/seller, /buyer, /agent) |
packages/config |
shared network config and types |
contracts/upto-proxy |
Soroban contract for the upto scheme |
examples/ |
two end-to-end integrations |
conformance/ |
wire-level conformance runs and report |
deploy/ |
per-network config and operational scripts |
docs/ |
ADRs, runbook, monitoring, threat model, security reviews |
- Node.js 22.12+ and pnpm 11 (
corepack enable) - Rust stable with the
wasm32v1-nonetarget, and stellar-cli 25.2+ for contract builds
pnpm install
pnpm build
pnpm typecheck
pnpm test
pnpm lint
pnpm contracts:test