Skip to content

Latest commit

 

History

History

README.md

x402 Typescript SDK

This folder contains Typescript packages to help developers implement the x402 protocol in their front-end and back-end applications.

Package Description Latest version
@bankofai/x402-core Transport-agnostic client, server, and facilitator components. npm version
@bankofai/x402-extensions Additional functionality built on top of x402 (Bazaar, Sign-in-with-x). npm version
@bankofai/x402-mcp MCP server integration for x402. npm version

HTTP integrations

Package Description Latest version
@bankofai/x402-axios Axios interceptor for x402 payment flows. npm version
@bankofai/x402-express Express middleware for x402-protected routes. npm version
@bankofai/x402-fastify Fastify middleware for x402-protected routes. npm version
@bankofai/x402-fetch Fetch wrapper for x402 payment handling. npm version
@bankofai/x402-hono Hono middleware for x402 integrations. npm version
@bankofai/x402-next Next.js integration for x402. npm version

Chains implementations

Package Description Latest version
EVM - @bankofai/x402-evm EVM implementation of x402 using the Exact payment scheme. npm version
TRON - @bankofai/x402-tron TRON implementation of x402 (exact, permit, GasFree, batch-settlement). npm version