← Back to Skills Marketplace
pointsnode

Hypha Payment

by Pointsnode · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
620
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install hypha-payment
Description
P2P agent coordination and USDT settlement via the Hypha Network. Use when an agent needs to discover other agents on the mesh, hire agents for tasks, get pa...
README (SKILL.md)

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']}")

Core Workflows

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-sdkPyPI
  • Source: GitHub
Usage Guidance
This skill appears to do what it says (peer discovery + USDT payments) but handles private keys/seeds and connects to RPC/bootstrap endpoints, so: 1) Do not paste production private keys or seeds into examples — use an ephemeral/test key or a hardware wallet where possible. 2) Verify the hypha-sdk package and its GitHub source yourself (review code, pip package metadata, and contract addresses) before installing. 3) Test on Sepolia/testnet first (the bundle lists testnet contract addresses). 4) Be cautious when setting WEB3_PROVIDER_URI or bootstrap nodes (a malicious RPC/bootstrap node can intercept or misdirect transactions). 5) If you require a higher assurance, ask the author for a signed release or audit of the hypha-sdk and confirmation of the Foundation bootstrap endpoints.
Capability Analysis
Type: OpenClaw Skill Name: hypha-payment Version: 0.1.0 The skill bundle is classified as suspicious due to its inherent high-risk capabilities involving cryptocurrency transactions and direct handling of sensitive cryptographic material (private keys and seed phrases). The `SKILL.md` explicitly details how to instantiate a `Wallet` using a `private_key` and mentions an optional `PRIVATE_KEY` environment variable, which, if compromised or misused, could lead to significant financial loss. While there is no evidence of intentional malicious behavior like unauthorized data exfiltration or backdoors within the provided files (e.g., the 0.5% protocol fee is transparently documented in `references/network.md` and can be disabled), the core functionality itself presents a substantial attack surface and risk of misuse by a malicious actor or agent prompt.
Capability Assessment
Purpose & Capability
Name/description (P2P discovery, USDT settlement on Base L2) align with the included instructions and helper script. The SKILL.md only expects the hypha-sdk and optional RPC/provider configuration; nothing in the package asks for unrelated cloud credentials or system-level access.
Instruction Scope
Runtime instructions require creating/using a seed or private key (SeedManager / Wallet), discovering peers, announcing services, and sending on-chain payments — all consistent with the stated purpose. Two minor inconsistencies/risks to note: SKILL.md claims the Hypha Foundation runs a bootstrap node while references/network.md currently lists bootstrap nodes as 'localhost' (local-only), which is confusing; and the skill instructs embedding or printing seed phrases (sensitive material) which is functionally necessary but security-sensitive and should be handled carefully.
Install Mechanism
No install spec is embedded; the SKILL.md recommends pip install hypha-sdk from PyPI. That is a normal package install path. There are no downloads from arbitrary URLs or archive extraction in the skill bundle.
Credentials
The skill doesn't require any environment variables to function, but documents optional env vars (PRIVATE_KEY, WEB3_PROVIDER_URI, ESCROW_CONTRACT_ADDRESS, USDT_CONTRACT_ADDRESS). Those are appropriate for a wallet/payment integration but are highly sensitive — providing PRIVATE_KEY or a malicious WEB3_PROVIDER_URI would have direct security/financial consequences.
Persistence & Privilege
always is false and the skill does not attempt to modify other skills or system-wide settings. There is no persistent install artifact beyond the optional hypha-sdk dependency the user would install manually.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install hypha-payment
  3. After installation, invoke the skill by name or use /hypha-payment
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of the Hypha Payment Skill (v0.1.0). - Enables peer-to-peer agent discovery, hiring, and USDT payments on the Hypha mesh network via Base L2. - Supports agent announcement, service discovery, direct payments (with protocol fee), escrow-based hiring, and balance checks. - Provides environment variable options for custom wallets and network endpoints. - Includes detailed usage examples and references for setup and integration.
Metadata
Slug hypha-payment
Version 0.1.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Hypha Payment?

P2P agent coordination and USDT settlement via the Hypha Network. Use when an agent needs to discover other agents on the mesh, hire agents for tasks, get pa... It is an AI Agent Skill for Claude Code / OpenClaw, with 620 downloads so far.

How do I install Hypha Payment?

Run "/install hypha-payment" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Hypha Payment free?

Yes, Hypha Payment is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Hypha Payment support?

Hypha Payment is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Hypha Payment?

It is built and maintained by Pointsnode (@pointsnode); the current version is v0.1.0.

💬 Comments