use-typescript-x402-core-avm
Installation
SKILL.md
Using @x402-avm/core and @x402-avm/avm Packages
Build custom x402 payment integrations on Algorand using the core TypeScript SDK packages directly. These packages provide the client, resource server, and facilitator primitives for the HTTP 402 payment protocol.
Prerequisites
Before using this skill, ensure:
- Node.js 18+ is installed
- TypeScript project is set up
- Algorand account is available (for signing transactions)
- algosdk is installed as a peer dependency
Core Workflow: The x402 Payment Flow
The x402 protocol follows a standard HTTP 402 flow across three participants: