explain-algorand-x402-python
Installation
SKILL.md
x402-avm Python Package for Algorand
The x402-avm Python package provides Algorand (AVM) payment protocol support through a modular extras system, Protocol-based signer interfaces, and async/sync variants for every component.
Prerequisites
Before using this skill, ensure:
- Python 3.10+ is installed
- pip is available for package installation
- Understanding of x402 protocol -- client sends request, gets 402, creates payment, retries with payment header
Core Concept: Extras-Based Installation
The x402-avm package uses pip extras to install only what you need. The package name on PyPI is x402-avm but all imports use from x402... (not from x402_avm...).
# Minimal AVM support
pip install "x402-avm[avm]"