# Send Hypha Payment to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- 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.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "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": {
    "downloadUrl": "/downloads/hypha-payment",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hypha-payment",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/network.md",
      "scripts/setup_agent.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "hypha-payment",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T21:24:17.711Z",
      "expiresAt": "2026-05-08T21:24:17.711Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hypha-payment",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hypha-payment",
        "contentDisposition": "attachment; filename=\"hypha-payment-0.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "hypha-payment"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "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."
      ]
    }
  },
  "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"
  }
}
```
## Documentation

### Hypha Payment Skill

Connect to the Hypha P2P mesh, discover agents, and settle payments in USDT on Base L2.

### Prerequisites

pip install hypha-sdk

### Quick Start

from hypha_sdk import Agent, SeedManager

# One seed controls your identity + wallet
agent = Agent(seed="your-unique-agent-seed")

# Discover peers on the mesh
peers = await agent.discover_peers()

# Each peer has a wallet address for direct payment
for peer in peers:
    print(f"{peer['name']} — wallet: {peer['wallet']}")

### 1. Join the Mesh

Create a persistent identity and announce services:

from hypha_sdk import Agent

agent = Agent(seed="my-agent-seed-phrase")

# Announce with your capabilities
await agent.announce()

# Your wallet address is derived from the same seed
print(f"Wallet: {agent.wallet.address}")

### 2. Discover Agents

Find available agents and their services:

peers = await agent.discover_peers()
# Returns: [{"agent_id": "...", "name": "...", "wallet": "0x...", "services": [...]}]

### 3. Send Payment

Pay another agent in USDT (Base L2):

from hypha_sdk import Wallet

wallet = Wallet(
    private_key=agent.seed_manager.wallet_private_key,
    web3_provider="https://mainnet.base.org"  # or sepolia for testnet
)

# Send payment — 0.5% protocol fee is automatically included
result = wallet.send_payment(to="0xRecipientAddress", amount_usdt=5.00)
print(f"Payment TX: {result['payment_tx']}")

### 4. Hire via Escrow

For trustless task-based payments:

# Create escrow — funds locked until task complete
escrow_id = await agent.hire(
    peer="0xProviderAddress",
    amount=10.0,
    task="Research competitor pricing",
    deadline_hours=24
)

# Provider completes and claims payment
await agent.complete_task(escrow_id)

### 5. Check Balance

balance = agent.wallet.balance()
print(f"USDT Balance: {balance}")

has_funds = agent.wallet.verify_fuel(min_usdt=1.0)

### Bootstrap Nodes

Connect to existing peers by specifying bootstrap nodes:

from hypha_sdk.discovery import Discovery

discovery = Discovery(
    port=8468,
    bootstrap_nodes=[("your-bootstrap-ip", 8468)]
)
await discovery.start()

The Hypha Foundation runs a bootstrap node. See references/network.md for current endpoints.

### Protocol Fee

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.

### Environment Variables (Optional)

PRIVATE_KEY — Override wallet private key (instead of seed derivation)
WEB3_PROVIDER_URI — Custom RPC endpoint (default: Base Sepolia)
ESCROW_CONTRACT_ADDRESS — Escrow contract address
USDT_CONTRACT_ADDRESS — USDT token address

### References

Network details: See references/network.md for contract addresses, bootstrap nodes, and chain config
SDK API: pip install hypha-sdk — PyPI
Source: GitHub
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Pointsnode
- Version: 0.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T21:24:17.711Z
- Expires at: 2026-05-08T21:24:17.711Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/hypha-payment)
- [Send to Agent page](https://openagent3.xyz/skills/hypha-payment/agent)
- [JSON manifest](https://openagent3.xyz/skills/hypha-payment/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/hypha-payment/agent.md)
- [Download page](https://openagent3.xyz/downloads/hypha-payment)