{"repo":"Dhaiwat10/x402-sovereign","free":true,"listed":false,"github":"https://github.com/Dhaiwat10/x402-sovereign","clone":"git clone https://github.com/Dhaiwat10/x402-sovereign.git","description":"Self-hosted x402 facilitator.","language":"TypeScript","stars":63,"topics":[],"license":null,"category":"self-hosted-apps","readme_excerpt":"@x402-sovereign/core Self-hosted x402 facilitator. This package lets an API seller run their own x402 facilitator instead of pointing paymentMiddleware at Coinbase. When you run this, you become the thing that: - tells the middleware which networks you support ( /supported ) - verifies a buyer’s signed payment intent ( /verify ) - settles that intent on-chain by pulling funds from the buyer ( /settle ) No external facilitator. No Coinbase account. Your own infra. --- What this gives you - Drop-in replacement for Coinbase’s facilitator URL You point paymentMiddleware at your server instead of theirs. - EVM-only for now (Base / Base Sepolia etc.) - Framework adapters included Built-in adapters for Hono and Express. Or use the framework-agnostic core with any HTTP server. --- Quick Start Option 1: Using Built-in Adapters (Recommended) With Hono: With Express: Option 2: Manual Setup (Any Framework) Then configure paymentMiddleware with your own facilitator URL: After that: - clients hitting /protected-route see the normal x402 payment flow - your server calls your facilitator - settlement happens with your key on-chain - Coinbase is not in the loop --- API new Facilitator({ evmPrivateKey, networks, minConfirmations? }) - evmPrivateKey : EVM private key used to settle payments (this account pays gas and receives funds) - networks : array of viem Chain objects you want to support (e.g. baseSepolia ) - minConfirmations (optional): planned, not enforced yet listSupportedKinds(): { ki","default_branch":null,"files":null,"tree":[],"storefront":"/r/Dhaiwat10","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Dhaiwat10/x402-sovereign/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}