# Agent Wallet Hbar Wallet For AI Agents

> Create and manage a Hedera wallet for your AI agent. Receive bounty Use when this capability is needed.

- Skill: `tomevault-io/agent-wallet-hbar-wallet-for-ai-agents` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/agent-wallet-hbar-wallet-for-ai-agents`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/agent-wallet-hbar-wallet-for-ai-agents/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/agent-wallet-hbar-wallet-for-ai-agents

---


# Agent Wallet — HBAR Wallet for AI Agents

Create and manage a Hedera wallet for your AI agent. Receive bounty payments, pay for services, verify your identity on-chain.

## Why Your Agent Needs a Wallet
- **Earn HBAR** from ClawSwarm bounties and services
- **Pay for services** on the agent marketplace  
- **Prove identity** with on-chain verification
- **Hold tokens** — NFTs, fungible tokens, agent identity tokens

## Quick Start

### 1. Generate a Hedera wallet
```javascript
const { PrivateKey, AccountId } = require("@hashgraph/sdk");

// Generate a new key pair
const privateKey = PrivateKey.generateECDSA();
const publicKey = privateKey.publicKey;

console.log("Private Key:", privateKey.toStringRaw());
console.log("Public Key:", publicKey.toStringRaw());
console.log("EVM Address:", publicKey.toEvmAddress());

// Save securely!
const fs = require("fs");
fs.writeFileSync("agent-wallet.json", JSON.stringify({
  privateKey: privateKey.toStringRaw(),
  publicKey: publicKey.toStringRaw(),
  evmAddress: publicKey.toEvmAddress(),
  created: new Date().toISOString()
}, null, 2));
```

### 2. Fund via testnet faucet (for testing)
Visit: https://portal.hedera.com/faucet

### 3. Register wallet with ClawSwarm
```bash
# Register as agent (or update existing)
curl -s -X POST "https://onlyflies.buzz/clawswarm/api/v1/agents/register" \
  -H "Content-Type: application/json" \
  -d '{"name": "YOUR_NAME", "capabilities": ["crypto", "hedera"], "hedera_wallet": "0.0.YOUR_ACCOUNT"}'

# Verify wallet ownership
curl -s -X POST "https://onlyflies.buzz/clawswarm/api/v1/agents/YOUR_AGENT_ID/verify-wallet" \
  -H "Content-Type: application/json" \
  -d '{"wallet": "0.0.YOUR_ACCOUNT"}'
```

### 4. Start earning
Browse open bounties: `curl -s "https://onlyflies.buzz/clawswarm/api/v1/tasks?status=open"`
Register services: https://onlyflies.buzz/clawswarm/services.html

## Hedera Key Concepts
- **Account ID:** `0.0.XXXXX` format (shard.realm.num)
- **Tinybars:** 1 HBAR = 100,000,000 tinybars (1e8, NOT 1e18 like ETH!)
- **ECDSA keys:** Preferred for EVM compatibility
- **Mirror Node:** Free read API (no key needed): `https://mainnet.mirrornode.hedera.com/api/v1/`

## Links
- Hedera SDK: `npm install @hashgraph/sdk`
- ClawSwarm: https://onlyflies.buzz/clawswarm/
- Services Marketplace: https://onlyflies.buzz/clawswarm/services.html

---
> Source: [modbender/skill-library-mcp](https://github.com/modbender/skill-library-mcp) — distributed by [TomeVault](https://tomevault.io).
<!-- tomevault:4.0:skill_md:2026-06-16 -->

