{
  "schemaVersion": "1.0",
  "item": {
    "slug": "payspawn",
    "name": "PaySpawn — On-Chain Spending Limits for AI Agents",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/adambrainai/payspawn",
    "canonicalUrl": "https://clawhub.ai/adambrainai/payspawn",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/payspawn",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=payspawn",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/payspawn"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/payspawn",
    "agentPageUrl": "https://openagent3.xyz/skills/payspawn/agent",
    "manifestUrl": "https://openagent3.xyz/skills/payspawn/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/payspawn/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "PaySpawn — Agent Payment Controls",
        "body": "Set spending limits for AI agents that make payments autonomously. Limits are enforced at the smart contract level on Base — not in software, not on a server. The contract cannot be overridden."
      },
      {
        "title": "Install",
        "body": "npm install @payspawn/sdk"
      },
      {
        "title": "Credential Setup (One Human Step)",
        "body": "Before the agent can make payments, the wallet owner must create a credential:\n\nGo to payspawn.ai/dashboard\nConnect your wallet (MetaMask, Coinbase Wallet, or any USDC wallet on Base)\nApprove a USDC spending ceiling (one on-chain transaction, ~$0.005 gas)\nSet limits: daily cap, per-transaction cap, optional address whitelist\nSign the credential (EIP-712 signature — no gas, no transaction)\nCopy the credential string and set it as PAYSPAWN_CREDENTIAL in your environment\n\nThe credential is not a private key. Your wallet key never leaves your control. The agent can only spend within the limits you set — the contract enforces this and cannot be bypassed."
      },
      {
        "title": "Usage",
        "body": "import { PaySpawn } from \"@payspawn/sdk\";\nconst ps = new PaySpawn(process.env.PAYSPAWN_CREDENTIAL);\n\n// Auto-pay x402 APIs within your set limits\nconst res = await ps.fetch(\"https://api.example.com/endpoint\");\n\n// Send a payment\nawait ps.pay(\"0xRecipientAddress\", 1.00);\n\n// Check balance and remaining daily allowance\nconst { balance, remaining } = await ps.check();\n\n// Pause all payments instantly (on-chain, immediate effect)\nawait ps.agent.pause();\n\n// Resume payments\nawait ps.agent.unpause();"
      },
      {
        "title": "Fleet Mode",
        "body": "Provision multiple agent credentials from one shared pool. One wallet funds the pool; each agent gets its own credential with its own daily limit.\n\n// Create a shared budget pool\nconst pool = await ps.pool.create({ totalBudget: 100, agentDailyLimit: 10 });\n\n// Fund the pool: send USDC to pool.address from your wallet\n\n// Provision credentials for each agent\nconst fleet = await ps.fleet.provision({ poolAddress: pool.address, count: 10 });\n// fleet[0], fleet[1], ... → credential strings, one per agent"
      },
      {
        "title": "Contract Enforcement",
        "body": "Every payment is checked by the PaySpawn V5 contract on Base before any USDC moves:\n\nDaily allowance exceeded → transaction reverts\nAmount exceeds per-tx cap → transaction reverts\nRecipient not on whitelist → transaction reverts\n\nNo API override. No config flag. Math runs first, every time.\n\nContract address (Base Mainnet): 0xaa8e6815b0E8a3006DEe0c3171Cf9CA165fd862e\nUSDC (Base): 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      },
      {
        "title": "Links",
        "body": "payspawn.ai\npayspawn.ai/dashboard\n@payspawn\nnpm: @payspawn/sdk"
      }
    ],
    "body": "PaySpawn — Agent Payment Controls\n\nSet spending limits for AI agents that make payments autonomously. Limits are enforced at the smart contract level on Base — not in software, not on a server. The contract cannot be overridden.\n\nInstall\nnpm install @payspawn/sdk\n\nCredential Setup (One Human Step)\n\nBefore the agent can make payments, the wallet owner must create a credential:\n\nGo to payspawn.ai/dashboard\nConnect your wallet (MetaMask, Coinbase Wallet, or any USDC wallet on Base)\nApprove a USDC spending ceiling (one on-chain transaction, ~$0.005 gas)\nSet limits: daily cap, per-transaction cap, optional address whitelist\nSign the credential (EIP-712 signature — no gas, no transaction)\nCopy the credential string and set it as PAYSPAWN_CREDENTIAL in your environment\n\nThe credential is not a private key. Your wallet key never leaves your control. The agent can only spend within the limits you set — the contract enforces this and cannot be bypassed.\n\nUsage\nimport { PaySpawn } from \"@payspawn/sdk\";\nconst ps = new PaySpawn(process.env.PAYSPAWN_CREDENTIAL);\n\n// Auto-pay x402 APIs within your set limits\nconst res = await ps.fetch(\"https://api.example.com/endpoint\");\n\n// Send a payment\nawait ps.pay(\"0xRecipientAddress\", 1.00);\n\n// Check balance and remaining daily allowance\nconst { balance, remaining } = await ps.check();\n\n// Pause all payments instantly (on-chain, immediate effect)\nawait ps.agent.pause();\n\n// Resume payments\nawait ps.agent.unpause();\n\nFleet Mode\n\nProvision multiple agent credentials from one shared pool. One wallet funds the pool; each agent gets its own credential with its own daily limit.\n\n// Create a shared budget pool\nconst pool = await ps.pool.create({ totalBudget: 100, agentDailyLimit: 10 });\n\n// Fund the pool: send USDC to pool.address from your wallet\n\n// Provision credentials for each agent\nconst fleet = await ps.fleet.provision({ poolAddress: pool.address, count: 10 });\n// fleet[0], fleet[1], ... → credential strings, one per agent\n\nContract Enforcement\n\nEvery payment is checked by the PaySpawn V5 contract on Base before any USDC moves:\n\nDaily allowance exceeded → transaction reverts\nAmount exceeds per-tx cap → transaction reverts\nRecipient not on whitelist → transaction reverts\n\nNo API override. No config flag. Math runs first, every time.\n\nContract address (Base Mainnet): 0xaa8e6815b0E8a3006DEe0c3171Cf9CA165fd862e\nUSDC (Base): 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913\n\nLinks\npayspawn.ai\npayspawn.ai/dashboard\n@payspawn\nnpm: @payspawn/sdk"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/adambrainai/payspawn",
    "publisherUrl": "https://clawhub.ai/adambrainai/payspawn",
    "owner": "adambrainai",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/payspawn",
    "downloadUrl": "https://openagent3.xyz/downloads/payspawn",
    "agentUrl": "https://openagent3.xyz/skills/payspawn/agent",
    "manifestUrl": "https://openagent3.xyz/skills/payspawn/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/payspawn/agent.md"
  }
}