Menu

Explorer & Settings

Tempo Explorer Submit Project
Back to all projects

x402lint

by rawgroundbeef · Updated 41 days ago

x402 Linter

In the AI payments ecosystem

x402lint is an early-stage TypeScript project in the AI payments / x402 ecosystem, focused on agents, lint, payments, x402. It currently has 3 GitHub stars and 2 forks, and sits alongside related tools like pinion-os, mainnet-x402-facilitator, protocol-commercial, pinion-os, agent-kit, dexter-x402-sdk.

README.md View on GitHub →

x402lint — Lint for x402

x402lint

Validate x402 payment configurations. Checks structure, address formats, network identifiers, and more — with zero dependencies.

x402lint.com — validate in the browser npmnpm i x402lint

What it does

  • Validates v1 and v2 x402 payment configs
  • Verifies EVM addresses (EIP-55 checksums) and Solana addresses (base58)
  • Checks CAIP-2 network identifiers against a known registry
  • Extracts configs from HTTP 402 responses (body or PAYMENT-REQUIRED header)
  • Normalizes any supported format to canonical v2
  • Returns structured errors and warnings with fix suggestions

Claude Skill

Teach Claude Code to create and validate x402 configs:

npx skills add https://github.com/rawgroundbeef/x402lint --skill x402lint

Monorepo structure

packages/
  x402lint/       SDK — published to npm as x402lint
  x402check/      Thin alias — re-exports x402lint
  config/         Shared TypeScript config
apps/
  website/        x402lint.com — hosted on Cloudflare Pages
    worker/       CORS proxy — Cloudflare Worker

Development

pnpm install
pnpm build:sdk
pnpm test:sdk

Links

License

MIT

All AI Agents projects →