๐ค
Hedera
Assist with Hedera HBAR transactions, account creation, token service, and consensus features.
ๅฎๅ
จ้่ฟ
๐ฌPrompt
ๆ่ฝ่ฏดๆ
name: Hedera description: Assist with Hedera HBAR transactions, account creation, token service, and consensus features. metadata: {"clawdbot":{"emoji":"โ","os":["linux","darwin","win32"]}}
Account Model (Critical Difference)
- Hedera accounts must be created before receiving funds โ unlike Bitcoin/Ethereum, addresses don't exist until created
- Account creation costs HBAR โ someone must fund the initial creation
- Account IDs are numeric (0.0.12345) โ not cryptographic hashes like other chains
- Memo field available on accounts โ can store small amounts of data
- Accounts can be deleted to recover balance โ but requires all tokens and associations removed first
Account Creation
- New users need someone to create their account โ can't just generate address and receive
- Exchanges create accounts on withdrawal โ but self-custody requires creation first
- HashPack and other wallets offer account creation โ may require payment or sponsor
- Testnet accounts free to create โ use for development and testing
Transaction Fees
- Fees are extremely low and predictable โ typically $0.0001 or less
- Fees paid in HBAR only โ no gas token complexity
- Transaction fees set by network, not auction โ no priority fee bidding
- Scheduled transactions cost extra โ pay for scheduling plus execution
Token Service (HTS)
- Native token support without smart contracts โ create tokens via Hedera Token Service
- Token association required before receiving โ must explicitly associate with token ID
- Association costs small HBAR fee โ limits spam tokens
- Fungible and NFT tokens supported natively โ no need for custom contracts
- Token admin keys control supply, freeze, wipe โ verify token permissions before trusting
Memo Field
- Transactions can include memo โ used for exchange deposits like destination tags
- Memo is public and permanent โ don't include sensitive data
- Some services require specific memo format โ verify before sending
- Max memo size is 100 bytes โ keep it short
Consensus and Finality
- Transactions finalize in 3-5 seconds โ no waiting for confirmations
- Hashgraph consensus provides ordering guarantees โ no MEV or frontrunning possible
- Fair ordering prevents manipulation โ transactions processed in order received
- Mirror nodes provide historical data โ main network doesn't store full history
Smart Contracts
- Hedera supports Solidity smart contracts โ EVM compatible
- Contracts interact with native HTS tokens โ best of both worlds
- Contract deployment costs more than simple transactions โ plan accordingly
- State storage costs ongoing rent โ unused contracts still cost
Staking
- Native staking to nodes โ no minimum, no lockup
- Rewards paid automatically every 24 hours โ no claiming needed
- Staking doesn't transfer funds โ HBAR stays in your account
- Choosing a node affects decentralization โ spread stakes across nodes
Keys and Security
- Accounts can have multiple keys โ threshold signatures supported
- Key rotation possible without changing account ID โ update keys if compromised
- Different key types: Ed25519, ECDSA (secp256k1) โ affects wallet compatibility
- Admin keys on tokens can freeze/wipe holdings โ check before acquiring tokens
Common Issues
- "INSUFFICIENT_PAYER_BALANCE" โ need more HBAR for fees
- "INVALID_ACCOUNT_ID" โ account doesn't exist, needs creation
- "TOKEN_NOT_ASSOCIATED" โ must associate with token before receiving
- "INSUFFICIENT_TX_FEE" โ rare, fee estimate was too low
- "ACCOUNT_FROZEN_FOR_TOKEN" โ token admin has frozen transfers
Exchanges and Transfers
- Most major exchanges support HBAR โ verify account ID format (0.0.xxxxx)
- Memo often required for exchange deposits โ critical like XRP destination tags
- Account ID is not a wallet address โ don't confuse with Ethereum-style addresses
- Verify recipient account exists before sending โ non-existent accounts reject transfers
Network Services
- Hedera Consensus Service (HCS) โ ordered message logging
- Hedera File Service (HFS) โ store larger data on network
- Mirror nodes for queries โ don't query mainnet for historical data
- SDKs available for major languages โ JavaScript, Java, Go, Python
ๅฆไฝไฝฟ็จใHederaใ๏ผ
- ๆๅผๅฐ้พ่พAI๏ผWeb ๆ iOS App๏ผ
- ็นๅปไธๆนใ็ซๅณไฝฟ็จใๆ้ฎ๏ผๆๅจๅฏน่ฏๆกไธญ่พๅ ฅไปปๅกๆ่ฟฐ
- ๅฐ้พ่พAI ไผ่ชๅจๅน้ ๅนถ่ฐ็จใHederaใๆ่ฝๅฎๆไปปๅก
- ็ปๆๅณๆถๅ็ฐ๏ผๆฏๆ็ปง็ปญๅฏน่ฏไผๅ