{
  "schemaVersion": "1.0",
  "item": {
    "slug": "paygents",
    "name": "PayGents",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/AmitayBohadana/paygents",
    "canonicalUrl": "https://clawhub.ai/AmitayBohadana/paygents",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/paygents",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=paygents",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "config.example.json",
      "references/evm-usdc-poc.md",
      "scripts/evm-balance.sh",
      "scripts/evm-payment-link.sh"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/paygents"
    },
    "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/paygents",
    "agentPageUrl": "https://openagent3.xyz/skills/paygents/agent",
    "manifestUrl": "https://openagent3.xyz/skills/paygents/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/paygents/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "PayGents",
        "body": "Accept crypto payments through your AI agent. Generate wallet deeplinks, verify on-chain, issue receipts — no backend, no API keys."
      },
      {
        "title": "Quick Start",
        "body": "Send 10 USDC on Base:\n\nscripts/evm-payment-link.sh --to 0xRECIPIENT --amount 10 --chain-id 8453\n\nVerify the payment:\n\nscripts/evm-verify-tx.sh --chain-id 8453 --from 0xSENDER --to 0xRECIPIENT --asset ERC20 --amount 10 --blocks 50\n\nCheck a wallet balance:\n\nscripts/evm-balance.sh --address 0xADDRESS\n\nThat's it. No API keys, no backend, no custody."
      },
      {
        "title": "Flow",
        "body": "Agent collects payment details (recipient, amount, chain, token).\nAgent runs the link generator script → gets a MetaMask deeplink.\nAgent sends the link to the user.\nUser taps → MetaMask opens with pre-filled transfer → user approves.\nUser confirms \"sent\" → agent verifies the tx on-chain."
      },
      {
        "title": "Wallet Detection",
        "body": "Before generating a link, the agent should know which wallet the user has. Ask once, remember forever.\n\nSupported wallets with native deeplinks:\n\nWallet--wallet flagDeeplink formatMetaMaskmetamask (default)https://link.metamask.io/send/...Trust Wallettrusthttps://link.trustwallet.com/send?...\n\nNot supported (no send deeplinks):\n\nRabby — only has in-app browser, no direct send deeplink\nCoinbase Wallet — only has dapp browser deeplink, no direct send\nPhantom — requires encrypted handshake, not a simple URL\n\nIf the user's wallet isn't supported, default to MetaMask (most common) or let them know.\n\nStore the user's wallet preference so you don't ask again. The agent should note the preference in its local session context (e.g. memory file). The user can change or clear this at any time by telling the agent."
      },
      {
        "title": "Inputs Required",
        "body": "FieldRequiredDescription--toYesRecipient address (0x...)--amountYesHuman-readable amount (e.g. 1.5)--chain-idNoChain ID (default: 8453 Base)--assetNoETH or ERC20 (default: ERC20)--tokenNoERC20 contract address (auto-detected for USDC on known chains)--decimalsNoToken decimals (default: 6 for USDC, 18 for ETH)--symbolNoToken symbol for display (default: USDC or ETH)--walletNometamask or trust (default: metamask)"
      },
      {
        "title": "Generate Payment Link",
        "body": "ERC20 (USDC) — MetaMask:\n\nscripts/evm-payment-link.sh \\\n  --to 0x1234...5678 \\\n  --amount 10 \\\n  --chain-id 8453\n\nNative ETH — Trust Wallet:\n\nscripts/evm-payment-link.sh \\\n  --to 0x1234...5678 \\\n  --amount 0.01 \\\n  --asset ETH \\\n  --chain-id 11155111 \\\n  --wallet trust\n\nOutput is JSON with:\n\nintent — structured payment details\ndeeplink — MetaMask deeplink URL\nmessageTemplate — ready-to-send message for the user"
      },
      {
        "title": "Verify Transaction",
        "body": "After the user says \"sent\", verify on-chain:\n\nscripts/evm-verify-tx.sh \\\n  --chain-id 11155111 \\\n  --from 0xSENDER \\\n  --to 0xRECIPIENT \\\n  --asset ETH \\\n  --amount 0.001 \\\n  --blocks 50\n\nReturns the matching tx hash if found, or \"not found\"."
      },
      {
        "title": "Supported Chains",
        "body": "ChainIDDefault USDCEthereum10xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48Base84530x833589fCD6eDb6E08f4c7C32D4f71b54bDa02913Sepolia111551110x1c7d4b196cb0c7b01d743fbc6116a902379c7238Base Sepolia845320x036CbD53842c5426634e7929541eC2318f3dCf7e"
      },
      {
        "title": "User Message Pattern",
        "body": "When sending the link, always include:\n\nAmount + token + chain\nRecipient (truncated)\n\"Tap to open MetaMask and approve\"\n\"Reject if recipient or amount doesn't match\""
      },
      {
        "title": "Check Wallet Balance",
        "body": "Query native + major ERC20 balances across all supported chains:\n\n# All chains at once\nscripts/evm-balance.sh --address 0x1234...5678\n\n# Single chain\nscripts/evm-balance.sh --address 0x1234...5678 --chain-id 8453\n\nReturns JSON with native balance + USDC, USDT, WETH, WBTC, DAI per chain.\n\nSupported chains: Ethereum, Base, Polygon, Arbitrum, Optimism, BNB Chain, Sepolia, Base Sepolia.\n\nNo API key needed — uses public RPCs directly."
      },
      {
        "title": "Generate Receipt",
        "body": "After a transaction is verified, generate a structured receipt:\n\nscripts/evm-receipt.sh \\\n  --tx-hash 0xabc123... \\\n  --chain-id 8453 \\\n  --memo \"order-42\" \\\n  --merchant \"Cool Store\"\n\nOptions:\n\n--format json | markdown | both (default: both)\n--out <directory> — save receipt files to disk (JSON + markdown)\n--memo — order ID or note\n--merchant — merchant/payee name\n\nOutput includes: status, amount, token, from/to, gas fee, block, explorer link, timestamp.\n\nThe receipt can be sent to the user as a confirmation message, saved for bookkeeping, or forwarded to a merchant."
      },
      {
        "title": "RPC Configuration",
        "body": "By default, scripts use public RPC endpoints. You can override them for privacy or reliability:\n\nOption 1 — Environment variables (highest priority):\n\nexport RPC_1=\"https://my-private-eth-node.com\"\nexport RPC_8453=\"https://my-base-rpc.com\"\n\nOption 2 — Config file (copy config.example.json → config.json):\n\n{\n  \"rpc\": {\n    \"1\": \"https://my-private-eth-node.com\",\n    \"8453\": \"https://my-base-rpc.com\"\n  }\n}\n\nOption 3 — Public fallbacks (default, no setup needed):\nUsed automatically if no env var or config is set. Public providers (e.g. eth.llamarpc.com) will see your wallet addresses and tx hashes.\n\nResolution order: env var RPC_<chainId> → config.json → public fallback."
      },
      {
        "title": "Security & Privacy",
        "body": "The wallet is the trust boundary — agent cannot force-execute.\nVerification checks the actual on-chain receipt, not user claims.\nNever store or handle private keys.\nRPC privacy: If using public fallback RPCs, third-party providers will see wallet addresses and tx hashes you query. Set your own RPCs via env vars or config.json for privacy.\nWallet preference: The agent may store the user's preferred wallet (metamask/trust) in its memory. This is only the wallet app name, no keys or sensitive data. The user can ask the agent to clear it at any time."
      }
    ],
    "body": "PayGents\n\nAccept crypto payments through your AI agent. Generate wallet deeplinks, verify on-chain, issue receipts — no backend, no API keys.\n\nQuick Start\n\nSend 10 USDC on Base:\n\nscripts/evm-payment-link.sh --to 0xRECIPIENT --amount 10 --chain-id 8453\n\n\nVerify the payment:\n\nscripts/evm-verify-tx.sh --chain-id 8453 --from 0xSENDER --to 0xRECIPIENT --asset ERC20 --amount 10 --blocks 50\n\n\nCheck a wallet balance:\n\nscripts/evm-balance.sh --address 0xADDRESS\n\n\nThat's it. No API keys, no backend, no custody.\n\nFlow\nAgent collects payment details (recipient, amount, chain, token).\nAgent runs the link generator script → gets a MetaMask deeplink.\nAgent sends the link to the user.\nUser taps → MetaMask opens with pre-filled transfer → user approves.\nUser confirms \"sent\" → agent verifies the tx on-chain.\nWallet Detection\n\nBefore generating a link, the agent should know which wallet the user has. Ask once, remember forever.\n\nSupported wallets with native deeplinks:\n\nWallet\t--wallet flag\tDeeplink format\nMetaMask\tmetamask (default)\thttps://link.metamask.io/send/...\nTrust Wallet\ttrust\thttps://link.trustwallet.com/send?...\n\nNot supported (no send deeplinks):\n\nRabby — only has in-app browser, no direct send deeplink\nCoinbase Wallet — only has dapp browser deeplink, no direct send\nPhantom — requires encrypted handshake, not a simple URL\n\nIf the user's wallet isn't supported, default to MetaMask (most common) or let them know.\n\nStore the user's wallet preference so you don't ask again. The agent should note the preference in its local session context (e.g. memory file). The user can change or clear this at any time by telling the agent.\n\nInputs Required\nField\tRequired\tDescription\n--to\tYes\tRecipient address (0x...)\n--amount\tYes\tHuman-readable amount (e.g. 1.5)\n--chain-id\tNo\tChain ID (default: 8453 Base)\n--asset\tNo\tETH or ERC20 (default: ERC20)\n--token\tNo\tERC20 contract address (auto-detected for USDC on known chains)\n--decimals\tNo\tToken decimals (default: 6 for USDC, 18 for ETH)\n--symbol\tNo\tToken symbol for display (default: USDC or ETH)\n--wallet\tNo\tmetamask or trust (default: metamask)\nCommands\nGenerate Payment Link\n\nERC20 (USDC) — MetaMask:\n\nscripts/evm-payment-link.sh \\\n  --to 0x1234...5678 \\\n  --amount 10 \\\n  --chain-id 8453\n\n\nNative ETH — Trust Wallet:\n\nscripts/evm-payment-link.sh \\\n  --to 0x1234...5678 \\\n  --amount 0.01 \\\n  --asset ETH \\\n  --chain-id 11155111 \\\n  --wallet trust\n\n\nOutput is JSON with:\n\nintent — structured payment details\ndeeplink — MetaMask deeplink URL\nmessageTemplate — ready-to-send message for the user\nVerify Transaction\n\nAfter the user says \"sent\", verify on-chain:\n\nscripts/evm-verify-tx.sh \\\n  --chain-id 11155111 \\\n  --from 0xSENDER \\\n  --to 0xRECIPIENT \\\n  --asset ETH \\\n  --amount 0.001 \\\n  --blocks 50\n\n\nReturns the matching tx hash if found, or \"not found\".\n\nSupported Chains\nChain\tID\tDefault USDC\nEthereum\t1\t0xA0b86991c6218b36c1d19d4a2e9eb0ce3606eb48\nBase\t8453\t0x833589fCD6eDb6E08f4c7C32D4f71b54bDa02913\nSepolia\t11155111\t0x1c7d4b196cb0c7b01d743fbc6116a902379c7238\nBase Sepolia\t84532\t0x036CbD53842c5426634e7929541eC2318f3dCf7e\nUser Message Pattern\n\nWhen sending the link, always include:\n\nAmount + token + chain\nRecipient (truncated)\n\"Tap to open MetaMask and approve\"\n\"Reject if recipient or amount doesn't match\"\nCheck Wallet Balance\n\nQuery native + major ERC20 balances across all supported chains:\n\n# All chains at once\nscripts/evm-balance.sh --address 0x1234...5678\n\n# Single chain\nscripts/evm-balance.sh --address 0x1234...5678 --chain-id 8453\n\n\nReturns JSON with native balance + USDC, USDT, WETH, WBTC, DAI per chain.\n\nSupported chains: Ethereum, Base, Polygon, Arbitrum, Optimism, BNB Chain, Sepolia, Base Sepolia.\n\nNo API key needed — uses public RPCs directly.\n\nGenerate Receipt\n\nAfter a transaction is verified, generate a structured receipt:\n\nscripts/evm-receipt.sh \\\n  --tx-hash 0xabc123... \\\n  --chain-id 8453 \\\n  --memo \"order-42\" \\\n  --merchant \"Cool Store\"\n\n\nOptions:\n\n--format json | markdown | both (default: both)\n--out <directory> — save receipt files to disk (JSON + markdown)\n--memo — order ID or note\n--merchant — merchant/payee name\n\nOutput includes: status, amount, token, from/to, gas fee, block, explorer link, timestamp.\n\nThe receipt can be sent to the user as a confirmation message, saved for bookkeeping, or forwarded to a merchant.\n\nRPC Configuration\n\nBy default, scripts use public RPC endpoints. You can override them for privacy or reliability:\n\nOption 1 — Environment variables (highest priority):\n\nexport RPC_1=\"https://my-private-eth-node.com\"\nexport RPC_8453=\"https://my-base-rpc.com\"\n\n\nOption 2 — Config file (copy config.example.json → config.json):\n\n{\n  \"rpc\": {\n    \"1\": \"https://my-private-eth-node.com\",\n    \"8453\": \"https://my-base-rpc.com\"\n  }\n}\n\n\nOption 3 — Public fallbacks (default, no setup needed): Used automatically if no env var or config is set. Public providers (e.g. eth.llamarpc.com) will see your wallet addresses and tx hashes.\n\nResolution order: env var RPC_<chainId> → config.json → public fallback.\n\nSecurity & Privacy\nThe wallet is the trust boundary — agent cannot force-execute.\nVerification checks the actual on-chain receipt, not user claims.\nNever store or handle private keys.\nRPC privacy: If using public fallback RPCs, third-party providers will see wallet addresses and tx hashes you query. Set your own RPCs via env vars or config.json for privacy.\nWallet preference: The agent may store the user's preferred wallet (metamask/trust) in its memory. This is only the wallet app name, no keys or sensitive data. The user can ask the agent to clear it at any time."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/AmitayBohadana/paygents",
    "publisherUrl": "https://clawhub.ai/AmitayBohadana/paygents",
    "owner": "AmitayBohadana",
    "version": "0.3.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/paygents",
    "downloadUrl": "https://openagent3.xyz/downloads/paygents",
    "agentUrl": "https://openagent3.xyz/skills/paygents/agent",
    "manifestUrl": "https://openagent3.xyz/skills/paygents/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/paygents/agent.md"
  }
}