HTTP 402 "Payment Required" has been in the spec since the 90s and almost nobody uses it. Card rails made micropayments pointless. Solana (about $0.00025 a tx, sub-second confirms) changes that, and AI agents finally give it a real customer. ๐งต
We built real-time tracing directly into Firedancer. ๐
See shreds, votes, and every single transaction at 10ns accuracy: https://t.co/yepReQoQ2j IMO the coolest feature this release, and wild tech to enable it.
@pablomanjarress Honestly the scariest part was watching it NOT go on a shopping spree ๐ Even with a capped wallet and a tiny budget, it still felt like handing my kid a credit card
Love seeing this go live. I built the DIY version this week (HTTP 402 + Solana + an MCP tool) and watching Claude Code pay for its own API call still makes me grin ๐ค๐ธ
https://t.co/RWS2uCAYNj
Solana Foundation and Google Cloud built https://t.co/sYABkvjxJu so AI agents can buy API calls. On crypto rails.
https://t.co/sYABkvjxJu is live. Here's how it actually works:
1. Link a Solana wallet to Claude Code, Codex, Gemini, or similar
2. Top up with a card or stablecoin (onramp in about 60 seconds, per their docs)
3. The agent hits a paid API. The server returns HTTP 402 (x402 / MPP)
4. https://t.co/sYABkvjxJu pays from the wallet balance. The payment is the credential โ no Google account, no API key
5. Settlement runs in stablecoins on Solana, then gets reconciled to the provider
Official Google Cloud APIs in the gateway: Gemini, BigQuery, BigTable, Cloud Run, Gemini Enterprise Agent Platform. The open registry listed 76 community providers as of its Oct 14 snapshot.
No accounts. No subscriptions. Per-request only.
Will agents buy most of their APIs this way by end of 2027? Yes or no?
@imajus Nice, refunds backed by a provider bond is a really cool take on the problem. Curious how Verdikt decides when a call didn't deliver. Is it schema checks on the response, or defined per provider?
Currently writing a post called "Parsing GraphQL in TCL: A Cry for Help."
Yes, GraphQL inside a load balancer. Yes, in an iRule. Yes, with a 65,535 character limit.
Send snacks ๐
Ok this one made me smile. I've written the getSignaturesForAddress + fetch-every-tx loop more times than I'd like to admit. One call for the whole history? Yes please ๐
https://t.co/ekCGy03RQg
HTTP 402 "Payment Required" has been in the spec since the 90s and almost nobody uses it. Card rails made micropayments pointless. Solana (about $0.00025 a tx, sub-second confirms) changes that, and AI agents finally give it a real customer. ๐งต
#NGINX's NJS module has shared state. It's fast, it's cross-worker, and it works great... until the service restarts. What did I do? Built my own KV store of course with #Rust and #WASM.
https://t.co/lJHdwIGjgP
NJS shared state is fast and it works across workers. It also dies the moment NGINX restarts. I got tired of treating "shared" memory like a cache, so I wrote a KV store in Rust and compiled it to WASM.
No NJS in the end. It's a proxy-wasm filter in nginx via ngx_wasm_module. Shared memory is the hot layer, and every write also flushes to a JSON file that's reloaded on startup. If your shared state can't survive a restart, it isn't shared. It's a cache with extra confidence.
@0xeddiekim Good catch, that's a real race. Better to claim the signature atomically before the await (a set-if-absent, or a unique key in the DB) and release it if verification fails. A recheck narrows the window but doesn't close it.
Full walkthrough plus a starter repo with the API, agent and MCP server on devnet:
https://t.co/kY7gSteqZp
https://t.co/VP6QgHTxwD
Next I want to wire 402 into a React app with Phantom. Would you use that?