How hiero-ledger/hiero-sdk-python works
Hiero SDK for Python lets applications configure a network client, authenticate with an operator, then execute queries and transactions against Hedera and retrieve results. Its domain APIs cover accounts, tokens, contracts, consensus, files, schedules, and network nodes; the TCK server is a separate compatibility-testing interface present in the tree. The shared execution layer handles query/transaction dispatch and gRPC service channels. Relationships beyond the README workflow are limited to those shown by the supplied excerpts or SOURCE INDEX; unsampled domain internals are represented without speculative call chains.
Main entry points: transaction.py Transactions · query.py Query Framework · client.py Client Configuration · account Account Operations
Components 20
Client and Transport
- Client Configuration
src/hiero_sdk_python/client/client.py - Network
src/hiero_sdk_python/client/network.py - gRPC Channels
src/hiero_sdk_python/channels.py
Execution Core
- Execution and Retry
src/hiero_sdk_python/executable.py - Query Framework
src/hiero_sdk_python/query/query.py - Transactions
src/hiero_sdk_python/transaction/transaction.py
Accounts and Assets
- Account Operations
src/hiero_sdk_python/account - Token Operations
src/hiero_sdk_python/tokens - Keys and Signing
src/hiero_sdk_python/crypto - HBAR Values
src/hiero_sdk_python/hbar.py
Network Services
- Smart Contracts
src/hiero_sdk_python/contract - Consensus Topics
src/hiero_sdk_python/consensus - File Service
src/hiero_sdk_python/file - Scheduled Transactions
src/hiero_sdk_python/schedule - Node Management
src/hiero_sdk_python/nodes
Compatibility Interface
- TCK Server
tck/server.py - Domain Handlers
tck/handlers
Other components
- SDK Application
- Hedera Network
- Mirror Node
Connections 23
- SDK Application → Client Configuration: configures
README.md - SDK Application → Query Framework: executes
README.md - Client Configuration → Network: uses network
src/hiero_sdk_python/client/client.py - Client Configuration → Hedera Network: connects
README.md - Network → gRPC Channels: provides channels
- gRPC Channels → Hedera Network: dispatches gRPC
src/hiero_sdk_python/channels.py - Query Framework → Execution and Retry: uses execution
src/hiero_sdk_python/query/query.py - Transactions → Execution and Retry: uses execution
- Query Framework → Hedera Network: requests data
README.md - Transactions → Hedera Network: submits operations
README.md - Account Operations → Query Framework: offers queries
src/hiero_sdk_python/account/account_records_query.py - Account Operations → Transactions: offers mutations
- Token Operations → Transactions: offers token actions
- Smart Contracts → Query Framework: offers contract calls
src/hiero_sdk_python/contract/contract_call_query.py - Smart Contracts → Transactions: offers contract actions
- Consensus Topics → Transactions: offers topic actions
- File Service → Query Framework: offers file queries
src/hiero_sdk_python/file/file_info_query.py - File Service → Transactions: offers file actions
- Scheduled Transactions → Transactions: offers scheduling
- Node Management → Transactions: offers node actions
- Keys and Signing → Client Configuration: signs as operator
src/hiero_sdk_python/client/client.py - Query Framework → Mirror Node: queries balances
- TCK Server → Domain Handlers: routes requests
tck/server.py