[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FZ024JR6XHSA43124DHZNP":3,"skill-same:01M6FZ024JR6XHSA43124DHZNP":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6FZ024JR6XHSA43124DHZNP","x402",null,"Internet-native payments using the HTTP 402 Payment Required standard. Set up as a buyer to pay for API access, or as a seller to monetize your APIs.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnotorious-d-e-v\u002Fx402-enhanced\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28],"http","payments","SET","api","access","up","payment","as","native","internet","pay","2026-11-10 10:12:30",false,"---\nname: x402\ndescription: \"Internet-native payments using the HTTP 402 Payment Required standard. Set up as a buyer to pay for API access, or as a seller to monetize your APIs.\"\nmetadata: {\"openclaw\":{\"emoji\":\"?\"}}\n---\n\n# x402 Payment Protocol\n\nx402 is an open, internet-native payment standard built around the HTTP `402 Payment Required` status code. It enables programmatic payments between clients and servers without accounts, sessions, or credential management.\n\n**Key Benefits:**\n- Zero protocol fees (only blockchain network fees)\n- Zero friction (no accounts or KYC required)\n- Instant settlement via stablecoins\n- Works with AI agents and automated systems\n\n**Documentation:** https:\u002F\u002Fdocs.x402.org | **GitHub:** https:\u002F\u002Fgithub.com\u002Fcoinbase\u002Fx402\n\n---\n\n## How x402 Works\n\n1. Client requests a resource from a server\n2. Server responds with `402 Payment Required` + payment instructions\n3. Client signs and submits a payment payload\n4. Server verifies payment, optionally via a facilitator\n5. Server returns the requested resource\n\n---\n\n## Environment Variables\n\n### For Buyers (Clients)\n```bash\n# EVM wallet private key (Ethereum\u002FBase\u002FPolygon)\nEVM_PRIVATE_KEY=0x...\n\n# Solana wallet private key (base58 encoded)\nSVM_PRIVATE_KEY=...\n\n# Target server URL\nRESOURCE_SERVER_URL=http:\u002F\u002Flocalhost:4021\nENDPOINT_PATH=\u002Fweather\n```\n\n### For Sellers (Servers)\n```bash\n# Your EVM wallet address to receive payments\nEVM_ADDRESS=0x...\n\n# Your Solana wallet address to receive payments\nSVM_ADDRESS=...\n\n# Facilitator URL (see list below)\nFACILITATOR_URL=https:\u002F\u002Fx402.org\u002Ffacilitator\n```\n\n---\n\n## Network Identifiers (CAIP-2)\n\n| Network | CAIP-2 ID | Description |\n|---------|-----------|-------------|\n| **Base** | | |\n| Base Mainnet | `eip155:8453` | Base L2 mainnet |\n| Base Sepolia | `eip155:84532` | Base L2 testnet |\n| **Solana** | | |\n| Solana Mainnet | `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` | Solana mainnet |\n| Solana Devnet | `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` | Solana testnet |\n| **Polygon** | | |\n| Polygon Mainnet | `eip155:137` | Polygon PoS mainnet |\n| Polygon Amoy | `eip155:80002` | Polygon testnet |\n| **Avalanche** | | |\n| Avalanche C-Chain | `eip155:43114` | Avalanche mainnet |\n| Avalanche Fuji | `eip155:43113` | Avalanche testnet |\n| **Sei** | | |\n| Sei Mainnet | `eip155:1329` | Sei EVM mainnet |\n| Sei Testnet | `eip155:713715` | Sei EVM testnet |\n| **X Layer** | | |\n| X Layer Mainnet | `eip155:196` | OKX L2 mainnet |\n| X Layer Testnet | `eip155:1952` | OKX L2 testnet |\n| **SKALE** | | |\n| SKALE Base | `eip155:1187947933` | SKALE mainnet |\n| SKALE Base Sepolia | `eip155:324705682` | SKALE testnet |\n\n\n---\n\n## Facilitators\n\nFacilitators handle payment verification and blockchain settlement. Choose one:\n\n| Name | URL | Notes |\n|------|-----|-------|\n| x402.org | `https:\u002F\u002Fx402.org\u002Ffacilitator` | Default, testnet only |\n| Coinbase | `https:\u002F\u002Fapi.cdp.coinbase.com\u002Fplatform\u002Fv2\u002Fx402` | Production |\n| PayAI | `https:\u002F\u002Ffacilitator.payai.network` | Production |\n| Corbits | `https:\u002F\u002Ffacilitator.corbits.dev` | Production |\n| x402rs | `https:\u002F\u002Ffacilitator.x402.rs` | Production |\n| Dexter | `https:\u002F\u002Fx402.dexter.cash` | Production |\n| Heurist | `https:\u002F\u002Ffacilitator.heurist.xyz` | Production |\n| Kobaru | `https:\u002F\u002Fgateway.kobaru.io` | Production |\n| Mogami | `https:\u002F\u002Ffacilitator.mogami.tech` | Production |\n| Nevermined | `https:\u002F\u002Fapi.live.nevermined.app\u002Fapi\u002Fv1\u002F` | Production |\n| Openfacilitator | `https:\u002F\u002Fpay.openfacilitator.io` | Production |\n| Solpay | `https:\u002F\u002Fx402.solpay.cash` | Production |\n| Primer | `https:\u002F\u002Fx402.primer.systems` | Production |\n| xEcho | `https:\u002F\u002Ffacilitator.xechoai.xyz` | Production |\n\n---\n\n# Buyer Examples (Client)\n\n## TypeScript with fetch\n\nInstall dependencies:\n```bash\nnpm install @x402\u002Ffetch @x402\u002Fevm @x402\u002Fsvm viem @solana\u002Fkit @scure\u002Fbase dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport { x402Client, wrapFetchWithPayment, x402HTTPClient } from \"@x402\u002Ffetch\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fclient\";\nimport { registerExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fclient\";\nimport { privateKeyToAccount } from \"viem\u002Faccounts\";\nimport { createKeyPairSignerFromBytes } from \"@solana\u002Fkit\";\nimport { base58 } from \"@scure\u002Fbase\";\n\nconfig();\n\nconst evmPrivateKey = process.env.EVM_PRIVATE_KEY as `0x${string}`;\nconst svmPrivateKey = process.env.SVM_PRIVATE_KEY as string;\nconst url = `${process.env.RESOURCE_SERVER_URL}${process.env.ENDPOINT_PATH}`;\n\nasync function main(): Promise\u003Cvoid> {\n  const evmSigner = privateKeyToAccount(evmPrivateKey);\n  const svmSigner = await createKeyPairSignerFromBytes(base58.decode(svmPrivateKey));\n\n  const client = new x402Client();\n  registerExactEvmScheme(client, { signer: evmSigner });\n  registerExactSvmScheme(client, { signer: svmSigner });\n\n  const fetchWithPayment = wrapFetchWithPayment(fetch, client);\n\n  const response = await fetchWithPayment(url, { method: \"GET\" });\n  const body = await response.json();\n  console.log(\"Response:\", body);\n\n  if (response.ok) {\n    const paymentResponse = new x402HTTPClient(client).getPaymentSettleResponse(\n      name => response.headers.get(name)\n    );\n    console.log(\"Payment:\", JSON.stringify(paymentResponse, null, 2));\n  }\n}\n\nmain().catch(console.error);\n```\n\n## TypeScript with axios\n\nInstall dependencies:\n```bash\nnpm install @x402\u002Faxios @x402\u002Fevm @x402\u002Fsvm axios viem @solana\u002Fkit @scure\u002Fbase dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport { x402Client, wrapAxiosWithPayment, x402HTTPClient } from \"@x402\u002Faxios\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fclient\";\nimport { registerExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fclient\";\nimport { privateKeyToAccount } from \"viem\u002Faccounts\";\nimport { createKeyPairSignerFromBytes } from \"@solana\u002Fkit\";\nimport { base58 } from \"@scure\u002Fbase\";\nimport axios from \"axios\";\n\nconfig();\n\nconst evmPrivateKey = process.env.EVM_PRIVATE_KEY as `0x${string}`;\nconst svmPrivateKey = process.env.SVM_PRIVATE_KEY as string;\nconst url = `${process.env.RESOURCE_SERVER_URL}${process.env.ENDPOINT_PATH}`;\n\nasync function main(): Promise\u003Cvoid> {\n  const evmSigner = privateKeyToAccount(evmPrivateKey);\n  const svmSigner = await createKeyPairSignerFromBytes(base58.decode(svmPrivateKey));\n\n  const client = new x402Client();\n  registerExactEvmScheme(client, { signer: evmSigner });\n  registerExactSvmScheme(client, { signer: svmSigner });\n\n  const api = wrapAxiosWithPayment(axios.create(), client);\n\n  const response = await api.get(url);\n  console.log(\"Response:\", response.data);\n\n  if (response.status \u003C 400) {\n    const paymentResponse = new x402HTTPClient(client).getPaymentSettleResponse(\n      name => response.headers[name.toLowerCase()]\n    );\n    console.log(\"Payment:\", paymentResponse);\n  }\n}\n\nmain().catch(console.error);\n```\n\n## Python with httpx (async)\n\nInstall dependencies:\n```bash\npip install \"x402[httpx,evm,svm]\" python-dotenv\n```\n\nCode:\n```python\nimport asyncio\nimport os\nfrom dotenv import load_dotenv\nfrom eth_account import Account\n\nfrom x402 import x402Client\nfrom x402.http import x402HTTPClient\nfrom x402.http.clients import x402HttpxClient\nfrom x402.mechanisms.evm import EthAccountSigner\nfrom x402.mechanisms.evm.exact.register import register_exact_evm_client\nfrom x402.mechanisms.svm import KeypairSigner\nfrom x402.mechanisms.svm.exact.register import register_exact_svm_client\n\nload_dotenv()\n\nasync def main() -> None:\n    evm_private_key = os.getenv(\"EVM_PRIVATE_KEY\")\n    svm_private_key = os.getenv(\"SVM_PRIVATE_KEY\")\n    base_url = os.getenv(\"RESOURCE_SERVER_URL\")\n    endpoint_path = os.getenv(\"ENDPOINT_PATH\")\n\n    client = x402Client()\n\n    if evm_private_key:\n        account = Account.from_key(evm_private_key)\n        register_exact_evm_client(client, EthAccountSigner(account))\n\n    if svm_private_key:\n        svm_signer = KeypairSigner.from_base58(svm_private_key)\n        register_exact_svm_client(client, svm_signer)\n\n    http_client = x402HTTPClient(client)\n    url = f\"{base_url}{endpoint_path}\"\n\n    async with x402HttpxClient(client) as http:\n        response = await http.get(url)\n        await response.aread()\n        print(f\"Response: {response.text}\")\n\n        if response.is_success:\n            try:\n                settle_response = http_client.get_payment_settle_response(\n                    lambda name: response.headers.get(name)\n                )\n                print(f\"Payment: {settle_response.model_dump_json(indent=2)}\")\n            except ValueError:\n                print(\"No payment response header found\")\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n## Python with requests (sync)\n\nInstall dependencies:\n```bash\npip install \"x402[requests,evm,svm]\" python-dotenv\n```\n\nCode:\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom eth_account import Account\n\nfrom x402 import x402ClientSync\nfrom x402.http import x402HTTPClientSync\nfrom x402.http.clients import x402_requests\nfrom x402.mechanisms.evm import EthAccountSigner\nfrom x402.mechanisms.evm.exact.register import register_exact_evm_client\nfrom x402.mechanisms.svm import KeypairSigner\nfrom x402.mechanisms.svm.exact.register import register_exact_svm_client\n\nload_dotenv()\n\ndef main() -> None:\n    evm_private_key = os.getenv(\"EVM_PRIVATE_KEY\")\n    svm_private_key = os.getenv(\"SVM_PRIVATE_KEY\")\n    base_url = os.getenv(\"RESOURCE_SERVER_URL\")\n    endpoint_path = os.getenv(\"ENDPOINT_PATH\")\n\n    client = x402ClientSync()\n\n    if evm_private_key:\n        account = Account.from_key(evm_private_key)\n        register_exact_evm_client(client, EthAccountSigner(account))\n\n    if svm_private_key:\n        svm_signer = KeypairSigner.from_base58(svm_private_key)\n        register_exact_svm_client(client, svm_signer)\n\n    http_client = x402HTTPClientSync(client)\n    url = f\"{base_url}{endpoint_path}\"\n\n    with x402_requests(client) as session:\n        response = session.get(url)\n        print(f\"Response: {response.text}\")\n\n        if response.ok:\n            try:\n                settle_response = http_client.get_payment_settle_response(\n                    lambda name: response.headers.get(name)\n                )\n                print(f\"Payment: {settle_response.model_dump_json(indent=2)}\")\n            except ValueError:\n                print(\"No payment response header found\")\n\nif __name__ == \"__main__\":\n    main()\n```\n\n## Go with net\u002Fhttp\n\nInstall dependencies:\n```bash\ngo get github.com\u002Fcoinbase\u002Fx402\u002Fgo\ngo get github.com\u002Fjoho\u002Fgodotenv\n```\n\nCode:\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"encoding\u002Fjson\"\n\t\"fmt\"\n\t\"net\u002Fhttp\"\n\t\"os\"\n\t\"time\"\n\n\tx402 \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\"\n\t\"github.com\u002Fjoho\u002Fgodotenv\"\n)\n\nfunc main() {\n\tgodotenv.Load()\n\n\tevmPrivateKey := os.Getenv(\"EVM_PRIVATE_KEY\")\n\tsvmPrivateKey := os.Getenv(\"SVM_PRIVATE_KEY\")\n\turl := os.Getenv(\"SERVER_URL\")\n\tif url == \"\" {\n\t\turl = \"http:\u002F\u002Flocalhost:4021\u002Fweather\"\n\t}\n\n\t\u002F\u002F Create x402 client with EVM and SVM support\n\tclient, err := x402.NewClientBuilder().\n\t\tWithEvmSigner(evmPrivateKey).\n\t\tWithSvmSigner(svmPrivateKey).\n\t\tBuild()\n\tif err != nil {\n\t\tfmt.Printf(\"Failed to create client: %v\\n\", err)\n\t\tos.Exit(1)\n\t}\n\n\t\u002F\u002F Wrap HTTP client with payment handling\n\thttpClient := client.WrapHTTPClient(&http.Client{Timeout: 30 * time.Second})\n\n\tctx := context.Background()\n\treq, _ := http.NewRequestWithContext(ctx, \"GET\", url, nil)\n\tresp, err := httpClient.Do(req)\n\tif err != nil {\n\t\tfmt.Printf(\"Request failed: %v\\n\", err)\n\t\tos.Exit(1)\n\t}\n\tdefer resp.Body.Close()\n\n\tvar responseData interface{}\n\tjson.NewDecoder(resp.Body).Decode(&responseData)\n\tprettyJSON, _ := json.MarshalIndent(responseData, \"\", \"  \")\n\tfmt.Printf(\"Response: %s\\n\", string(prettyJSON))\n}\n```\n\n---\n\n# Seller Examples (Server)\n\n## TypeScript with Express\n\nInstall dependencies:\n```bash\nnpm install express @x402\u002Fexpress @x402\u002Fcore @x402\u002Fevm @x402\u002Fsvm dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport express from \"express\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402\u002Fexpress\";\nimport { ExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { ExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fserver\";\nimport { HTTPFacilitatorClient } from \"@x402\u002Fcore\u002Fserver\";\n\nconfig();\n\nconst evmAddress = process.env.EVM_ADDRESS as `0x${string}`;\nconst svmAddress = process.env.SVM_ADDRESS;\nconst facilitatorUrl = process.env.FACILITATOR_URL || \"https:\u002F\u002Fx402.org\u002Ffacilitator\";\n\nconst facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });\nconst app = express();\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET \u002Fweather\": {\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        description: \"Weather data\",\n        mimeType: \"application\u002Fjson\",\n      },\n    },\n    new x402ResourceServer(facilitatorClient)\n      .register(\"eip155:84532\", new ExactEvmScheme())\n      .register(\"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", new ExactSvmScheme()),\n  ),\n);\n\napp.get(\"\u002Fweather\", (req, res) => {\n  res.send({ report: { weather: \"sunny\", temperature: 70 } });\n});\n\napp.listen(4021, () => console.log(\"Server listening at http:\u002F\u002Flocalhost:4021\"));\n```\n\n## TypeScript with Hono\n\nInstall dependencies:\n```bash\nnpm install hono @hono\u002Fnode-server @x402\u002Fhono @x402\u002Fcore @x402\u002Fevm @x402\u002Fsvm dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402\u002Fhono\";\nimport { ExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { ExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fserver\";\nimport { HTTPFacilitatorClient } from \"@x402\u002Fcore\u002Fserver\";\nimport { Hono } from \"hono\";\nimport { serve } from \"@hono\u002Fnode-server\";\n\nconfig();\n\nconst evmAddress = process.env.EVM_ADDRESS as `0x${string}`;\nconst svmAddress = process.env.SVM_ADDRESS;\nconst facilitatorUrl = process.env.FACILITATOR_URL || \"https:\u002F\u002Fx402.org\u002Ffacilitator\";\n\nconst facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });\nconst app = new Hono();\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET \u002Fweather\": {\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        description: \"Weather data\",\n        mimeType: \"application\u002Fjson\",\n      },\n    },\n    new x402ResourceServer(facilitatorClient)\n      .register(\"eip155:84532\", new ExactEvmScheme())\n      .register(\"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", new ExactSvmScheme()),\n  ),\n);\n\napp.get(\"\u002Fweather\", c => c.json({ report: { weather: \"sunny\", temperature: 70 } }));\n\nserve({ fetch: app.fetch, port: 4021 });\nconsole.log(\"Server listening at http:\u002F\u002Flocalhost:4021\");\n```\n\n## Python with FastAPI\n\nInstall dependencies:\n```bash\npip install \"x402[fastapi,evm,svm]\" python-dotenv uvicorn\n```\n\nCode:\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom fastapi import FastAPI\n\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.mechanisms.svm.exact import ExactSvmServerScheme\nfrom x402.schemas import Network\nfrom x402.server import x402ResourceServer\n\nload_dotenv()\n\nEVM_ADDRESS = os.getenv(\"EVM_ADDRESS\")\nSVM_ADDRESS = os.getenv(\"SVM_ADDRESS\")\nEVM_NETWORK: Network = \"eip155:84532\"\nSVM_NETWORK: Network = \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\"\nFACILITATOR_URL = os.getenv(\"FACILITATOR_URL\", \"https:\u002F\u002Fx402.org\u002Ffacilitator\")\n\napp = FastAPI()\n\nfacilitator = HTTPFacilitatorClient(FacilitatorConfig(url=FACILITATOR_URL))\nserver = x402ResourceServer(facilitator)\nserver.register(EVM_NETWORK, ExactEvmServerScheme())\nserver.register(SVM_NETWORK, ExactSvmServerScheme())\n\nroutes = {\n    \"GET \u002Fweather\": RouteConfig(\n        accepts=[\n            PaymentOption(scheme=\"exact\", pay_to=EVM_ADDRESS, price=\"$0.01\", network=EVM_NETWORK),\n            PaymentOption(scheme=\"exact\", pay_to=SVM_ADDRESS, price=\"$0.01\", network=SVM_NETWORK),\n        ],\n        mime_type=\"application\u002Fjson\",\n        description=\"Weather report\",\n    ),\n}\n\napp.add_middleware(PaymentMiddlewareASGI, routes=routes, server=server)\n\n@app.get(\"\u002Fhealth\")\nasync def health_check():\n    return {\"status\": \"ok\"}\n\n@app.get(\"\u002Fweather\")\nasync def get_weather():\n    return {\"report\": {\"weather\": \"sunny\", \"temperature\": 70}}\n\nif __name__ == \"__main__\":\n    import uvicorn\n    uvicorn.run(app, host=\"0.0.0.0\", port=4021)\n```\n\n## Python with Flask\n\nInstall dependencies:\n```bash\npip install \"x402[flask,evm,svm]\" python-dotenv\n```\n\nCode:\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom flask import Flask, jsonify\n\nfrom x402.http import FacilitatorConfig, HTTPFacilitatorClientSync, PaymentOption\nfrom x402.http.middleware.flask import payment_middleware\nfrom x402.http.types import RouteConfig\nfrom x402.mechanisms.evm.exact import ExactEvmServerScheme\nfrom x402.mechanisms.svm.exact import ExactSvmServerScheme\nfrom x402.schemas import Network\nfrom x402.server import x402ResourceServerSync\n\nload_dotenv()\n\nEVM_ADDRESS = os.getenv(\"EVM_ADDRESS\")\nSVM_ADDRESS = os.getenv(\"SVM_ADDRESS\")\nEVM_NETWORK: Network = \"eip155:84532\"\nSVM_NETWORK: Network = \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\"\nFACILITATOR_URL = os.getenv(\"FACILITATOR_URL\", \"https:\u002F\u002Fx402.org\u002Ffacilitator\")\n\napp = Flask(__name__)\n\nfacilitator = HTTPFacilitatorClientSync(FacilitatorConfig(url=FACILITATOR_URL))\nserver = x402ResourceServerSync(facilitator)\nserver.register(EVM_NETWORK, ExactEvmServerScheme())\nserver.register(SVM_NETWORK, ExactSvmServerScheme())\n\nroutes = {\n    \"GET \u002Fweather\": RouteConfig(\n        accepts=[\n            PaymentOption(scheme=\"exact\", pay_to=EVM_ADDRESS, price=\"$0.01\", network=EVM_NETWORK),\n            PaymentOption(scheme=\"exact\", pay_to=SVM_ADDRESS, price=\"$0.01\", network=SVM_NETWORK),\n        ],\n        mime_type=\"application\u002Fjson\",\n        description=\"Weather report\",\n    ),\n}\n\npayment_middleware(app, routes=routes, server=server)\n\n@app.route(\"\u002Fhealth\")\ndef health_check():\n    return jsonify({\"status\": \"ok\"})\n\n@app.route(\"\u002Fweather\")\ndef get_weather():\n    return jsonify({\"report\": {\"weather\": \"sunny\", \"temperature\": 70}})\n\nif __name__ == \"__main__\":\n    app.run(host=\"0.0.0.0\", port=4021)\n```\n\n## Go with Gin\n\nInstall dependencies:\n```bash\ngo get github.com\u002Fcoinbase\u002Fx402\u002Fgo\ngo get github.com\u002Fgin-gonic\u002Fgin\ngo get github.com\u002Fjoho\u002Fgodotenv\n```\n\nCode:\n```go\npackage main\n\nimport (\n\t\"net\u002Fhttp\"\n\t\"os\"\n\t\"time\"\n\n\tx402 \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\"\n\tx402http \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fhttp\"\n\tginmw \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fhttp\u002Fgin\"\n\tevm \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fmechanisms\u002Fevm\u002Fexact\u002Fserver\"\n\tsvm \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fmechanisms\u002Fsvm\u002Fexact\u002Fserver\"\n\t\"github.com\u002Fgin-gonic\u002Fgin\"\n\t\"github.com\u002Fjoho\u002Fgodotenv\"\n)\n\nfunc main() {\n\tgodotenv.Load()\n\n\tevmAddress := os.Getenv(\"EVM_PAYEE_ADDRESS\")\n\tsvmAddress := os.Getenv(\"SVM_PAYEE_ADDRESS\")\n\tfacilitatorURL := os.Getenv(\"FACILITATOR_URL\")\n\n\tr := gin.Default()\n\n\tfacilitatorClient := x402http.NewHTTPFacilitatorClient(&x402http.FacilitatorConfig{\n\t\tURL: facilitatorURL,\n\t})\n\n\troutes := x402http.RoutesConfig{\n\t\t\"GET \u002Fweather\": {\n\t\t\tAccepts: x402http.PaymentOptions{\n\t\t\t\t{Scheme: \"exact\", Price: \"$0.001\", Network: \"eip155:84532\", PayTo: evmAddress},\n\t\t\t\t{Scheme: \"exact\", Price: \"$0.001\", Network: \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", PayTo: svmAddress},\n\t\t\t},\n\t\t\tDescription: \"Get weather data\",\n\t\t\tMimeType:    \"application\u002Fjson\",\n\t\t},\n\t}\n\n\tr.Use(ginmw.X402Payment(ginmw.Config{\n\t\tRoutes:      routes,\n\t\tFacilitator: facilitatorClient,\n\t\tSchemes: []ginmw.SchemeConfig{\n\t\t\t{Network: \"eip155:84532\", Server: evm.NewExactEvmScheme()},\n\t\t\t{Network: \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", Server: svm.NewExactSvmScheme()},\n\t\t},\n\t\tTimeout: 30 * time.Second,\n\t}))\n\n\tr.GET(\"\u002Fweather\", func(c *gin.Context) {\n\t\tc.JSON(http.StatusOK, gin.H{\n\t\t\t\"weather\":     \"sunny\",\n\t\t\t\"temperature\": 70,\n\t\t\t\"timestamp\":   time.Now().Format(time.RFC3339),\n\t\t})\n\t})\n\n\tr.GET(\"\u002Fhealth\", func(c *gin.Context) {\n\t\tc.JSON(http.StatusOK, gin.H{\"status\": \"ok\"})\n\t})\n\n\tr.Run(\":4021\")\n}\n```\n\n---\n\n# Paywall UI (Server Middleware)\n\nThe `@x402\u002Fpaywall` package provides a pre-built paywall UI that displays when users hit a 402 Payment Required response. It handles wallet connection (MetaMask, Coinbase Wallet, Phantom, etc.), USDC balance checking, and payment submission.\n\n**Important:** This package is designed for **server-side use only**. It generates a complete, self-contained HTML page (~1.9MB) with embedded React, wagmi, and wallet adapters that the server returns when a 402 response is triggered. It is **not** a standalone React component library and **cannot** be imported into an existing React application.\n\n**Looking for React components instead?**\n- **For Solana React apps:** Use `@payai\u002Fx402-solana-react` - drop-in paywall components with themes\n- **For custom EVM\u002FSolana React:** Build with `wagmi` + `viem` (EVM) or `@solana\u002Fwallet-adapter-react` (Solana)\n- **Multi-chain SDKs:** `@dexterai\u002Fx402`, `x402-solana`\n\nSee the [Custom React Frontend Integration](#custom-react-frontend-integration) section below for details.\n\n---\n\n## Installation (Server-Side)\n\n```bash\nnpm install @x402\u002Fpaywall\n```\n\n**Bundle sizes by import:**\n| Import | Size | Networks |\n|--------|------|----------|\n| `@x402\u002Fpaywall` | 3.5MB | EVM + Solana |\n| `@x402\u002Fpaywall\u002Fevm` | 3.4MB | EVM only |\n| `@x402\u002Fpaywall\u002Fsvm` | 1.0MB | Solana only |\n\n## Usage (Server Middleware)\n\n### EVM Only\n\n```typescript\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\n\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withConfig({\n    appName: \"My App\",\n    appLogo: \"\u002Flogo.png\",\n    testnet: true,\n  })\n  .build();\n```\n\n### Solana Only\n\n```typescript\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { svmPaywall } from \"@x402\u002Fpaywall\u002Fsvm\";\n\nconst paywall = createPaywall()\n  .withNetwork(svmPaywall)\n  .withConfig({\n    appName: \"My Solana App\",\n    testnet: true,\n  })\n  .build();\n```\n\n### Multi-Network\n\n```typescript\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\nimport { svmPaywall } from \"@x402\u002Fpaywall\u002Fsvm\";\n\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)  \u002F\u002F First-match priority\n  .withNetwork(svmPaywall)  \u002F\u002F Fallback option\n  .withConfig({\n    appName: \"Multi-chain App\",\n    testnet: true,\n  })\n  .build();\n```\n\n## Configuration Options\n\n```typescript\ninterface PaywallConfig {\n  appName?: string;    \u002F\u002F App name shown in wallet connection\n  appLogo?: string;    \u002F\u002F App logo URL\n  currentUrl?: string; \u002F\u002F URL of protected resource\n  testnet?: boolean;   \u002F\u002F Use testnet (default: true)\n}\n```\n\n## Integration with Express\n\n```typescript\nimport express from \"express\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402\u002Fexpress\";\nimport { ExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { HTTPFacilitatorClient } from \"@x402\u002Fcore\u002Fserver\";\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\n\nconst app = express();\n\nconst facilitatorClient = new HTTPFacilitatorClient({ url: \"https:\u002F\u002Fx402.org\u002Ffacilitator\" });\n\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withConfig({ appName: \"My API\", testnet: true })\n  .build();\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET \u002Fpremium\": {\n        accepts: [{ scheme: \"exact\", price: \"$0.01\", network: \"eip155:84532\", payTo: \"0x...\" }],\n        description: \"Premium content\",\n        mimeType: \"application\u002Fjson\",\n      },\n    },\n    new x402ResourceServer(facilitatorClient).register(\"eip155:84532\", new ExactEvmScheme()),\n    undefined,  \u002F\u002F paywallConfig (using custom paywall instead)\n    paywall,    \u002F\u002F custom paywall provider\n  ),\n);\n\napp.get(\"\u002Fpremium\", (req, res) => res.json({ content: \"Premium data\" }));\napp.listen(4021);\n```\n\n## Auto-Detection (Simple Usage)\n\nIf you pass a `paywallConfig` object instead of a custom paywall, the middleware will automatically use `@x402\u002Fpaywall` if installed:\n\n```typescript\napp.use(\n  paymentMiddleware(\n    routes,\n    server,\n    { appName: \"My App\", testnet: true },  \u002F\u002F paywallConfig - auto-detects @x402\u002Fpaywall\n  ),\n);\n```\n\n## How First-Match Selection Works\n\nWhen the server returns multiple payment options, the paywall selects the first one that has a registered handler:\n\n```typescript\n\u002F\u002F Server returns:\n{ \"accepts\": [\n  { \"network\": \"solana:5eykt...\", ... },  \u002F\u002F First option\n  { \"network\": \"eip155:8453\", ... }       \u002F\u002F Second option\n]}\n\n\u002F\u002F If both handlers registered, Solana is selected (first in accepts)\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withNetwork(svmPaywall)\n  .build();\n```\n\n---\n\n## Pricing Configuration\n\n### Simple USD Pricing\n```typescript\n{ scheme: \"exact\", price: \"$0.001\", network: \"eip155:84532\", payTo: evmAddress }\n```\n\n### Custom Token Amount (ERC-20)\n```typescript\n{\n  scheme: \"exact\",\n  price: {\n    amount: \"10000\",  \u002F\u002F atomic units ($0.01 USDC = 10000 because USDC has 6 decimals)\n    asset: \"0x036CbD53842c5426634e7929541eC2318f3dCF7e\",  \u002F\u002F USDC on Base Sepolia\n    extra: { name: \"USDC\", version: \"2\" }  \u002F\u002F EIP-712 params\n  },\n  network: \"eip155:84532\",\n  payTo: evmAddress\n}\n```\n\n---\n\n## Testing\n\nFor testing, use:\n- **Network:** `eip155:84532` (Base Sepolia) or `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` (Solana Devnet)\n- **Facilitator:** `https:\u002F\u002Fx402.org\u002Ffacilitator` (testnet only)\n- **Faucets:** Get testnet USDC from Base Sepolia faucet\n\nFor production, switch to mainnet networks and a production facilitator.\n","# x402 Payment Protocol\n\nx402 is an open, internet-native payment standard built around the HTTP `402 Payment Required` status code. It enables programmatic payments between clients and servers without accounts, sessions, or credential management.\n\n**Key Benefits:**\n- Zero protocol fees (only blockchain network fees)\n- Zero friction (no accounts or KYC required)\n- Instant settlement via stablecoins\n- Works with AI agents and automated systems\n\n**Documentation:** https:\u002F\u002Fdocs.x402.org | **GitHub:** https:\u002F\u002Fgithub.com\u002Fcoinbase\u002Fx402\n\n---\n\n## How x402 Works\n\n1. Client requests a resource from a server\n2. Server responds with `402 Payment Required` + payment instructions\n3. Client signs and submits a payment payload\n4. Server verifies payment, optionally via a facilitator\n5. Server returns the requested resource\n\n---\n\n## Environment Variables\n\n### For Buyers (Clients)\n```bash\n# EVM wallet private key (Ethereum\u002FBase\u002FPolygon)\nEVM_PRIVATE_KEY=0x...\n\n# Solana wallet private key (base58 encoded)\nSVM_PRIVATE_KEY=...\n\n# Target server URL\nRESOURCE_SERVER_URL=http:\u002F\u002Flocalhost:4021\nENDPOINT_PATH=\u002Fweather\n```\n\n### For Sellers (Servers)\n```bash\n# Your EVM wallet address to receive payments\nEVM_ADDRESS=0x...\n\n# Your Solana wallet address to receive payments\nSVM_ADDRESS=...\n\n# Facilitator URL (see list below)\nFACILITATOR_URL=https:\u002F\u002Fx402.org\u002Ffacilitator\n```\n\n---\n\n## Network Identifiers (CAIP-2)\n\n| Network | CAIP-2 ID | Description |\n|---------|-----------|-------------|\n| **Base** | | |\n| Base Mainnet | `eip155:8453` | Base L2 mainnet |\n| Base Sepolia | `eip155:84532` | Base L2 testnet |\n| **Solana** | | |\n| Solana Mainnet | `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` | Solana mainnet |\n| Solana Devnet | `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` | Solana testnet |\n| **Polygon** | | |\n| Polygon Mainnet | `eip155:137` | Polygon PoS mainnet |\n| Polygon Amoy | `eip155:80002` | Polygon testnet |\n| **Avalanche** | | |\n| Avalanche C-Chain | `eip155:43114` | Avalanche mainnet |\n| Avalanche Fuji | `eip155:43113` | Avalanche testnet |\n| **Sei** | | |\n| Sei Mainnet | `eip155:1329` | Sei EVM mainnet |\n| Sei Testnet | `eip155:713715` | Sei EVM testnet |\n| **X Layer** | | |\n| X Layer Mainnet | `eip155:196` | OKX L2 mainnet |\n| X Layer Testnet | `eip155:1952` | OKX L2 testnet |\n| **SKALE** | | |\n| SKALE Base | `eip155:1187947933` | SKALE mainnet |\n| SKALE Base Sepolia | `eip155:324705682` | SKALE testnet |\n\n\n---\n\n## Facilitators\n\nFacilitators handle payment verification and blockchain settlement. Choose one:\n\n| Name | URL | Notes |\n|------|-----|-------|\n| x402.org | `https:\u002F\u002Fx402.org\u002Ffacilitator` | Default, testnet only |\n| Coinbase | `https:\u002F\u002Fapi.cdp.coinbase.com\u002Fplatform\u002Fv2\u002Fx402` | Production |\n| PayAI | `https:\u002F\u002Ffacilitator.payai.network` | Production |\n| Corbits | `https:\u002F\u002Ffacilitator.corbits.dev` | Production |\n| x402rs | `https:\u002F\u002Ffacilitator.x402.rs` | Production |\n| Dexter | `https:\u002F\u002Fx402.dexter.cash` | Production |\n| Heurist | `https:\u002F\u002Ffacilitator.heurist.xyz` | Production |\n| Kobaru | `https:\u002F\u002Fgateway.kobaru.io` | Production |\n| Mogami | `https:\u002F\u002Ffacilitator.mogami.tech` | Production |\n| Nevermined | `https:\u002F\u002Fapi.live.nevermined.app\u002Fapi\u002Fv1\u002F` | Production |\n| Openfacilitator | `https:\u002F\u002Fpay.openfacilitator.io` | Production |\n| Solpay | `https:\u002F\u002Fx402.solpay.cash` | Production |\n| Primer | `https:\u002F\u002Fx402.primer.systems` | Production |\n| xEcho | `https:\u002F\u002Ffacilitator.xechoai.xyz` | Production |\n\n---\n\n# Buyer Examples (Client)\n\n## TypeScript with fetch\n\nInstall dependencies:\n```bash\nnpm install @x402\u002Ffetch @x402\u002Fevm @x402\u002Fsvm viem @solana\u002Fkit @scure\u002Fbase dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport { x402Client, wrapFetchWithPayment, x402HTTPClient } from \"@x402\u002Ffetch\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fclient\";\nimport { registerExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fclient\";\nimport { privateKeyToAccount } from \"viem\u002Faccounts\";\nimport { createKeyPairSignerFromBytes } from \"@solana\u002Fkit\";\nimport { base58 } from \"@scure\u002Fbase\";\n\nconfig();\n\nconst evmPrivateKey = process.env.EVM_PRIVATE_KEY as `0x${string}`;\nconst svmPrivateKey = process.env.SVM_PRIVATE_KEY as string;\nconst url = `${process.env.RESOURCE_SERVER_URL}${process.env.ENDPOINT_PATH}`;\n\nasync function main(): Promise\u003Cvoid> {\n  const evmSigner = privateKeyToAccount(evmPrivateKey);\n  const svmSigner = await createKeyPairSignerFromBytes(base58.decode(svmPrivateKey));\n\n  const client = new x402Client();\n  registerExactEvmScheme(client, { signer: evmSigner });\n  registerExactSvmScheme(client, { signer: svmSigner });\n\n  const fetchWithPayment = wrapFetchWithPayment(fetch, client);\n\n  const response = await fetchWithPayment(url, { method: \"GET\" });\n  const body = await response.json();\n  console.log(\"Response:\", body);\n\n  if (response.ok) {\n    const paymentResponse = new x402HTTPClient(client).getPaymentSettleResponse(\n      name => response.headers.get(name)\n    );\n    console.log(\"Payment:\", JSON.stringify(paymentResponse, null, 2));\n  }\n}\n\nmain().catch(console.error);\n```\n\n## TypeScript with axios\n\nInstall dependencies:\n```bash\nnpm install @x402\u002Faxios @x402\u002Fevm @x402\u002Fsvm axios viem @solana\u002Fkit @scure\u002Fbase dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport { x402Client, wrapAxiosWithPayment, x402HTTPClient } from \"@x402\u002Faxios\";\nimport { registerExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fclient\";\nimport { registerExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fclient\";\nimport { privateKeyToAccount } from \"viem\u002Faccounts\";\nimport { createKeyPairSignerFromBytes } from \"@solana\u002Fkit\";\nimport { base58 } from \"@scure\u002Fbase\";\nimport axios from \"axios\";\n\nconfig();\n\nconst evmPrivateKey = process.env.EVM_PRIVATE_KEY as `0x${string}`;\nconst svmPrivateKey = process.env.SVM_PRIVATE_KEY as string;\nconst url = `${process.env.RESOURCE_SERVER_URL}${process.env.ENDPOINT_PATH}`;\n\nasync function main(): Promise\u003Cvoid> {\n  const evmSigner = privateKeyToAccount(evmPrivateKey);\n  const svmSigner = await createKeyPairSignerFromBytes(base58.decode(svmPrivateKey));\n\n  const client = new x402Client();\n  registerExactEvmScheme(client, { signer: evmSigner });\n  registerExactSvmScheme(client, { signer: svmSigner });\n\n  const api = wrapAxiosWithPayment(axios.create(), client);\n\n  const response = await api.get(url);\n  console.log(\"Response:\", response.data);\n\n  if (response.status \u003C 400) {\n    const paymentResponse = new x402HTTPClient(client).getPaymentSettleResponse(\n      name => response.headers[name.toLowerCase()]\n    );\n    console.log(\"Payment:\", paymentResponse);\n  }\n}\n\nmain().catch(console.error);\n```\n\n## Python with httpx (async)\n\nInstall dependencies:\n```bash\npip install \"x402[httpx,evm,svm]\" python-dotenv\n```\n\nCode:\n```python\nimport asyncio\nimport os\nfrom dotenv import load_dotenv\nfrom eth_account import Account\n\nfrom x402 import x402Client\nfrom x402.http import x402HTTPClient\nfrom x402.http.clients import x402HttpxClient\nfrom x402.mechanisms.evm import EthAccountSigner\nfrom x402.mechanisms.evm.exact.register import register_exact_evm_client\nfrom x402.mechanisms.svm import KeypairSigner\nfrom x402.mechanisms.svm.exact.register import register_exact_svm_client\n\nload_dotenv()\n\nasync def main() -> None:\n    evm_private_key = os.getenv(\"EVM_PRIVATE_KEY\")\n    svm_private_key = os.getenv(\"SVM_PRIVATE_KEY\")\n    base_url = os.getenv(\"RESOURCE_SERVER_URL\")\n    endpoint_path = os.getenv(\"ENDPOINT_PATH\")\n\n    client = x402Client()\n\n    if evm_private_key:\n        account = Account.from_key(evm_private_key)\n        register_exact_evm_client(client, EthAccountSigner(account))\n\n    if svm_private_key:\n        svm_signer = KeypairSigner.from_base58(svm_private_key)\n        register_exact_svm_client(client, svm_signer)\n\n    http_client = x402HTTPClient(client)\n    url = f\"{base_url}{endpoint_path}\"\n\n    async with x402HttpxClient(client) as http:\n        response = await http.get(url)\n        await response.aread()\n        print(f\"Response: {response.text}\")\n\n        if response.is_success:\n            try:\n                settle_response = http_client.get_payment_settle_response(\n                    lambda name: response.headers.get(name)\n                )\n                print(f\"Payment: {settle_response.model_dump_json(indent=2)}\")\n            except ValueError:\n                print(\"No payment response header found\")\n\nif __name__ == \"__main__\":\n    asyncio.run(main())\n```\n\n## Python with requests (sync)\n\nInstall dependencies:\n```bash\npip install \"x402[requests,evm,svm]\" python-dotenv\n```\n\nCode:\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom eth_account import Account\n\nfrom x402 import x402ClientSync\nfrom x402.http import x402HTTPClientSync\nfrom x402.http.clients import x402_requests\nfrom x402.mechanisms.evm import EthAccountSigner\nfrom x402.mechanisms.evm.exact.register import register_exact_evm_client\nfrom x402.mechanisms.svm import KeypairSigner\nfrom x402.mechanisms.svm.exact.register import register_exact_svm_client\n\nload_dotenv()\n\ndef main() -> None:\n    evm_private_key = os.getenv(\"EVM_PRIVATE_KEY\")\n    svm_private_key = os.getenv(\"SVM_PRIVATE_KEY\")\n    base_url = os.getenv(\"RESOURCE_SERVER_URL\")\n    endpoint_path = os.getenv(\"ENDPOINT_PATH\")\n\n    client = x402ClientSync()\n\n    if evm_private_key:\n        account = Account.from_key(evm_private_key)\n        register_exact_evm_client(client, EthAccountSigner(account))\n\n    if svm_private_key:\n        svm_signer = KeypairSigner.from_base58(svm_private_key)\n        register_exact_svm_client(client, svm_signer)\n\n    http_client = x402HTTPClientSync(client)\n    url = f\"{base_url}{endpoint_path}\"\n\n    with x402_requests(client) as session:\n        response = session.get(url)\n        print(f\"Response: {response.text}\")\n\n        if response.ok:\n            try:\n                settle_response = http_client.get_payment_settle_response(\n                    lambda name: response.headers.get(name)\n                )\n                print(f\"Payment: {settle_response.model_dump_json(indent=2)}\")\n            except ValueError:\n                print(\"No payment response header found\")\n\nif __name__ == \"__main__\":\n    main()\n```\n\n## Go with net\u002Fhttp\n\nInstall dependencies:\n```bash\ngo get github.com\u002Fcoinbase\u002Fx402\u002Fgo\ngo get github.com\u002Fjoho\u002Fgodotenv\n```\n\nCode:\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"encoding\u002Fjson\"\n\t\"fmt\"\n\t\"net\u002Fhttp\"\n\t\"os\"\n\t\"time\"\n\n\tx402 \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\"\n\t\"github.com\u002Fjoho\u002Fgodotenv\"\n)\n\nfunc main() {\n\tgodotenv.Load()\n\n\tevmPrivateKey := os.Getenv(\"EVM_PRIVATE_KEY\")\n\tsvmPrivateKey := os.Getenv(\"SVM_PRIVATE_KEY\")\n\turl := os.Getenv(\"SERVER_URL\")\n\tif url == \"\" {\n\t\turl = \"http:\u002F\u002Flocalhost:4021\u002Fweather\"\n\t}\n\n\t\u002F\u002F Create x402 client with EVM and SVM support\n\tclient, err := x402.NewClientBuilder().\n\t\tWithEvmSigner(evmPrivateKey).\n\t\tWithSvmSigner(svmPrivateKey).\n\t\tBuild()\n\tif err != nil {\n\t\tfmt.Printf(\"Failed to create client: %v\\n\", err)\n\t\tos.Exit(1)\n\t}\n\n\t\u002F\u002F Wrap HTTP client with payment handling\n\thttpClient := client.WrapHTTPClient(&http.Client{Timeout: 30 * time.Second})\n\n\tctx := context.Background()\n\treq, _ := http.NewRequestWithContext(ctx, \"GET\", url, nil)\n\tresp, err := httpClient.Do(req)\n\tif err != nil {\n\t\tfmt.Printf(\"Request failed: %v\\n\", err)\n\t\tos.Exit(1)\n\t}\n\tdefer resp.Body.Close()\n\n\tvar responseData interface{}\n\tjson.NewDecoder(resp.Body).Decode(&responseData)\n\tprettyJSON, _ := json.MarshalIndent(responseData, \"\", \"  \")\n\tfmt.Printf(\"Response: %s\\n\", string(prettyJSON))\n}\n```\n\n---\n\n# Seller Examples (Server)\n\n## TypeScript with Express\n\nInstall dependencies:\n```bash\nnpm install express @x402\u002Fexpress @x402\u002Fcore @x402\u002Fevm @x402\u002Fsvm dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport express from \"express\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402\u002Fexpress\";\nimport { ExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { ExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fserver\";\nimport { HTTPFacilitatorClient } from \"@x402\u002Fcore\u002Fserver\";\n\nconfig();\n\nconst evmAddress = process.env.EVM_ADDRESS as `0x${string}`;\nconst svmAddress = process.env.SVM_ADDRESS;\nconst facilitatorUrl = process.env.FACILITATOR_URL || \"https:\u002F\u002Fx402.org\u002Ffacilitator\";\n\nconst facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });\nconst app = express();\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET \u002Fweather\": {\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        description: \"Weather data\",\n        mimeType: \"application\u002Fjson\",\n      },\n    },\n    new x402ResourceServer(facilitatorClient)\n      .register(\"eip155:84532\", new ExactEvmScheme())\n      .register(\"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", new ExactSvmScheme()),\n  ),\n);\n\napp.get(\"\u002Fweather\", (req, res) => {\n  res.send({ report: { weather: \"sunny\", temperature: 70 } });\n});\n\napp.listen(4021, () => console.log(\"Server listening at http:\u002F\u002Flocalhost:4021\"));\n```\n\n## TypeScript with Hono\n\nInstall dependencies:\n```bash\nnpm install hono @hono\u002Fnode-server @x402\u002Fhono @x402\u002Fcore @x402\u002Fevm @x402\u002Fsvm dotenv\n```\n\nCode:\n```typescript\nimport { config } from \"dotenv\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402\u002Fhono\";\nimport { ExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { ExactSvmScheme } from \"@x402\u002Fsvm\u002Fexact\u002Fserver\";\nimport { HTTPFacilitatorClient } from \"@x402\u002Fcore\u002Fserver\";\nimport { Hono } from \"hono\";\nimport { serve } from \"@hono\u002Fnode-server\";\n\nconfig();\n\nconst evmAddress = process.env.EVM_ADDRESS as `0x${string}`;\nconst svmAddress = process.env.SVM_ADDRESS;\nconst facilitatorUrl = process.env.FACILITATOR_URL || \"https:\u002F\u002Fx402.org\u002Ffacilitator\";\n\nconst facilitatorClient = new HTTPFacilitatorClient({ url: facilitatorUrl });\nconst app = new Hono();\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET \u002Fweather\": {\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        description: \"Weather data\",\n        mimeType: \"application\u002Fjson\",\n      },\n    },\n    new x402ResourceServer(facilitatorClient)\n      .register(\"eip155:84532\", new ExactEvmScheme())\n      .register(\"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", new ExactSvmScheme()),\n  ),\n);\n\napp.get(\"\u002Fweather\", c => c.json({ report: { weather: \"sunny\", temperature: 70 } }));\n\nserve({ fetch: app.fetch, port: 4021 });\nconsole.log(\"Server listening at http:\u002F\u002Flocalhost:4021\");\n```\n\n## Python with FastAPI\n\nInstall dependencies:\n```bash\npip install \"x402[fastapi,evm,svm]\" python-dotenv uvicorn\n```\n\nCode:\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom fastapi import FastAPI\n\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.mechanisms.svm.exact import ExactSvmServerScheme\nfrom x402.schemas import Network\nfrom x402.server import x402ResourceServer\n\nload_dotenv()\n\nEVM_ADDRESS = os.getenv(\"EVM_ADDRESS\")\nSVM_ADDRESS = os.getenv(\"SVM_ADDRESS\")\nEVM_NETWORK: Network = \"eip155:84532\"\nSVM_NETWORK: Network = \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\"\nFACILITATOR_URL = os.getenv(\"FACILITATOR_URL\", \"https:\u002F\u002Fx402.org\u002Ffacilitator\")\n\napp = FastAPI()\n\nfacilitator = HTTPFacilitatorClient(FacilitatorConfig(url=FACILITATOR_URL))\nserver = x402ResourceServer(facilitator)\nserver.register(EVM_NETWORK, ExactEvmServerScheme())\nserver.register(SVM_NETWORK, ExactSvmServerScheme())\n\nroutes = {\n    \"GET \u002Fweather\": RouteConfig(\n        accepts=[\n            PaymentOption(scheme=\"exact\", pay_to=EVM_ADDRESS, price=\"$0.01\", network=EVM_NETWORK),\n            PaymentOption(scheme=\"exact\", pay_to=SVM_ADDRESS, price=\"$0.01\", network=SVM_NETWORK),\n        ],\n        mime_type=\"application\u002Fjson\",\n        description=\"Weather report\",\n    ),\n}\n\napp.add_middleware(PaymentMiddlewareASGI, routes=routes, server=server)\n\n@app.get(\"\u002Fhealth\")\nasync def health_check():\n    return {\"status\": \"ok\"}\n\n@app.get(\"\u002Fweather\")\nasync def get_weather():\n    return {\"report\": {\"weather\": \"sunny\", \"temperature\": 70}}\n\nif __name__ == \"__main__\":\n    import uvicorn\n    uvicorn.run(app, host=\"0.0.0.0\", port=4021)\n```\n\n## Python with Flask\n\nInstall dependencies:\n```bash\npip install \"x402[flask,evm,svm]\" python-dotenv\n```\n\nCode:\n```python\nimport os\nfrom dotenv import load_dotenv\nfrom flask import Flask, jsonify\n\nfrom x402.http import FacilitatorConfig, HTTPFacilitatorClientSync, PaymentOption\nfrom x402.http.middleware.flask import payment_middleware\nfrom x402.http.types import RouteConfig\nfrom x402.mechanisms.evm.exact import ExactEvmServerScheme\nfrom x402.mechanisms.svm.exact import ExactSvmServerScheme\nfrom x402.schemas import Network\nfrom x402.server import x402ResourceServerSync\n\nload_dotenv()\n\nEVM_ADDRESS = os.getenv(\"EVM_ADDRESS\")\nSVM_ADDRESS = os.getenv(\"SVM_ADDRESS\")\nEVM_NETWORK: Network = \"eip155:84532\"\nSVM_NETWORK: Network = \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\"\nFACILITATOR_URL = os.getenv(\"FACILITATOR_URL\", \"https:\u002F\u002Fx402.org\u002Ffacilitator\")\n\napp = Flask(__name__)\n\nfacilitator = HTTPFacilitatorClientSync(FacilitatorConfig(url=FACILITATOR_URL))\nserver = x402ResourceServerSync(facilitator)\nserver.register(EVM_NETWORK, ExactEvmServerScheme())\nserver.register(SVM_NETWORK, ExactSvmServerScheme())\n\nroutes = {\n    \"GET \u002Fweather\": RouteConfig(\n        accepts=[\n            PaymentOption(scheme=\"exact\", pay_to=EVM_ADDRESS, price=\"$0.01\", network=EVM_NETWORK),\n            PaymentOption(scheme=\"exact\", pay_to=SVM_ADDRESS, price=\"$0.01\", network=SVM_NETWORK),\n        ],\n        mime_type=\"application\u002Fjson\",\n        description=\"Weather report\",\n    ),\n}\n\npayment_middleware(app, routes=routes, server=server)\n\n@app.route(\"\u002Fhealth\")\ndef health_check():\n    return jsonify({\"status\": \"ok\"})\n\n@app.route(\"\u002Fweather\")\ndef get_weather():\n    return jsonify({\"report\": {\"weather\": \"sunny\", \"temperature\": 70}})\n\nif __name__ == \"__main__\":\n    app.run(host=\"0.0.0.0\", port=4021)\n```\n\n## Go with Gin\n\nInstall dependencies:\n```bash\ngo get github.com\u002Fcoinbase\u002Fx402\u002Fgo\ngo get github.com\u002Fgin-gonic\u002Fgin\ngo get github.com\u002Fjoho\u002Fgodotenv\n```\n\nCode:\n```go\npackage main\n\nimport (\n\t\"net\u002Fhttp\"\n\t\"os\"\n\t\"time\"\n\n\tx402 \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\"\n\tx402http \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fhttp\"\n\tginmw \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fhttp\u002Fgin\"\n\tevm \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fmechanisms\u002Fevm\u002Fexact\u002Fserver\"\n\tsvm \"github.com\u002Fcoinbase\u002Fx402\u002Fgo\u002Fmechanisms\u002Fsvm\u002Fexact\u002Fserver\"\n\t\"github.com\u002Fgin-gonic\u002Fgin\"\n\t\"github.com\u002Fjoho\u002Fgodotenv\"\n)\n\nfunc main() {\n\tgodotenv.Load()\n\n\tevmAddress := os.Getenv(\"EVM_PAYEE_ADDRESS\")\n\tsvmAddress := os.Getenv(\"SVM_PAYEE_ADDRESS\")\n\tfacilitatorURL := os.Getenv(\"FACILITATOR_URL\")\n\n\tr := gin.Default()\n\n\tfacilitatorClient := x402http.NewHTTPFacilitatorClient(&x402http.FacilitatorConfig{\n\t\tURL: facilitatorURL,\n\t})\n\n\troutes := x402http.RoutesConfig{\n\t\t\"GET \u002Fweather\": {\n\t\t\tAccepts: x402http.PaymentOptions{\n\t\t\t\t{Scheme: \"exact\", Price: \"$0.001\", Network: \"eip155:84532\", PayTo: evmAddress},\n\t\t\t\t{Scheme: \"exact\", Price: \"$0.001\", Network: \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", PayTo: svmAddress},\n\t\t\t},\n\t\t\tDescription: \"Get weather data\",\n\t\t\tMimeType:    \"application\u002Fjson\",\n\t\t},\n\t}\n\n\tr.Use(ginmw.X402Payment(ginmw.Config{\n\t\tRoutes:      routes,\n\t\tFacilitator: facilitatorClient,\n\t\tSchemes: []ginmw.SchemeConfig{\n\t\t\t{Network: \"eip155:84532\", Server: evm.NewExactEvmScheme()},\n\t\t\t{Network: \"solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1\", Server: svm.NewExactSvmScheme()},\n\t\t},\n\t\tTimeout: 30 * time.Second,\n\t}))\n\n\tr.GET(\"\u002Fweather\", func(c *gin.Context) {\n\t\tc.JSON(http.StatusOK, gin.H{\n\t\t\t\"weather\":     \"sunny\",\n\t\t\t\"temperature\": 70,\n\t\t\t\"timestamp\":   time.Now().Format(time.RFC3339),\n\t\t})\n\t})\n\n\tr.GET(\"\u002Fhealth\", func(c *gin.Context) {\n\t\tc.JSON(http.StatusOK, gin.H{\"status\": \"ok\"})\n\t})\n\n\tr.Run(\":4021\")\n}\n```\n\n---\n\n# Paywall UI (Server Middleware)\n\nThe `@x402\u002Fpaywall` package provides a pre-built paywall UI that displays when users hit a 402 Payment Required response. It handles wallet connection (MetaMask, Coinbase Wallet, Phantom, etc.), USDC balance checking, and payment submission.\n\n**Important:** This package is designed for **server-side use only**. It generates a complete, self-contained HTML page (~1.9MB) with embedded React, wagmi, and wallet adapters that the server returns when a 402 response is triggered. It is **not** a standalone React component library and **cannot** be imported into an existing React application.\n\n**Looking for React components instead?**\n- **For Solana React apps:** Use `@payai\u002Fx402-solana-react` - drop-in paywall components with themes\n- **For custom EVM\u002FSolana React:** Build with `wagmi` + `viem` (EVM) or `@solana\u002Fwallet-adapter-react` (Solana)\n- **Multi-chain SDKs:** `@dexterai\u002Fx402`, `x402-solana`\n\nSee the [Custom React Frontend Integration](#custom-react-frontend-integration) section below for details.\n\n---\n\n## Installation (Server-Side)\n\n```bash\nnpm install @x402\u002Fpaywall\n```\n\n**Bundle sizes by import:**\n| Import | Size | Networks |\n|--------|------|----------|\n| `@x402\u002Fpaywall` | 3.5MB | EVM + Solana |\n| `@x402\u002Fpaywall\u002Fevm` | 3.4MB | EVM only |\n| `@x402\u002Fpaywall\u002Fsvm` | 1.0MB | Solana only |\n\n## Usage (Server Middleware)\n\n### EVM Only\n\n```typescript\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\n\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withConfig({\n    appName: \"My App\",\n    appLogo: \"\u002Flogo.png\",\n    testnet: true,\n  })\n  .build();\n```\n\n### Solana Only\n\n```typescript\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { svmPaywall } from \"@x402\u002Fpaywall\u002Fsvm\";\n\nconst paywall = createPaywall()\n  .withNetwork(svmPaywall)\n  .withConfig({\n    appName: \"My Solana App\",\n    testnet: true,\n  })\n  .build();\n```\n\n### Multi-Network\n\n```typescript\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\nimport { svmPaywall } from \"@x402\u002Fpaywall\u002Fsvm\";\n\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)  \u002F\u002F First-match priority\n  .withNetwork(svmPaywall)  \u002F\u002F Fallback option\n  .withConfig({\n    appName: \"Multi-chain App\",\n    testnet: true,\n  })\n  .build();\n```\n\n## Configuration Options\n\n```typescript\ninterface PaywallConfig {\n  appName?: string;    \u002F\u002F App name shown in wallet connection\n  appLogo?: string;    \u002F\u002F App logo URL\n  currentUrl?: string; \u002F\u002F URL of protected resource\n  testnet?: boolean;   \u002F\u002F Use testnet (default: true)\n}\n```\n\n## Integration with Express\n\n```typescript\nimport express from \"express\";\nimport { paymentMiddleware, x402ResourceServer } from \"@x402\u002Fexpress\";\nimport { ExactEvmScheme } from \"@x402\u002Fevm\u002Fexact\u002Fserver\";\nimport { HTTPFacilitatorClient } from \"@x402\u002Fcore\u002Fserver\";\nimport { createPaywall } from \"@x402\u002Fpaywall\";\nimport { evmPaywall } from \"@x402\u002Fpaywall\u002Fevm\";\n\nconst app = express();\n\nconst facilitatorClient = new HTTPFacilitatorClient({ url: \"https:\u002F\u002Fx402.org\u002Ffacilitator\" });\n\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withConfig({ appName: \"My API\", testnet: true })\n  .build();\n\napp.use(\n  paymentMiddleware(\n    {\n      \"GET \u002Fpremium\": {\n        accepts: [{ scheme: \"exact\", price: \"$0.01\", network: \"eip155:84532\", payTo: \"0x...\" }],\n        description: \"Premium content\",\n        mimeType: \"application\u002Fjson\",\n      },\n    },\n    new x402ResourceServer(facilitatorClient).register(\"eip155:84532\", new ExactEvmScheme()),\n    undefined,  \u002F\u002F paywallConfig (using custom paywall instead)\n    paywall,    \u002F\u002F custom paywall provider\n  ),\n);\n\napp.get(\"\u002Fpremium\", (req, res) => res.json({ content: \"Premium data\" }));\napp.listen(4021);\n```\n\n## Auto-Detection (Simple Usage)\n\nIf you pass a `paywallConfig` object instead of a custom paywall, the middleware will automatically use `@x402\u002Fpaywall` if installed:\n\n```typescript\napp.use(\n  paymentMiddleware(\n    routes,\n    server,\n    { appName: \"My App\", testnet: true },  \u002F\u002F paywallConfig - auto-detects @x402\u002Fpaywall\n  ),\n);\n```\n\n## How First-Match Selection Works\n\nWhen the server returns multiple payment options, the paywall selects the first one that has a registered handler:\n\n```typescript\n\u002F\u002F Server returns:\n{ \"accepts\": [\n  { \"network\": \"solana:5eykt...\", ... },  \u002F\u002F First option\n  { \"network\": \"eip155:8453\", ... }       \u002F\u002F Second option\n]}\n\n\u002F\u002F If both handlers registered, Solana is selected (first in accepts)\nconst paywall = createPaywall()\n  .withNetwork(evmPaywall)\n  .withNetwork(svmPaywall)\n  .build();\n```\n\n---\n\n## Pricing Configuration\n\n### Simple USD Pricing\n```typescript\n{ scheme: \"exact\", price: \"$0.001\", network: \"eip155:84532\", payTo: evmAddress }\n```\n\n### Custom Token Amount (ERC-20)\n```typescript\n{\n  scheme: \"exact\",\n  price: {\n    amount: \"10000\",  \u002F\u002F atomic units ($0.01 USDC = 10000 because USDC has 6 decimals)\n    asset: \"0x036CbD53842c5426634e7929541eC2318f3dCF7e\",  \u002F\u002F USDC on Base Sepolia\n    extra: { name: \"USDC\", version: \"2\" }  \u002F\u002F EIP-712 params\n  },\n  network: \"eip155:84532\",\n  payTo: evmAddress\n}\n```\n\n---\n\n## Testing\n\nFor testing, use:\n- **Network:** `eip155:84532` (Base Sepolia) or `solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1` (Solana Devnet)\n- **Facilitator:** `https:\u002F\u002Fx402.org\u002Ffacilitator` (testnet only)\n- **Faucets:** Get testnet USDC from Base Sepolia faucet\n\nFor production, switch to mainnet networks and a production facilitator.\n",{"name":5,"metadata":34,"description":7},{"openclaw":35},{"emoji":36},"?","main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Fnotorious-d-e-v\u002Fx402-enhanced",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add kbarbel640-del\u002Fskills --skill x402",{"tool":50,"command":51},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill x402",{"tool":53,"command":54},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill x402","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnotorious-d-e-v\u002Fx402-enhanced\u002FSKILL.md",true,[58],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"_meta.json","REFERENCE","参考文档",476,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fnotorious-d-e-v\u002Fx402-enhanced\u002F_meta.json",[65,90,114,131,136,156],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":29},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[72,73,21,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89],"crowd prompting","prompting","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":29},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[97,21,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,78,113],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":29},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[121,122,123,124,125,126,127,74,128,111,113,129,21,18,130],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","via",{"skillNo":132,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":29},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[124,123,122,121,130,126,127,74,125,111,113,128,129,21,18],{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":29},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[143,144,145,146,147,148,149,150,151,152,153,154,155],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":157,"name":158,"nameZh":6,"description":159,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":160,"categories":161,"keywords":162,"publishedAt":29},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[163,164,165,166,74,167,168,37,169,129,170,171,172,173,174,87,175,176,177],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]