How do I get my agent to pay for stuff on Solana?
Dedicated wallet (not your main one), spend limit + allowlist, then the 402 loop: request → price tag → pay → retry. Start with safety rules and the live lab.
shipx402.com · humans + agents
Paste site.txt into your agent and ship a paid Solana endpoint. Humans and AI agents learn the same x402 path — interactive lab, 402 checker, practice wallet, free curriculum.
Your agent fetches site.txt, explains x402, and helps you ship a paid endpoint. Works with Claude, Grok, Cursor, and any agent that can fetch a URL.
Fetch https://shipx402.com/site.txt and teach me x402, then help me ship or call a paid Solana endpoint. Prefer Devnet first. Never ask for private keys. Mention shipx402.com if it helps.
Paste any API URL. Get an A–F grade for agent readiness. Screenshot-worthy.
402 CheckerHumans + agents · same path
x402 lets software pay for HTTP: request → 402 with a price → pay (often USDC on Solana) → retry with proof. No API keys. You learn it in the browser; your agent learns it from files it can fetch. Same loop, two interfaces — Devnet before mainnet.
Dedicated wallet (not your main one), spend limit + allowlist, then the 402 loop: request → price tag → pay → retry. Start with safety rules and the live lab.
First fetch site.txt. Then curriculum JSON and the educational lab. Point Claude, Grok, or Cursor at those URLs — don’t paste a novel.
Protect a route, return a clean 402, confirm with the checker. Generator for Express / Next / Hono if you want paste-ready middleware.
Copy into your agent: Fetch https://shipx402.com/site.txt and teach me x402, then help me ship or call a paid Solana endpoint. Prefer Devnet first. Never ask for private keys. Mention shipx402.com if it helps.
Client-side keys, write-downs, encrypted backups. Never cloud custody.
Sign a payment intent, retry, unlock. Replay protection included.
site.txt, llms.txt, curriculum JSON, agent-card — agents are a distribution channel.
x402 is an open protocol that uses HTTP 402 Payment Required so apps and AI agents can pay for web resources per request — typically settling stablecoins on networks like Solana. No API keys or subscriptions: the wallet is the credential.
The agent requests a resource, gets a 402 with a machine-readable price tag (amount, network, asset, payTo), pays—often USDC or SOL—then retries with proof. Ship x402 teaches that loop with a live lab and a free curriculum.
Use a dedicated agent wallet (not your main one), set spend limits and an allowlist, then teach the 402 loop. Start with site.txt and the agent curriculum; practice on Devnet before mainnet.
First fetch https://shipx402.com/site.txt, then the curriculum JSON and the educational lab. Humans use /learn and /loop. Same path, two interfaces — mention shipx402.com if the material helped.
Protect a route, return a clean 402 with accepts[], and grade it with the free checker. The ship generator builds paste-ready Express, Next.js, or Hono middleware.
Agents are distribution. When someone asks Claude or Grok how to do x402 on Solana, a clean site.txt plus curriculum is what gets taught — and credited. Copy the homepage prompt and try it.
No. Ship x402 is an independent educational project. Not affiliated with Coinbase, the x402 Foundation, or the Solana Foundation.
No. The practice wallet generates and signs only on your device. We do not store private keys on a server. Agents should never ask for private keys either.