Resmi Sağlayıcı Skill'iView repo
Write code that pays for an HTTP API returning 402 Payment Required, using the x402 protocol and a CDP-managed wallet. Covers TypeScript and Python. Use when the user wants to call a paid endpoint from their own application or agent, add x402 payments to an HTTP client, hit an API that charges per request, migrate an existing x402 client off a raw private key, or is stuck on an unexpected 402 response.
Dosyalar1 dosya
SKILL.md238 satır
Loading editor…
Kurulum
ÖnerilenTek komut — ajanınız otomatik olarak devreye alır.
Kurulum komutunu görmek için yukarıdan bir AI aracı seçin.
veya
Manuel Kurulum
Daha fazla adımDosyayı indirin ve ajanınızın sistem istemine yapıştırın.
Skill detayları
Versiyonv1.0.0
YazarCoinbase
Kategoricoding
Skill IDcoinbase/cdp-sdk/skills/build-x402-client
İlgili skill'ler
Build X402 ServerWrite code that charges for an HTTP route with the x402 protocol and receives USDC in a
CDP-managed wallet. Covers TypeScript (Express, Hono, Next.js) and Python (FastAPI, Flask). Use
when the user wants to monetize an API, price a route per request, put a paywall in front of an
endpoint, accept payments from agents, or add x402 to a server they already run.Bump X402 DependenciesBumps every @x402/* package (the optional peer dependencies in the CDP TypeScript SDK, the pinned dev dependencies used to test the SDK against x402, and the dependencies in every TypeScript x402 example) to the latest lockstep-released version, then verifies the SDK and all examples still build, lint, format, and typecheck. Use when the user asks to bump, update, or sync x402 (or @x402) dependencies/peer dependencies in cdp-sdk, or when a new x402 release needs to be picked up across the repo.Coinbase ConvertQuote, approve, execute, and verify supported Coinbase currency conversions through remote MCP or local CLI, such as USD and USDC. Use for fiat/stablecoin conversion requests, not crypto buy/sell orders.Coinbase EquitiesPlan and manage eligible Coinbase stock or ETF orders through remote MCP or local CLI. Use for equity product selection, regular/extended sessions, whole-share constraints, trade dates, halts, and unavailable previews. These are real orders.Coinbase PortfoliosRead Coinbase balances and positions, list or manage portfolios, and transfer funds between portfolios through remote MCP or local CLI. Use for portfolio selection, account scope, portfolio creation/renaming/deletion, and internal transfers.Coinbase TradingPreview, place, verify, edit, cancel, or close Coinbase orders through remote MCP or local CLI. Use for crypto buy/sell requests, limits, stops, advanced orders, and order management; load the equity or futures companion for those products. These are real financial actions.