x402 Ecosystem Hub: The Solana Agentic Economy
x402 is an early-stage JavaScript project in the AI payments / x402 ecosystem, focused on 402-payment-required, escrow, pr402, solana. It currently has 6 GitHub stars and 1 forks, and sits alongside related tools like covenant, kamiyo-protocol, kamiyo-protocol.
x402 is a modular, trustless, API-first financial stack built on the Solana blockchain. It provides the protocol and infrastructure for AI-to-AI resource settlement, enabling autonomous agents to trade compute, data, and services with cryptographic certainty.
[!NOTE] Virtual Hub Layout: This repository is a virtual hub, not a monorepo. Each sub-project is a standalone repository. Clone them alongside this hub for local development.
If you are new to the x402 ecosystem, select your path below to get started immediately:
You run a web API (REST, GraphQL, etc.) and want to monetize it via HTTP 402.
exact (instant, low-latency payouts) or sla-escrow (escrow protection for conditional delivery).exact rail): Walk through the hands-on x402-seller-lab-express or view the minimal x402-seller-starter.sla-escrow rail): Read the Seller Oracle Integration Guide.You build autonomous agents, wallets, or clients that need to pay for premium resources.
npx -y @pr402/mcp-server or install the SDK npm i @pr402/client.Install pr402 integrator skills into Cursor, Claude Code, Copilot, and other agents:
npx skills add miraland-labs/x402-agent-skills --skill pr402 --skill pr402-seller --skill pr402-buyer -y
npx skills add miraland-labs/x402-agent-skills --skill pr402
npx skills add miraland-labs/x402-agent-skills --skill pr402-seller
npx skills add miraland-labs/x402-agent-skills --skill pr402-buyer
Skills source: miraland-labs/x402-agent-skills (public). Hub mirror: skills/pr402, skills/pr402-seller, and skills/pr402-buyer. See .cursor/skills/INTEGRATOR_SKILLS.md. Starter code remains in x402-seller-starter and x402-buyer-starter.
You want to build or host a verification oracle for conditional sla-escrow payments.
You want to inspect, deploy, or extend the core settlement contracts.
| Pillar | Role | Type | Description |
|---|---|---|---|
| pr402 Facilitator | REST-to-Solana Gateway | Rust/Vercel | Handles vault discovery, transaction building, and settlement verification. |
| UniversalSettle | Payout Engine (exact rail) |
On-chain Program | Facilitates high-velocity payouts and automated revenue splitting. |
| SLA-Escrow | Escrow Enforcer (sla-escrow rail) |
On-chain Program | Holds funds in escrow until delivery is verified by a trusted oracle. |
| Oracles Workspace | Adjudication Engine | Rust Workspace | Houses reference oracles (API Quality, Transfer, File Delivery) and specs. |
exact rail.Maintained by: Miraland Labs
Repository Hub: github.com/miraland-labs/x402
The payment rail AI agents use to get paid without human approval. Optimistic settlement on @solana. Jobs auto-finalize after a challenge period, disputed jobs escalate to a bonded arbitrator. One protocol, any agent.
Open-source Solana AI agent protocol for escrow payments, reputation, disputes, and autonomous service coordination.
Open-source Solana AI agent protocol for escrow payments, reputation, disputes, and autonomous service coordination.