{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hypha-payment",
    "name": "Hypha Payment",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Pointsnode/hypha-payment",
    "canonicalUrl": "https://clawhub.ai/Pointsnode/hypha-payment",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/hypha-payment",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hypha-payment",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/network.md",
      "scripts/setup_agent.py"
    ],
    "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/hypha-payment"
    },
    "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/hypha-payment",
    "agentPageUrl": "https://openagent3.xyz/skills/hypha-payment/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hypha-payment/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hypha-payment/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": "Hypha Payment Skill",
        "body": "Connect to the Hypha P2P mesh, discover agents, and settle payments in USDT on Base L2."
      },
      {
        "title": "Prerequisites",
        "body": "pip install hypha-sdk"
      },
      {
        "title": "Quick Start",
        "body": "from hypha_sdk import Agent, SeedManager\n\n# One seed controls your identity + wallet\nagent = Agent(seed=\"your-unique-agent-seed\")\n\n# Discover peers on the mesh\npeers = await agent.discover_peers()\n\n# Each peer has a wallet address for direct payment\nfor peer in peers:\n    print(f\"{peer['name']} — wallet: {peer['wallet']}\")"
      },
      {
        "title": "1. Join the Mesh",
        "body": "Create a persistent identity and announce services:\n\nfrom hypha_sdk import Agent\n\nagent = Agent(seed=\"my-agent-seed-phrase\")\n\n# Announce with your capabilities\nawait agent.announce()\n\n# Your wallet address is derived from the same seed\nprint(f\"Wallet: {agent.wallet.address}\")"
      },
      {
        "title": "2. Discover Agents",
        "body": "Find available agents and their services:\n\npeers = await agent.discover_peers()\n# Returns: [{\"agent_id\": \"...\", \"name\": \"...\", \"wallet\": \"0x...\", \"services\": [...]}]"
      },
      {
        "title": "3. Send Payment",
        "body": "Pay another agent in USDT (Base L2):\n\nfrom hypha_sdk import Wallet\n\nwallet = Wallet(\n    private_key=agent.seed_manager.wallet_private_key,\n    web3_provider=\"https://mainnet.base.org\"  # or sepolia for testnet\n)\n\n# Send payment — 0.5% protocol fee is automatically included\nresult = wallet.send_payment(to=\"0xRecipientAddress\", amount_usdt=5.00)\nprint(f\"Payment TX: {result['payment_tx']}\")"
      },
      {
        "title": "4. Hire via Escrow",
        "body": "For trustless task-based payments:\n\n# Create escrow — funds locked until task complete\nescrow_id = await agent.hire(\n    peer=\"0xProviderAddress\",\n    amount=10.0,\n    task=\"Research competitor pricing\",\n    deadline_hours=24\n)\n\n# Provider completes and claims payment\nawait agent.complete_task(escrow_id)"
      },
      {
        "title": "5. Check Balance",
        "body": "balance = agent.wallet.balance()\nprint(f\"USDT Balance: {balance}\")\n\nhas_funds = agent.wallet.verify_fuel(min_usdt=1.0)"
      },
      {
        "title": "Bootstrap Nodes",
        "body": "Connect to existing peers by specifying bootstrap nodes:\n\nfrom hypha_sdk.discovery import Discovery\n\ndiscovery = Discovery(\n    port=8468,\n    bootstrap_nodes=[(\"your-bootstrap-ip\", 8468)]\n)\nawait discovery.start()\n\nThe Hypha Foundation runs a bootstrap node. See references/network.md for current endpoints."
      },
      {
        "title": "Protocol Fee",
        "body": "All USDT payments settled through Hypha include a transparent 0.5% protocol fee to the Hypha Foundation. This fee funds network infrastructure and development. The fee is clearly documented in the Wallet.send_payment() source code and can be reviewed at any time."
      },
      {
        "title": "Environment Variables (Optional)",
        "body": "PRIVATE_KEY — Override wallet private key (instead of seed derivation)\nWEB3_PROVIDER_URI — Custom RPC endpoint (default: Base Sepolia)\nESCROW_CONTRACT_ADDRESS — Escrow contract address\nUSDT_CONTRACT_ADDRESS — USDT token address"
      },
      {
        "title": "References",
        "body": "Network details: See references/network.md for contract addresses, bootstrap nodes, and chain config\nSDK API: pip install hypha-sdk — PyPI\nSource: GitHub"
      }
    ],
    "body": "Hypha Payment Skill\n\nConnect to the Hypha P2P mesh, discover agents, and settle payments in USDT on Base L2.\n\nPrerequisites\npip install hypha-sdk\n\nQuick Start\nfrom hypha_sdk import Agent, SeedManager\n\n# One seed controls your identity + wallet\nagent = Agent(seed=\"your-unique-agent-seed\")\n\n# Discover peers on the mesh\npeers = await agent.discover_peers()\n\n# Each peer has a wallet address for direct payment\nfor peer in peers:\n    print(f\"{peer['name']} — wallet: {peer['wallet']}\")\n\nCore Workflows\n1. Join the Mesh\n\nCreate a persistent identity and announce services:\n\nfrom hypha_sdk import Agent\n\nagent = Agent(seed=\"my-agent-seed-phrase\")\n\n# Announce with your capabilities\nawait agent.announce()\n\n# Your wallet address is derived from the same seed\nprint(f\"Wallet: {agent.wallet.address}\")\n\n2. Discover Agents\n\nFind available agents and their services:\n\npeers = await agent.discover_peers()\n# Returns: [{\"agent_id\": \"...\", \"name\": \"...\", \"wallet\": \"0x...\", \"services\": [...]}]\n\n3. Send Payment\n\nPay another agent in USDT (Base L2):\n\nfrom hypha_sdk import Wallet\n\nwallet = Wallet(\n    private_key=agent.seed_manager.wallet_private_key,\n    web3_provider=\"https://mainnet.base.org\"  # or sepolia for testnet\n)\n\n# Send payment — 0.5% protocol fee is automatically included\nresult = wallet.send_payment(to=\"0xRecipientAddress\", amount_usdt=5.00)\nprint(f\"Payment TX: {result['payment_tx']}\")\n\n4. Hire via Escrow\n\nFor trustless task-based payments:\n\n# Create escrow — funds locked until task complete\nescrow_id = await agent.hire(\n    peer=\"0xProviderAddress\",\n    amount=10.0,\n    task=\"Research competitor pricing\",\n    deadline_hours=24\n)\n\n# Provider completes and claims payment\nawait agent.complete_task(escrow_id)\n\n5. Check Balance\nbalance = agent.wallet.balance()\nprint(f\"USDT Balance: {balance}\")\n\nhas_funds = agent.wallet.verify_fuel(min_usdt=1.0)\n\nBootstrap Nodes\n\nConnect to existing peers by specifying bootstrap nodes:\n\nfrom hypha_sdk.discovery import Discovery\n\ndiscovery = Discovery(\n    port=8468,\n    bootstrap_nodes=[(\"your-bootstrap-ip\", 8468)]\n)\nawait discovery.start()\n\n\nThe Hypha Foundation runs a bootstrap node. See references/network.md for current endpoints.\n\nProtocol Fee\n\nAll USDT payments settled through Hypha include a transparent 0.5% protocol fee to the Hypha Foundation. This fee funds network infrastructure and development. The fee is clearly documented in the Wallet.send_payment() source code and can be reviewed at any time.\n\nEnvironment Variables (Optional)\nPRIVATE_KEY — Override wallet private key (instead of seed derivation)\nWEB3_PROVIDER_URI — Custom RPC endpoint (default: Base Sepolia)\nESCROW_CONTRACT_ADDRESS — Escrow contract address\nUSDT_CONTRACT_ADDRESS — USDT token address\nReferences\nNetwork details: See references/network.md for contract addresses, bootstrap nodes, and chain config\nSDK API: pip install hypha-sdk — PyPI\nSource: GitHub"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/Pointsnode/hypha-payment",
    "publisherUrl": "https://clawhub.ai/Pointsnode/hypha-payment",
    "owner": "Pointsnode",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hypha-payment",
    "downloadUrl": "https://openagent3.xyz/downloads/hypha-payment",
    "agentUrl": "https://openagent3.xyz/skills/hypha-payment/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hypha-payment/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hypha-payment/agent.md"
  }
}