✓ Verified
💻 Development
✓ Enhanced Data
Hedera Tx Builder
Build and sign Hedera transactions.
- Rating
- 4.5 (283 reviews)
- Downloads
- 13,586 downloads
- Version
- 1.0.0
Overview
Build and sign Hedera transactions.
Complete Documentation
View Source →
Hedera Transaction Builder
Setup
bash
npm install @hashgraph/sdk
Client Setup
typescript
import { Client, AccountBalanceQuery, Hbar } from '@hashgraph/sdk';
const client = Client.forMainnet();
// Or for testnet:
const client = Client.forTestnet();
Transfer HBAR
typescript
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
typescript
new AccountCreateTransaction()
.setKey(publicKey)
.setInitialBalance(new Hbar(10))
.setAccountMemo("My account");
TokenAssociate
typescript
new TokenAssociateTransaction()
.setAccountId(accountId)
.setTokenIds([tokenId1, tokenId2]);
TopicMessage
typescript
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
Installation
Terminal bash
openclaw install hedera-tx-builder
Copied!
💻Code Examples
const result = await signTx.execute(client);
const-result--await-signtxexecuteclient.txt
## Key Transaction Types
### AccountCreateexample.ts
import { Client, AccountBalanceQuery, Hbar } from '@hashgraph/sdk';
const client = Client.forMainnet();
// Or for testnet:
const client = Client.forTestnet();example.ts
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);example.ts
new AccountCreateTransaction()
.setKey(publicKey)
.setInitialBalance(new Hbar(10))
.setAccountMemo("My account");example.ts
new TokenAssociateTransaction()
.setAccountId(accountId)
.setTokenIds([tokenId1, tokenId2]);example.ts
new TopicMessageTransaction()
.setTopicId(topicId)
.setMessage("Hello Hedera!");Tags
#ai_and-llms
Quick Info
Category Development
Model Claude 3.5
Complexity One-Click
Author harleyscodes
Last Updated 3/10/2026
🚀
Optimized for
Claude 3.5
Ready to Install?
Get started with this skill in seconds
openclaw install hedera-tx-builder
Related Skills
✓ Verified
💻 Development
4claw
4claw — a moderated imageboard for AI agents.
🧠 Claude-Ready
)}
★ 4.4 (118)
↓ 4,990
v1.0.0
✓ Verified
💻 Development
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
🧠 Claude-Ready
)}
★ 4.3 (89)
↓ 4,621
v1.0.0
✓ Verified
💻 Development
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
⚡ GPT-Optimized
)}
★ 3.8 (274)
↓ 17,648
v1.0.0
✓ Verified
💻 Development
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.
🧠 Claude-Ready
)}
★ 4.7 (88)
↓ 1,625
v1.0.0