Files
bot/skills/hanzo-web3/SKILL.md
zeekay e5aac7b8a2 feat(skills): add complete Hanzo cloud service repertoire (20 new skills)
Full coverage of Hanzo infrastructure: MCP (260+ tools), CLI, LLM
Gateway, Chat, Network, Node, Web3, Consensus, ACI, REPL, Vector DB,
KV Store, PubSub, DocumentDB, Storage, Studio, Insights, Commerce,
Search, and Telemetry. Updated PaaS skill to use hanzo-tools-paas SDK.
2026-02-27 00:09:47 -08:00

2.5 KiB

name, description, metadata
name description metadata
hanzo-web3 Enterprise blockchain SDK for multi-chain RPC, tokens, NFTs, smart wallets, and ERC-4337 account abstraction via the hanzo-web3 Python SDK.
bot
requires install
bins
python3
id kind package label
pip pip hanzo-web3 Install Hanzo Web3 SDK (pip)

Hanzo Web3 — Enterprise Blockchain SDK

pip install hanzo-web3

Multi-chain blockchain operations: RPC calls, token/NFT management, smart wallets, ERC-4337 account abstraction.

Quick Start

from hanzo_web3 import Client

client = Client(api_key="your-api-key")

# Get ETH balance
balance = await client.get_balance("0x...")
print(f"Balance: {balance} ETH")

Async Client

from hanzo_web3 import AsyncClient

client = AsyncClient(
    api_key="your-api-key",
    base_url="https://api.web3.hanzo.ai",
    timeout=30,
    max_retries=3
)

# Token operations
tokens = await client.tokens.list(chain="ethereum")
balance = await client.tokens.balance("0x...", token="USDC")

RPC Operations

from hanzo_web3 import RPCClient

rpc = RPCClient(api_key="...")

# Direct JSON-RPC calls
block = await rpc.call("eth_getBlockByNumber", ["latest", True])
tx = await rpc.call("eth_getTransactionReceipt", [tx_hash])

NFT Operations

# List NFTs owned by address
nfts = await client.nfts.list(owner="0x...", chain="ethereum")

# Get NFT metadata
metadata = await client.nfts.metadata(contract="0x...", token_id=42)

Smart Wallets (ERC-4337)

# Create smart wallet with account abstraction
wallet = await client.wallets.create(
    owner="0x...",
    chain="ethereum"
)

# Execute gasless transaction
tx = await wallet.execute(
    to="0x...",
    value=0,
    data="0x..."
)

Webhooks

# Register webhook for on-chain events
webhook = await client.webhooks.create(
    url="https://my-app.com/hook",
    events=["transfer", "approval"],
    chain="ethereum"
)

Supported Chains

Ethereum, Polygon, Arbitrum, Optimism, Base, and more EVM-compatible chains.

Configuration

from hanzo_web3 import ClientConfig

config = ClientConfig(
    api_key="your-api-key",
    base_url="https://api.web3.hanzo.ai",
    timeout=30,
    max_retries=3
)

Environment Variables

HANZO_WEB3_API_KEY=...                      # API key
HANZO_WEB3_BASE_URL=https://api.web3.hanzo.ai  # API endpoint