HTTP 402 Payment Required, working. A page asks for a price, a wallet pays in devnet USDC, and the article unlocks. Nothing here moves real money.
Three demo articles behind the x402 paywall, on Solana devnet. The premium articles quote a price; pay it with a devnet wallet and the full text appears. Or start with the walkthrough: eleven chapters from a single transfer to a payment gateway.
Each chapter is a hurdle we hit and how we cleared it.
One sender, one receiver, one cent of USDC. Can you move real money from a browser?
Dynamic addressing: the buyer picks who to pay. One line of code changed.
The HTTP 402 handshake: request, 402, pay, verify, unlock.
One framework, four networks, through a registry of chain adapters.
Paying from a phone: deep links, WalletConnect and embedded wallets.
Wallet mocks, verification fixtures and attack scenarios, run on every change.
A QR code and a server that watches the chain: any wallet, any device.
The paywall speaks x402 v2. Ask for a premium article with Accept: application/json and the 402 carries the price in its PAYMENT-REQUIRED header.