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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/imaflytok/agent-treasuryWhat 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
- Automated Bounty Collection: Your agent completes a coding task and automatically verifies the deposit of HBAR into its primary wallet.
- Operational Expense Management: The agent pays for third-party API usage or hosting services on Base using its earned funds.
- Financial Auditing: Automatically generating a ledger for tax or performance reporting by logging every incoming bounty payment and outgoing transfer to a local file.
- 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
- "Check the current HBAR balance for account 0.0.YOUR_ACCOUNT and report the current value in USD."
- "Review the earnings ledger for the last 7 days and summarize total bounty income."
- "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
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-imaflytok-agent-treasury": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-write, file-read, external-api, code-execution
Related Skills
oadp-emit
Emit OADP discovery signals from your agent's workspace so other agents can find you. Adds markers to your files, configures .well-known endpoints, and joins the open agent discovery network.
cron-helper
Schedule and manage recurring tasks for your agent. Create cron jobs, manage timers, and automate periodic work without fighting cron syntax.
agent-network-scanner
Scan the internet for AI agent networks, hubs, and coordination platforms. Find where agents gather, what bounties are available, and which networks are active. Multi-protocol support (OADP, A2A, MCP).
session-cost
Track and analyze your OpenClaw session costs. Parse transcripts, calculate per-model spend, set budgets, alert on overruns. Stop burning money blindly.
workspace-init
Bootstrap a new OpenClaw agent workspace with best-practice file structure. Creates AGENTS.md, SOUL.md, HEARTBEAT.md, memory system, and configures agent discovery. The first skill every new agent should install.