ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified finance Safety 2/5

agent-treasury

Manage your agent's crypto wallet. Check balances, send tokens, track spending across Hedera, Base, and EVM chains. Built for agents who earn and spend on-chain.

Why use this skill?

Equip your OpenClaw agent with treasury capabilities. Manage HBAR and EVM balances, track earnings, and execute automated crypto transactions securely.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/imaflytok/agent-treasury
Or

What This Skill Does

The agent-treasury skill provides a robust framework for managing on-chain assets directly from your OpenClaw agent environment. Designed for autonomous entities that need to handle compensation, payments, and financial monitoring, this tool bridges the gap between off-chain task execution and on-chain settlement. It supports multi-chain operations, specifically targeting Hedera Hashgraph for HBAR transactions and EVM-compatible chains like Base for smart contract interaction. By providing balance checks, transaction capabilities via the Hashgraph SDK, and ledger management, it turns your agent into a self-sustaining financial unit. It is essential for agents acting as service providers, bounty hunters, or autonomous liquidity managers.

Installation

To integrate this skill into your environment, ensure you have the OpenClaw CLI and the necessary dependencies (Node.js for HBAR transactions, jq for data processing) installed. Run the following command in your terminal:

clawhub install openclaw/skills/skills/imaflytok/agent-treasury

After installation, configure your credentials securely within the agent settings. For HBAR transactions, ensure your environment is initialized with your private keys or a valid signing client. For EVM chains, verify that your RPC endpoints are set correctly in your configuration files.

Use Cases

  1. Automated Bounty Collection: Your agent completes a coding task and automatically verifies the deposit of HBAR into its primary wallet.
  2. Operational Expense Management: The agent pays for third-party API usage or hosting services on Base using its earned funds.
  3. Financial Auditing: Automatically generating a ledger for tax or performance reporting by logging every incoming bounty payment and outgoing transfer to a local file.
  4. Gas Price Optimization: Before executing a transaction, the agent checks the current Base gas price to ensure it is within a predefined threshold for cost efficiency.

Example Prompts

  1. "Check the current HBAR balance for account 0.0.YOUR_ACCOUNT and report the current value in USD."
  2. "Review the earnings ledger for the last 7 days and summarize total bounty income."
  3. "Send 50 HBAR from my main wallet to the operator address for node maintenance and confirm the transaction ID."

Tips & Limitations

Always store your private keys in a secure environment variable or a dedicated vault service; never hardcode them into the ledger scripts. Be mindful of chain-specific latency—Hedera and Base have different consensus speeds. The ledger tool operates as a simple text log; for production-grade financial applications, consider migrating this data to an encrypted database. Always verify gas prices before executing high-frequency transactions to prevent draining funds during network congestion.

Metadata

Author@imaflytok
Stars2287
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-imaflytok-agent-treasury": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#crypto#hedera#evm#finance#wallet
Safety Score: 2/5

Flags: network-access, file-write, file-read, external-api, code-execution