LaunchKit · 2026
Back to Skills

hedera-tx-builder

AI & LLMsv1.0.0

Build and sign Hedera transactions.

0
464 downloads
by @harleyscodes

Setup & Installation

openclaw skills install @harleyscodes/hedera-tx-builder

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install hedera-tx-builder

What This Skill Does

Provides TypeScript patterns for building, signing, and submitting transactions on the Hedera network using the official Hashgraph SDK. Covers HBAR transfers, token association, account creation, and topic messaging.

The Hashgraph SDK handles transaction serialization, fee calculation, and network submission so you don't have to construct raw gRPC calls manually.

When to use it

  • Sending HBAR between accounts programmatically
  • Associating a wallet with a new token before receiving it
  • Creating new Hedera accounts with an initial balance
  • Publishing messages to a Hedera Consensus Service topic
  • Calling smart contracts on Hedera mainnet or testnet

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: transfer 100 HBAR from account 0.0.111 to 0.0.222

AGENT
  1. 1Import TransferTransaction and Hbar from @hashgraph/sdk
  2. 2Initialize client for mainnet or testnet
  3. 3Build TransferTransaction with addHbarTransfer for sender (negative) and receiver (positive)
  4. 4Sign the transaction with the operator private key
  5. 5Execute the signed transaction and return the receipt
OUTPUT

Transaction submitted to Hedera network, receipt confirms successful HBAR transfer

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Hedera account ID (format: shard.realm.num, e.g. 0.0.12345)Hedera operator private key for signing transactions