DEV Community

victordeflos
victordeflos

Posted on

We built x402 middleware before the hyperscalers fragmented the standard

In April 2026, the Linux Foundation made x402 a public standard — backed by Coinbase, Google, AWS, Stripe, Visa, Cloudflare.

Two months later, the facilitators are already diverging.

Coinbase CDP rejects valid upto payloads. OpenGradient uses Permit2. OpenLedger uses EIP-712. Same standard, three incompatible implementations. AI agents lose money on every failed inference call.

@decision3/interouter-core is the first facilitator-agnostic middleware for x402. Unified 5-stage payment lifecycle: readState → preparePayment → sign → submit → awaitFinality

What's live today (v0.1.7):

  • OpenLedgerAdapter (Base, EIP-712)
  • OpenGradientAdapter (Base Sepolia, Permit2)
  • NearAdapter (native NEAR payments)
  • Fallback routing + circuit breaker
  • 59/59 tests passing
  • MIT licensed

npm install @decision3/interouter-core

GitHub: github.com/decision3-ai/interouter
Website: decision3.ai

So we built Interouter.

Top comments (0)