{"id":"167911bb-32ba-4ffd-b183-2ae0d61e063c","shortId":"jN8wed","kind":"skill","title":"x402","tagline":"Build internet-native payments with the x402 open protocol (x402 Foundation, Apache-2.0). Use when developing paid APIs, paywalled content, AI agent payment flows, or any service using HTTP 402 Payment Required for on-chain micropayments. Covers TypeScript (2.9.0), Python (2.6.0)","description":"# x402 Protocol Development\n\nx402 is an open standard (Apache-2.0) that activates the HTTP `402 Payment Required` status code for programmatic, on-chain payments. Originally created by Coinbase, now maintained by the [x402 Foundation](https://github.com/x402-foundation/x402). No accounts, sessions, or API keys required - clients pay with signed crypto transactions directly over HTTP.\n\n## When to Use\n\n- Building a **paid API** that accepts crypto micropayments\n- Adding **paywall** to web content or endpoints\n- Enabling **AI agents** to autonomously pay for resources\n- Integrating **MCP tools** that require payment\n- Building **agent-to-agent** (A2A) payment flows\n- Working with **EVM** (Base, Ethereum, MegaETH, Monad, Polygon, Stable, Arbitrum), **Solana**, **Stellar**, or **Aptos** payment settlement\n- Implementing **usage-based billing** with the `upto` scheme (LLM tokens, bandwidth, compute)\n- Running an **in-process facilitator** (self-facilitation) without external facilitator dependency\n\n## Core Architecture\n\nThree roles in every x402 payment:\n\n1. **Resource Server** - protects endpoints, returns 402 with payment requirements\n2. **Client** - signs payment authorization, retries request with payment header\n3. **Facilitator** - verifies signatures, settles transactions on-chain\n\nPayment flow (HTTP transport):\n```\nClient -> GET /resource -> Server returns 402 + PAYMENT-REQUIRED header\nClient -> signs payment -> retries with PAYMENT-SIGNATURE header\nServer -> POST /verify to Facilitator -> POST /settle to Facilitator\nServer -> returns 200 + PAYMENT-RESPONSE header + resource data\n```\n\n## Quick Start: Seller (TypeScript + Express)\n\n```typescript\nimport express from \"express\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402/express\";\nimport { ExactEvmScheme } from \"@x402/evm/exact/server\";\nimport { HTTPFacilitatorClient } from \"@x402/core/server\";\n\nconst app = express();\nconst payTo = \"0xYourWalletAddress\";\n\nconst facilitator = new HTTPFacilitatorClient({ url: \"https://x402.org/facilitator\" });\nconst server = new x402ResourceServer(facilitator)\n  .register(\"eip155:84532\", new ExactEvmScheme());\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET /weather\": {\n        accepts: [\n          { scheme: \"exact\", price: \"$0.001\", network: \"eip155:84532\", payTo },\n        ],\n        description: \"Weather data\",\n        mimeType: \"application/json\",\n      },\n    },\n    server,\n  ),\n);\n\napp.get(\"/weather\", (req, res) => {\n  res.json({ weather: \"sunny\", temperature: 70 });\n});\n\napp.listen(4021);\n```\n\nInstall: `npm install @x402/express @x402/core @x402/evm`\n\n## Quick Start: Buyer (TypeScript + Axios)\n\n```typescript\nimport { x402Client, wrapAxiosWithPayment } from \"@x402/axios\";\nimport { registerExactEvmScheme } from \"@x402/evm/exact/client\";\nimport { privateKeyToAccount } from \"viem/accounts\";\nimport axios from \"axios\";\n\nconst signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);\nconst client = new x402Client();\nregisterExactEvmScheme(client, { signer });\n\nconst api = wrapAxiosWithPayment(axios.create(), client);\nconst response = await api.get(\"http://localhost:4021/weather\");\n// Payment handled automatically on 402 response\n```\n\nInstall: `npm install @x402/axios @x402/evm viem`\n\n## Quick Start: Seller (Python + FastAPI)\n\n```python\nfrom fastapi import FastAPI\nfrom x402.http import FacilitatorConfig, HTTPFacilitatorClient, PaymentOption\nfrom x402.http.middleware.fastapi import PaymentMiddlewareASGI\nfrom x402.http.types import RouteConfig\nfrom x402.mechanisms.evm.exact import ExactEvmServerScheme\nfrom x402.server import x402ResourceServer\n\napp = FastAPI()\n\nfacilitator = HTTPFacilitatorClient(FacilitatorConfig(url=\"https://x402.org/facilitator\"))\nserver = x402ResourceServer(facilitator)\nserver.register(\"eip155:84532\", ExactEvmServerScheme())\n\nroutes = {\n    \"GET /weather\": RouteConfig(\n        accepts=[PaymentOption(scheme=\"exact\", pay_to=\"0xYourAddress\", price=\"$0.001\", network=\"eip155:84532\")],\n        mime_type=\"application/json\",\n        description=\"Weather data\",\n    ),\n}\napp.add_middleware(PaymentMiddlewareASGI, routes=routes, server=server)\n\n@app.get(\"/weather\")\nasync def get_weather():\n    return {\"weather\": \"sunny\", \"temperature\": 70}\n```\n\nInstall: `pip install \"x402[fastapi,evm]\"`\n\n## Quick Start: Seller (Go + Gin)\n\n```go\nimport (\n    x402http \"github.com/x402-foundation/x402/go/http\"\n    ginmw \"github.com/x402-foundation/x402/go/http/gin\"\n    evm \"github.com/x402-foundation/x402/go/mechanisms/evm/exact/server\"\n)\n\nfacilitator := x402http.NewHTTPFacilitatorClient(&x402http.FacilitatorConfig{URL: facilitatorURL})\n\nroutes := x402http.RoutesConfig{\n    \"GET /weather\": {\n        Accepts: x402http.PaymentOptions{\n            {Scheme: \"exact\", Price: \"$0.001\", Network: \"eip155:84532\", PayTo: evmAddress},\n        },\n        Description: \"Weather data\",\n        MimeType:    \"application/json\",\n    },\n}\n\nr.Use(ginmw.X402Payment(ginmw.Config{\n    Routes:      routes,\n    Facilitator: facilitator,\n    Schemes:     []ginmw.SchemeConfig{{Network: \"eip155:84532\", Server: evm.NewExactEvmScheme()}},\n}))\n```\n\nInstall: `go get github.com/x402-foundation/x402/go`\n\n## Multi-Network Support (EVM + Solana)\n\nServers can accept payment on multiple networks simultaneously:\n\n```typescript\nimport { ExactEvmScheme } from \"@x402/evm/exact/server\";\nimport { ExactSvmScheme } from \"@x402/svm/exact/server\";\n\nconst server = new x402ResourceServer(facilitator)\n  .register(\"eip155:84532\", new ExactEvmScheme())\n  .register(\"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", new ExactSvmScheme());\n\n// Route config with both networks\n\"GET /weather\": {\n  accepts: [\n    { scheme: \"exact\", price: \"$0.001\", network: \"eip155:84532\", payTo: evmAddress },\n    { scheme: \"exact\", price: \"$0.001\", network: \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", payTo: svmAddress },\n  ],\n}\n```\n\nClients register both schemes and auto-select based on server requirements:\n\n```typescript\nconst client = new x402Client();\nregisterExactEvmScheme(client, { signer: evmSigner });\nregisterExactSvmScheme(client, { signer: svmSigner });\n```\n\n## Supported Networks\n\n| Network | CAIP-2 ID | Status |\n|---------|-----------|--------|\n| Base Mainnet | `eip155:8453` | Mainnet |\n| Base Sepolia | `eip155:84532` | Testnet |\n| MegaETH Mainnet | `eip155:4326` | Mainnet (USDM default, 18 decimals) |\n| Solana Mainnet | `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` | Mainnet |\n| Solana Devnet | `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` | Testnet |\n| Stellar Mainnet | `stellar:pubnet` | Mainnet (TypeScript SDK only) |\n| Stellar Testnet | `stellar:testnet` | Testnet (TypeScript SDK only) |\n| Aptos Mainnet | `aptos:1` | Mainnet (TypeScript SDK only) |\n| Aptos Testnet | `aptos:2` | Testnet (TypeScript SDK only) |\n| Monad Mainnet | `eip155:143` | Mainnet |\n| Polygon Mainnet | `eip155:137` | Mainnet |\n| Polygon Amoy | `eip155:80002` | Testnet |\n| Stable Mainnet | `eip155:988` | Mainnet |\n| Stable Testnet | `eip155:2201` | Testnet |\n| Arbitrum One | `eip155:42161` | Mainnet |\n| Arbitrum Sepolia | `eip155:421614` | Testnet |\n| Mezo Testnet | `eip155:31611` | Testnet (mUSD, Permit2 + EIP-2612) |\n| Avalanche | `eip155:43114` | Via community facilitators |\n\nDefault facilitator (`https://x402.org/facilitator`) supports Base Sepolia, Solana Devnet, and Stellar Testnet.\n\n## SDK Packages\n\n### TypeScript v2.9.0 ([npm](https://www.npmjs.com/org/x402), [GitHub](https://github.com/x402-foundation/x402/tree/main/typescript))\n| Package | Purpose |\n|---------|---------|\n| `@x402/core` | Core types, client, server, facilitator |\n| `@x402/evm` | EVM exact + upto schemes (EIP-3009, Permit2). Upto via `@x402/evm/upto/*` subpaths |\n| `@x402/svm` | Solana scheme (SPL TransferChecked) |\n| `@x402/stellar` | Stellar scheme (SEP-41 Soroban token transfers) |\n| `@x402/aptos` | Aptos scheme (Fungible Asset transfers) |\n| `@x402/express` | Express middleware |\n| `@x402/fastify` | Fastify middleware (not yet published on npm) |\n| `@x402/hono` | Hono edge middleware |\n| `@x402/next` | Next.js middleware |\n| `@x402/axios` | Axios interceptor |\n| `@x402/fetch` | Fetch wrapper |\n| `@x402/paywall` | Browser paywall UI |\n| `@x402/mcp` | MCP client + server |\n| `@x402/extensions` | Bazaar, offer-receipt, payment-identifier, sign-in-with-x, gas sponsoring |\n\n### Python v2.6.0 ([PyPI](https://pypi.org/project/x402/), [GitHub](https://github.com/x402-foundation/x402/tree/main/python))\n```bash\npip install \"x402[httpx]\"      # Async HTTP client\npip install \"x402[requests]\"   # Sync HTTP client\npip install \"x402[fastapi]\"    # FastAPI server\npip install \"x402[flask]\"      # Flask server\npip install \"x402[svm]\"        # Solana support\npip install \"x402[mcp]\"        # MCP integration\npip install \"x402[extensions]\" # Extensions (bazaar, gas sponsoring, etc.)\npip install \"x402[all]\"        # Everything\n```\n\n### Go v2.7.0 ([GitHub](https://github.com/x402-foundation/x402/tree/main/go))\n```bash\ngo get github.com/x402-foundation/x402/go\n```\n\n## Key Concepts\n\n- **Client/Server/Facilitator**: The three roles in every payment. Client signs, server enforces, facilitator settles on-chain. See `references/core-concepts.md`\n- **Wallet**: Both payment mechanism and identity for buyers/sellers. See `references/core-concepts.md`\n- **Networks & Tokens**: CAIP-2 identifiers, EIP-3009 tokens on EVM, SPL on Solana, custom token config. See `references/core-concepts.md`\n- **Scheme**: Payment method. `exact` = transfer exact amount; `upto` = authorize max, settle actual usage (TS + Go, EVM Permit2 only). See `references/evm-scheme.md`, `references/svm-scheme.md`, `references/stellar-scheme.md`, `references/upto-scheme.md`, `references/aptos-scheme.md`\n- **Self-facilitation**: Run an in-process facilitator instead of calling an external URL. See `references/typescript-sdk.md`, `references/go-sdk.md`\n- **Transport**: How payment data is transmitted (HTTP headers, MCP `_meta`, A2A metadata). See `references/transports.md`\n- **Extensions**: Optional features (bazaar discovery, offer-receipt attestations, payment-identifier idempotency, sign-in-with-x auth, gas sponsoring). See `references/extensions.md`\n- **Hooks**: Lifecycle callbacks on client/server/facilitator (TS, Python, Go). See `references/lifecycle-hooks.md`\n- **Protocol types**: `PaymentRequired`, `PaymentPayload`, `SettlementResponse`. See `references/protocol-spec.md`\n- **Custom tokens**: Use `registerMoneyParser` for non-USDC tokens, Permit2 for non-EIP-3009 tokens. See `references/evm-scheme.md`\n- **Mainnet deployment**: Switch facilitator URL, network IDs, and wallet addresses. See `references/core-concepts.md`\n\n## References\n\n| File | Content |\n|------|---------|\n| `references/core-concepts.md` | HTTP 402 foundation, client/server/facilitator roles, wallet identity, networks, tokens, custom token config, dynamic registration, self-hosted facilitator, mainnet deployment |\n| `references/protocol-spec.md` | v2 protocol types, payment flow, facilitator API, error codes |\n| `references/typescript-sdk.md` | TypeScript SDK patterns for server, client, MCP, paywall, facilitator |\n| `references/python-sdk.md` | Python SDK patterns for server, client, MCP (server + client), facilitator |\n| `references/go-sdk.md` | Go SDK patterns for server, client, MCP, facilitator, signers, custom money parser |\n| `references/evm-scheme.md` | EVM exact scheme: EIP-3009, Permit2, default asset resolution, registerMoneyParser, custom tokens |\n| `references/svm-scheme.md` | Solana exact scheme: SPL TransferChecked, verification rules, duplicate settlement mitigation |\n| `references/stellar-scheme.md` | Stellar exact scheme: SEP-41 Soroban token transfers, ledger-based expiration, fee sponsorship, TypeScript SDK only |\n| `references/upto-scheme.md` | Upto (usage-based) scheme: authorize max amount, settle actual usage. EVM via Permit2 only |\n| `references/aptos-scheme.md` | Aptos exact scheme: fungible asset transfers, fee payer sponsorship, TypeScript SDK only |\n| `references/transports.md` | HTTP, MCP, A2A transport implementations |\n| `references/extensions.md` | Bazaar, payment-identifier, sign-in-with-x, gas sponsoring (eip2612 + erc20) extensions |\n| `references/lifecycle-hooks.md` | Client/server/facilitator hooks (TypeScript, Python, Go), hook chaining, MCP hooks |\n\n## Official Resources\n\n- GitHub: https://github.com/x402-foundation/x402\n- Spec: https://github.com/x402-foundation/x402/tree/main/specs\n- Docs: https://docs.x402.org\n- Website: https://x402.org\n- Ecosystem: https://x402.org/ecosystem\n- Foundation Charter: https://github.com/x402-foundation/x402/tree/main/foundation","tags":["x402","skills","tenequm","agent-skills","ai-agents","claude-code","claude-skills","clawhub","erc-8004","mpp","openclaw","solana"],"capabilities":["skill","source-tenequm","skill-x402","topic-agent-skills","topic-ai-agents","topic-claude-code","topic-claude-skills","topic-clawhub","topic-erc-8004","topic-mpp","topic-openclaw","topic-skills","topic-solana","topic-x402"],"categories":["skills"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/tenequm/skills/x402","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add tenequm/skills","source_repo":"https://github.com/tenequm/skills","install_from":"skills.sh"}},"qualityScore":"0.461","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 23 github stars · SKILL.md body (12,613 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T01:01:41.782Z","embedding":null,"createdAt":"2026-04-18T23:05:32.848Z","updatedAt":"2026-04-22T01:01:41.782Z","lastSeenAt":"2026-04-22T01:01:41.782Z","tsv":"'-2':655,988 '-2.0':15,54 '-2612':762 '-3009':808,991,1202 '-41':823,1226 '/ecosystem':1316 '/facilitator':295,444,773 '/org/x402),':789 '/project/x402/),':885 '/resource':224 '/settle':247 '/verify':243 '/weather':309,326,454,482,525,606 '/x402-foundation/x402':1304 '/x402-foundation/x402).':82 '/x402-foundation/x402/go':561,954 '/x402-foundation/x402/go/http':508 '/x402-foundation/x402/go/http/gin':512 '/x402-foundation/x402/go/mechanisms/evm/exact/server':516 '/x402-foundation/x402/tree/main/foundation':1321 '/x402-foundation/x402/tree/main/go))':948 '/x402-foundation/x402/tree/main/python))':889 '/x402-foundation/x402/tree/main/specs':1308 '/x402-foundation/x402/tree/main/typescript))':793 '0.001':314,464,531,611,620 '0x':372 '0xyouraddress':462 '0xyourwalletaddress':287 '1':189,706 '137':727 '143':722 '18':675 '2':199,714 '2.6.0':44 '2.9.0':42 '200':252 '2201':742 '3':209 '3009':1113 '31611':757 '402':32,59,195,227,396,1134 '4021':335 '4021/weather':391 '42161':747 '421614':752 '43114':765 '4326':671 '5eykt4usfv8p8njdtrepy1vzqkqzkvdp':680 '70':333,491 '80002':732 '8453':661 '84532':303,317,450,467,534,553,592,614,666 '988':737 'a2a':136,1055,1271 'accept':107,310,456,526,570,607 'account':84 'activ':56 'actual':1014,1249 'ad':110 'address':1126 'agent':24,119,133,135 'agent-to-ag':132 'ai':23,118 'amount':1009,1247 'amoy':730 'apach':14,53 'api':20,87,105,382,1160 'api.get':389 'app':283,436 'app.add':474 'app.get':325,481 'app.listen':334 'app.use':306 'application/json':323,470,541 'apto':152,703,705,711,713,828,1256 'arbitrum':148,744,749 'architectur':182 'asset':831,1205,1260 'async':483,895 'attest':1067 'auth':1077 'author':203,1011,1245 'auto':632 'auto-select':631 'automat':394 'autonom':121 'avalanch':763 'await':388 'axio':346,362,364,852 'axios.create':384 'bandwidth':166 'base':142,158,634,658,663,775,1232,1243 'bash':890,949 'bazaar':866,934,1062,1275 'bill':159 'browser':858 'build':2,102,131 'buyer':344 'buyers/sellers':982 'caip':654,987 'call':1038 'callback':1084 'chain':38,68,217,972,1296 'charter':1318 'client':90,200,222,232,375,379,385,626,640,644,648,799,863,897,904,964,1169,1179,1182,1190 'client/server/facilitator':957,1086,1136,1290 'code':63,1162 'coinbas':73 'communiti':767 'comput':167 'concept':956 'config':601,1000,1144 'const':282,285,288,296,365,374,381,386,585,639 'content':22,114,1131 'core':181,797 'cover':40 'creat':71 'crypto':94,108 'custom':998,1099,1142,1194,1208 'data':258,321,473,539,1048 'decim':676 'def':484 'default':674,769,1204 'depend':180 'deploy':1118,1152 'descript':319,471,537 'develop':18,47 'devnet':683,778 'direct':96 'discoveri':1063 'doc':1309 'docs.x402.org':1310 'duplic':1218 'dynam':1145 'ecosystem':1313 'edg':846 'eip':761,807,990,1112,1201 'eip155':302,316,449,466,533,552,591,613,660,665,670,721,726,731,736,741,746,751,756,764 'eip2612':1286 'enabl':117 'endpoint':116,193 'enforc':967 'erc20':1287 'error':1161 'etc':937 'ethereum':143 'etwtrabzayq6imfeykouru166vu2xqa1':597,623,685 'everi':186,962 'everyth':942 'evm':141,497,513,566,803,994,1018,1198,1251 'evm.newexactevmscheme':555 'evmaddress':536,616 'evmsign':646 'exact':312,459,529,609,618,804,1006,1008,1199,1212,1223,1257 'exactevmschem':275,305,578,594 'exactevmserverschem':431,451 'exactsvmschem':582,599 'expir':1233 'express':263,266,268,284,834 'extens':932,933,1059,1288 'extern':178,1040 'facilit':173,176,179,210,245,249,289,300,438,447,517,547,548,589,768,770,801,968,1029,1035,1120,1150,1159,1172,1183,1192 'facilitatorconfig':417,440 'facilitatorurl':521 'fastapi':408,411,413,437,496,908,909 'fastifi':837 'featur':1061 'fee':1234,1262 'fetch':855 'file':1130 'flask':914,915 'flow':26,138,219,1158 'foundat':13,79,1135,1317 'fungibl':830,1259 'gas':878,935,1078,1284 'get':223,308,453,485,524,558,605,951 'gin':502 'ginmw':509 'ginmw.config':544 'ginmw.schemeconfig':550 'ginmw.x402payment':543 'github':790,886,945,1301 'github.com':81,507,511,515,560,792,888,947,953,1303,1307,1320 'github.com/x402-foundation/x402':1302 'github.com/x402-foundation/x402).':80 'github.com/x402-foundation/x402/go':559,952 'github.com/x402-foundation/x402/go/http':506 'github.com/x402-foundation/x402/go/http/gin':510 'github.com/x402-foundation/x402/go/mechanisms/evm/exact/server':514 'github.com/x402-foundation/x402/tree/main/foundation':1319 'github.com/x402-foundation/x402/tree/main/go))':946 'github.com/x402-foundation/x402/tree/main/python))':887 'github.com/x402-foundation/x402/tree/main/specs':1306 'github.com/x402-foundation/x402/tree/main/typescript))':791 'go':501,503,557,943,950,1017,1089,1185,1294 'handl':393 'header':208,231,240,256,1052 'hono':845 'hook':1082,1291,1295,1298 'host':1149 'http':31,58,98,220,896,903,1051,1133,1269 'httpfacilitatorcli':279,291,418,439 'httpx':894 'id':656,1123 'idempot':1071 'ident':980,1139 'identifi':872,989,1070,1278 'implement':155,1273 'import':265,269,274,278,348,353,357,361,412,416,422,426,430,434,504,577,581 'in-process':170,1032 'instal':336,338,398,400,492,494,556,892,899,906,912,918,924,930,939 'instead':1036 'integr':125,928 'interceptor':853 'internet':4 'internet-n':3 'key':88,370,955 'ledger':1231 'ledger-bas':1230 'lifecycl':1083 'llm':164 'localhost':390 'mainnet':659,662,669,672,678,681,688,691,704,707,720,723,725,728,735,738,748,1117,1151 'maintain':75 'max':1012,1246 'mcp':126,862,926,927,1053,1170,1180,1191,1270,1297 'mechan':978 'megaeth':144,668 'meta':1054 'metadata':1056 'method':1005 'mezo':754 'micropay':39,109 'middlewar':475,835,838,847,850 'mime':468 'mimetyp':322,540 'mitig':1220 'monad':145,719 'money':1195 'multi':563 'multi-network':562 'multipl':573 'musd':759 'nativ':5 'network':315,465,532,551,564,574,604,612,621,652,653,985,1122,1140 'new':290,298,304,376,587,593,598,641 'next.js':849 'non':1105,1111 'non-eip':1110 'non-usdc':1104 'npm':337,399,786,843 'offer':868,1065 'offer-receipt':867,1064 'offici':1299 'on-chain':36,66,215,970 'one':745 'open':10,51 'option':1060 'origin':70 'packag':783,794 'paid':19,104 'parser':1196 'pattern':1166,1176,1187 'pay':91,122,460 'payer':1263 'payment':6,25,33,60,69,130,137,153,188,197,202,207,218,229,234,238,254,392,571,871,963,977,1004,1047,1069,1157,1277 'payment-identifi':870,1068,1276 'payment-requir':228 'payment-respons':253 'payment-signatur':237 'paymentmiddlewar':270,307 'paymentmiddlewareasgi':423,476 'paymentopt':419,457 'paymentpayload':1095 'paymentrequir':1094 'payto':286,318,535,615,624 'paywal':21,111,859,1171 'permit2':760,809,1019,1108,1203,1253 'pip':493,891,898,905,911,917,923,929,938 'polygon':146,724,729 'post':242,246 'price':313,463,530,610,619 'privat':369 'privatekeytoaccount':358,367 'process':172,1034 'process.env.evm':368 'programmat':65 'protect':192 'protocol':11,46,1092,1155 'publish':841 'pubnet':690 'purpos':795 'pypi':882 'pypi.org':884 'pypi.org/project/x402/),':883 'python':43,407,409,880,1088,1174,1293 'quick':259,342,404,498 'r.use':542 'receipt':869,1066 'refer':1129 'references/aptos-scheme.md':1026,1255 'references/core-concepts.md':974,984,1002,1128,1132 'references/evm-scheme.md':1022,1116,1197 'references/extensions.md':1081,1274 'references/go-sdk.md':1044,1184 'references/lifecycle-hooks.md':1091,1289 'references/protocol-spec.md':1098,1153 'references/python-sdk.md':1173 'references/stellar-scheme.md':1024,1221 'references/svm-scheme.md':1023,1210 'references/transports.md':1058,1268 'references/typescript-sdk.md':1043,1163 'references/upto-scheme.md':1025,1239 'regist':301,590,595,627 'registerexactevmschem':354,378,643 'registerexactsvmschem':647 'registermoneypars':1102,1207 'registr':1146 'req':327 'request':205,901 'requir':34,61,89,129,198,230,637 'res':328 'res.json':329 'resolut':1206 'resourc':124,190,257,1300 'respons':255,387,397 'retri':204,235 'return':194,226,251,487 'role':184,960,1137 'rout':452,477,478,522,545,546,600 'routeconfig':427,455 'rule':1217 'run':168,1030 'scheme':163,311,458,528,549,608,617,629,806,816,821,829,1003,1200,1213,1224,1244,1258 'sdk':693,701,709,717,782,1165,1175,1186,1237,1266 'see':973,983,1001,1021,1042,1057,1080,1090,1097,1115,1127 'select':633 'self':175,1028,1148 'self-facilit':174,1027 'self-host':1147 'seller':261,406,500 'sep':822,1225 'sepolia':664,750,776 'server':191,225,241,250,297,324,445,479,480,554,568,586,636,800,864,910,916,966,1168,1178,1181,1189 'server.register':448 'servic':29 'session':85 'settl':213,969,1013,1248 'settlement':154,1219 'settlementrespons':1096 'sign':93,201,233,874,965,1073,1280 'sign-in-with-x':873,1072,1279 'signatur':212,239 'signer':366,380,645,649,1193 'simultan':575 'skill' 'skill-x402' 'solana':149,567,596,622,677,679,682,684,777,815,921,997,1211 'soroban':824,1227 'source-tenequm' 'spec':1305 'spl':817,995,1214 'sponsor':879,936,1079,1285 'sponsorship':1235,1264 'stabl':147,734,739 'standard':52 'start':260,343,405,499 'status':62,657 'stellar':150,687,689,695,697,780,820,1222 'string':373 'subpath':813 'sunni':331,489 'support':565,651,774,922 'svm':920 'svmaddress':625 'svmsigner':650 'switch':1119 'sync':902 'temperatur':332,490 'testnet':667,686,696,698,699,712,715,733,740,743,753,755,758,781 'three':183,959 'token':165,825,986,992,999,1100,1107,1114,1141,1143,1209,1228 'tool':127 'topic-agent-skills' 'topic-ai-agents' 'topic-claude-code' 'topic-claude-skills' 'topic-clawhub' 'topic-erc-8004' 'topic-mpp' 'topic-openclaw' 'topic-skills' 'topic-solana' 'topic-x402' 'transact':95,214 'transfer':826,832,1007,1229,1261 'transfercheck':818,1215 'transmit':1050 'transport':221,1045,1272 'ts':1016,1087 'type':469,798,1093,1156 'typescript':41,262,264,345,347,576,638,692,700,708,716,784,1164,1236,1265,1292 'ui':860 'upto':162,805,810,1010,1240 'url':292,441,520,1041,1121 'usag':157,1015,1242,1250 'usage-bas':156,1241 'usdc':1106 'usdm':673 'use':16,30,101,1101 'v2':1154 'v2.6.0':881 'v2.7.0':944 'v2.9.0':785 'verif':1216 'verifi':211 'via':766,811,1252 'viem':403 'viem/accounts':360 'wallet':975,1125,1138 'weather':320,330,472,486,488,538 'web':113 'websit':1311 'without':177 'work':139 'wrapaxioswithpay':350,383 'wrapper':856 'www.npmjs.com':788 'www.npmjs.com/org/x402),':787 'x':877,1076,1283 'x402':1,9,12,45,48,78,187,495,893,900,907,913,919,925,931,940 'x402.http':415 'x402.http.middleware.fastapi':421 'x402.http.types':425 'x402.mechanisms.evm.exact':429 'x402.org':294,443,772,1312,1315 'x402.org/ecosystem':1314 'x402.org/facilitator':293,442,771 'x402.server':433 'x402/aptos':827 'x402/axios':352,401,851 'x402/core':340,796 'x402/core/server':281 'x402/evm':341,402,802 'x402/evm/exact/client':356 'x402/evm/exact/server':277,580 'x402/evm/upto':812 'x402/express':273,339,833 'x402/extensions':865 'x402/fastify':836 'x402/fetch':854 'x402/hono':844 'x402/mcp':861 'x402/next':848 'x402/paywall':857 'x402/stellar':819 'x402/svm':814 'x402/svm/exact/server':584 'x402client':349,377,642 'x402http':505 'x402http.facilitatorconfig':519 'x402http.newhttpfacilitatorclient':518 'x402http.paymentoptions':527 'x402http.routesconfig':523 'x402resourceserver':271,299,435,446,588 'yet':840","prices":[{"id":"5c016088-0b99-454c-adb8-f6322e2bd380","listingId":"167911bb-32ba-4ffd-b183-2ae0d61e063c","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"tenequm","category":"skills","install_from":"skills.sh"},"createdAt":"2026-04-18T23:05:32.848Z"}],"sources":[{"listingId":"167911bb-32ba-4ffd-b183-2ae0d61e063c","source":"github","sourceId":"tenequm/skills/x402","sourceUrl":"https://github.com/tenequm/skills/tree/main/skills/x402","isPrimary":false,"firstSeenAt":"2026-04-18T23:05:32.848Z","lastSeenAt":"2026-04-22T01:01:41.782Z"}],"details":{"listingId":"167911bb-32ba-4ffd-b183-2ae0d61e063c","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"tenequm","slug":"x402","github":{"repo":"tenequm/skills","stars":23,"topics":["agent-skills","ai-agents","claude-code","claude-skills","clawhub","erc-8004","mpp","openclaw","skills","solana","x402"],"license":"mit","html_url":"https://github.com/tenequm/skills","pushed_at":"2026-04-14T16:24:57Z","description":"Agent skills for building, shipping, and growing software products","skill_md_sha":"c100a50f6a1c00b533e1060aa1aa40b3778051f0","skill_md_path":"skills/x402/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/tenequm/skills/tree/main/skills/x402"},"layout":"multi","source":"github","category":"skills","frontmatter":{"name":"x402","description":"Build internet-native payments with the x402 open protocol (x402 Foundation, Apache-2.0). Use when developing paid APIs, paywalled content, AI agent payment flows, or any service using HTTP 402 Payment Required for on-chain micropayments. Covers TypeScript (2.9.0), Python (2.6.0), and Go (2.7.0) SDKs across EVM (Base, MegaETH, Monad, Polygon, Stable, Arbitrum), Solana, Stellar, and Aptos networks with HTTP, MCP, and A2A transports. Supports exact and upto (usage-based) payment schemes, self-facilitation, and extensions (bazaar, gas sponsoring, sign-in-with-x)."},"skills_sh_url":"https://skills.sh/tenequm/skills/x402"},"updatedAt":"2026-04-22T01:01:41.782Z"}}