This folder contains Typescript packages to help developers implement the x402 protocol in their front-end and back-end applications.
| Package |
Description |
Latest version |
@x402/core |
Transport-agnostic client, server, and facilitator components. |
 |
@x402/extensions |
Additional functionality built on top of x402 (Bazaar, Sign-in-with-x). |
 |
@x402/mcp |
MCP server integration for x402. |
 |
| Package |
Description |
Latest version |
@x402/axios |
Axios interceptor for x402 payment flows. |
 |
@x402/express |
Express middleware for x402-protected routes. |
 |
@x402/fastify |
Fastify middleware for x402-protected routes. |
 |
@x402/fetch |
Fetch wrapper for x402 payment handling. |
 |
@x402/hono |
Hono middleware for x402 integrations. |
 |
@x402/next |
Next.js integration for x402. |
 |
@x402/paywall |
Browser paywall UI for x402-enabled apps. |
 |
| Package |
Description |
Latest version |
EVM - @x402/evm |
EVM implementation of x402 using the Exact payment scheme. |
 |
Algorand - @x402/avm |
AVM implementation of x402 using ASA transfers. |
 |
Aptos - @x402/aptos |
Aptos implementation of the x402 payment protocol. |
 |
Stellar - @x402/stellar |
Stellar implementation of x402 using Soroban token transfers. |
 |
Solana - @x402/svm |
SVM implementation of x402 using SPL token transfers. |
 |