Selling a blog post with x402, and everything the quickstart leaves out
A working x402 paywall on a Next.js blog, from the 402 header to the settled USDC: what the protocol really sends, which facilitators settle on mainnet, the three things that break in a browser and the signed cookie plus one line of JavaScript that fix them, and the leaks you have to close before you charge anyone.
12 min readRead more →