algorand-x402-typescript
Installation
SKILL.md
x402 on Algorand - TypeScript
Build x402 HTTP-native payment applications on Algorand with TypeScript. Use the reference files below for detailed guidance on each component.
TypeScript Quick Start
# Core + AVM mechanism + key/signer helpers from algokit-utils
npm install @x402/core @x402/avm @algorandfoundation/algokit-utils
# Server middleware (pick one)
npm install @x402/express # Express.js
npm install @x402/hono # Hono
npm install @x402/next # Next.js
# HTTP clients (pick one)
npm install @x402/fetch # Fetch API (re-exports x402Client, wrapFetchWithPayment)
npm install @x402/axios # Axios (re-exports x402Client, wrapAxiosWithPayment)