Algorand MPP SDK Documentation
April 13, 2026 ยท View on GitHub
Machine Payments Protocol (MPP) SDK for Algorand
The Algorand MPP SDK implements the Machine Payments Protocol for the Algorand blockchain, enabling HTTP-native micropayments using the 402 Payment Required status code. It allows any HTTP API to charge for access using native ALGO or Algorand Standard Assets (ASAs) like USDC.
Built on @algorandfoundation/algokit-utils (no algosdk dependency) and the mppx protocol library.
Table of Contents
| Document | Description |
|---|---|
| What is MPP? | Overview of the Machine Payments Protocol |
| Algorand Charge Spec | The Algorand-specific charge method specification |
| Architecture | SDK architecture, modules, and design decisions |
| Payment Flows | Server-broadcast and fee sponsorship |
| Demo Guide | Demo application features, scenarios, and setup |
| Demo README | Demo quick start, configuration, and API reference |
| Cloudflare Demo Guide | Cloudflare Workers deployment of the demo |
| Cloudflare Demo README | Cloudflare demo quick start, wrangler.toml, and deployment |
| Full Specification | Complete Algorand MPP IETF-style specification document |