sailorpepe (sailorpepe)

sailorpepe

0 Followers

Recent casts

Top casts

Shipping an x402 paid API from a Mac Mini in my closet. 7 endpoints live on Coinbase's agentic market. 9+ USDC settlements on Base so far. Hardest part wasn't the code β€” it was getting the Facilitator to actually index my endpoints. Here's what I learned building on x402 🧡 @sailorpepe

  • 1 reply
  • 0 recasts
  • 0 reactions

Lesson 1: The Facilitator only indexes your endpoint AFTER two things happen: 1. On-chain USDC settlement succeeds 2. Your server returns HTTP 2xx If your endpoint returns 422 or 500, the payment goes through but you're invisible on the marketplace. Silently.

  • 1 reply
  • 0 recasts
  • 0 reactions

Lesson 2: FastAPI's JSONResponse silently strips custom HTTP headers. My server was returning the x402 Payment-Required header correctly β€” but FastAPI was wiping it before it reached the client. Had to manually intercept and re-inject the header. Cost me 6 hours to find.

  • 1 reply
  • 0 recasts
  • 0 reactions

Built an MCP server that tracks 370K trading cards across 25 games with Monte Carlo pricing and AI grading. It's live on Coinbase's x402 bazaar β€” any agent can pay USDC per query, no API keys. pip install tcg-oracle-tools 12-min walkthrough: https://x.com/sailorpepe_eth/status/2046607905923678266?s=46 @sailorpepe

  • 0 replies
  • 0 recasts
  • 0 reactions

Onchain profile

Ethereum addresses