Deprecated Documentation
Reference documentation for older SDK versions. For new projects, use the current v1.0.0 SDK.
These docs are for reference only. The v0.x SDKs are no longer maintained. Please migrate to v1.0.0.
What Changed in v1.0.0
Version 1.0.0 is a complete redesign. The Primer SDK is now a companion to the official x402 SDK rather than a standalone implementation:
| v0.x (Deprecated) | v1.0.0 (Current) |
|---|---|
| Full payer/payee implementation | Uses official @x402/core SDK |
| Custom wallet utilities | Uses viem / web3.py |
| Built-in HTTP client wrappers | Uses official @x402/express, @x402/hono |
| CLI: wallet, probe, pay, networks | CLI: project scaffolding only |
| OpenClaw integration built-in | Focused on Primer infrastructure |
Archived Documentation
The following v0.x documentation is preserved for users who need to maintain legacy integrations:
SDK Overview (v0.x)
Original introduction to the x402 protocol and SDK architecture.
TypeScript SDK (v0.x)
Express, Hono, Next.js middleware. Fetch/Axios wrappers. Full CLI reference.
Python SDK (v0.x)
Flask, FastAPI middleware. Requests/httpx wrappers. Full CLI reference.