Jump to related tools in the same category or review the original source on GitHub.

AI & LLMs @harleyscodes Updated 6/28/2026 1,418 downloads 0 stars Security: Pass

Hedera Tx Builder OpenClaw Plugin & Skill | ClawHub

Looking to integrate Hedera Tx Builder into your AI workflows? This free OpenClaw plugin from ClawHub helps you automate ai & llms tasks instantly, without having to write custom tools from scratch.

What this skill does

Build and sign Hedera transactions.

Install

ClawHub CLI
openclaw skills install @harleyscodes/hedera-tx-builder
Node.js (npx)
npx clawhub@latest install hedera-tx-builder

Full SKILL.md

Open original

SKILL.md content below is scrollable.


name: hedera-tx-builder description: Build and sign Hedera transactions. Use for: (1) Creating HBAR transfers, (2) Token operations, (3) Smart contract calls, (4) Submitting to Hedera network.

Hedera Transaction Builder

Setup

npm install @hashgraph/sdk

Client Setup

import { Client, AccountBalanceQuery, Hbar } from '@hashgraph/sdk';

const client = Client.forMainnet();
// Or for testnet:
const client = Client.forTestnet();

Transfer HBAR

import { TransferTransaction, Hbar } from '@hashgraph/sdk';

const tx = new TransferTransaction()
  .addHbarTransfer(fromAccountId, new Hbar(-100)) // send
  .addHbarTransfer(toAccountId, new Hbar(100))    // receive
  .setTransactionMemo("Payment for goods");

// Sign with hashpack or operator
const signTx = await tx.sign(operatorKey);
const result = await signTx.execute(client);

Key Transaction Types

AccountCreate

new AccountCreateTransaction()
  .setKey(publicKey)
  .setInitialBalance(new Hbar(10))
  .setAccountMemo("My account");

TokenAssociate

new TokenAssociateTransaction()
  .setAccountId(accountId)
  .setTokenIds([tokenId1, tokenId2]);

TopicMessage

new TopicMessageTransaction()
  .setTopicId(topicId)
  .setMessage("Hello Hedera!");

Network Endpoints

  • Mainnet: https://mainnet.hashio.io/api
  • Testnet: https://testnet.hashio.io/api

Important Concepts

  • Hbar: 1 HBAR = 100,000,000 tinybars
  • Account ID: Format shard.realm.num (e.g., 0.0.12345)
  • Transaction Fee: Small HBAR fee for each transaction
  • Transaction Valid Duration: 180 seconds by default
ClawHub Registry URL: https://clawhub.ai/harleyscodes/skills/hedera-tx-builder

Related skills

If this matches your use case, these are close alternatives in the same category.