Introduction
The Hedera Localnet provides developers with a comprehensive framework for locally testing and refining Hedera-based applications. By operating outside the public networks, Localnet eliminates network I/O bottlenecks, minimizes shared resource conflicts, and gives you complete control over network configurations. The recommended local development path is:- Solo (recommended): Start local development and CI workflows on Solo: a Kubernetes-native network that fully mimics a production Hedera environment.
- Previewnet: Test against Hedera Previewnet for early exposure to upcoming code changes.
- Testnet: Validate against the stable test network before deploying to Hedera Mainnet.
Migrating from Local Node? Hiero Local Node is in a 6-month deprecation period ending September 2026. Solo is the supported replacement. See the Local Node section below for instructions that remain valid through the deprecation window.
Solo
Solo is a Kubernetes-native tool for spinning up a private Hedera network that fully mirrors a production environment. It is the recommended local development environment for new projects and the migration target for teams moving off Hiero Local Node.What Solo runs
A Solo deployment includes the same stack you find on Hedera mainnet and testnet:- Consensus node: processes transactions and participates in Hashgraph consensus
- Mirror node: stores transaction history and serves REST, gRPC, and Web3 APIs
- Block node: streams record files from the consensus node and makes them available to downstream consumers
- JSON-RPC relay: translates Ethereum JSON-RPC into Hedera transactions, enabling EVM tooling (MetaMask, Hardhat, Foundry, Ethers.js)
- Mirror Node Explorer: web-based block explorer for auditing transactions and accounts locally
Get started
Solo documentation
Quickstart, installation, and configuration guides for Solo.
Solo quickstart
Install Solo and start your first local network in minutes.
Using Solo with Hiero SDKs
Configure the JavaScript, Java, and Go SDKs to point at a Solo network.
Using Solo with EVM tools
Connect MetaMask, Hardhat, and Foundry to a local Solo network.
Accessing Solo services
Port mappings and endpoints for the consensus node, mirror node, and relay.
Local Node (deprecated)
The Local Node replicates a Hedera network comprised of a single node (or few if configured) on a developer’s local machine, offering a controlled environment for developing, testing, and experimenting with decentralized applications (dApps). This local setup utilizes Docker Compose to create multiple containers, each with a specific role within the network, including but not limited to:- Consensus Node: Simulates the behavior of Hedera’s consensus mechanism, processing/ordering transactions and participating in the network’s consensus algorithm.
- Mirror Node: Provides access to the historical data, transaction records, and the current state of the network without participating in consensus. This is useful for querying and analytics.
- JSON-RPC Relay: Offers a local JSON-RPC implementation of the Ethereum JSON-RPC APIs for Hedera to enable interactions with smart contracts and accounts. This is particularly useful for developers familiar with Ethereum tooling and ecosystem.
- Mirror Node Explorer: A web-based interface that allows developers to audit transactions, accounts, and other network activities visually.
Setup and Configuration
Single-node configuration simulates the network’s functions on a smaller scale (on a single node), ideal for debugging, testing, and prototype development. Multi-node configuration distributes multiple instances of the Hedera network nodes across a single machine using Docker containers, intended for advanced testing and network emulation. ➡ Single Node Configuration ➡ Multinode ConfigurationOperational Modes
Local Node offers two modes depending on a developer’s needs:Full mode
Full mode
Full mode is activated with the
--full flag, and the system is designed to capture and store comprehensive data. Here’s how it works:- Data Upload: Each node within the network generates record stream files during operation. Record stream files are a sequence of transaction records grouped together over a specific interval. The Hedera network periodically consolidates these transaction records into stream files, which are then made available to the network nodes and mirror nodes. In full mode, these files are systematically uploaded to their own directory within the
miniobucket. MinIo is an object storage platform that provides dedicated tools for storing, retrieving, and searching blobs. This process is managed by specific uploader containers assigned to each node, namely:record-streams-uploader-N(contains record streams)account-balances-uploader-N(contains account balances files)record-sidecar-uploader-N(contains a list ofTransactionSidecarRecordsthat were all created over a specific interval and related to the sameRecordStreamFile.
Turbo mode
Turbo mode
Turbo mode is the default setting when running the local node. This mode prioritizes efficiency and speed, with the following key characteristics:
- Local Data Access: Instead of uploading data to the cloud, record stream files are read directly from their corresponding local directories on each node. This method significantly reduces latency and resource consumption, making it ideal for scenarios where immediate data access and high performance are prioritized over long-term storage and external accessibility.
Additional Resources
- Solo Repository
- Solo Documentation
- Hiero Local Node Repo (deprecating September 2026)
- Docker Compose Documentation
- Run a Local Node in Gitpod [tutorial]
- Run a Local Node in Codespaces [tutorial]