Skip to main content
T TON Adoption
Basics GUIDE · 2026

How TON Sharding Works — 2026 Guide

Masterchain, workchains and shardchains: how TON splits load, dynamic split/merge, how Catchain differs from standard PoS, and what users actually feel.

Author
TON Adoption Team · research desk
Published
7 min read

When Ethereum settles 15-30 transactions per second and TON comfortably handles thousands at peak, the gap is not explained by “a faster VM”. It is explained by a fundamentally different way of storing and processing state. TON was designed from day one as an “infinitely shardable” network: the number of shards adapts to load. This article walks through how that actually works, why a masterchain is needed, what Catchain is, and the trade-offs that users and developers pay for the architecture.

The piece is aimed at technically curious users and junior developers who have heard about shards but never opened the hood.

The chain hierarchy: masterchain → workchain → shardchain

TON organizes network state at three levels:

  • Masterchain — the root chain. It stores critical information: the current validator set, network configuration, hashes of the latest blocks of all workchains, balances of major TON Foundation contracts. There is exactly one masterchain. Masterchain finality is about 5 seconds.
  • Workchain — a separate sub-network with its own rules (VM, address format, potentially even consensus). One workchain is in active use today — basechain (workchain_id = 0). Architecturally the design has room for 2^32 workchains, but in practice there are two: masterchain (id = -1) and basechain (id = 0).
  • Shardchain — dynamic sub-chains inside a workchain. Each shardchain owns a specific prefix of the address space. Under load a shard can split into two; under low load two shards can merge back.

You can picture this as a tree: masterchain at the root, workchains below, and a constantly-restructuring forest of shardchains at the bottom.

Why have a masterchain at all

If all balances and contracts lived in one chain, you would get Ethereum — a single throughput ceiling on everything. If there were many chains but no root, you would get a multi-chain universe like Cosmos, where every pair of networks needs a bridge. TON picked a third path: one network with one coordination point.

The masterchain plays the role of synchronizer: every masterchain block references the latest blocks of all workchains and through them all shardchains. If a transaction lands in a shardchain block that is referenced by a masterchain block, the transaction is final. That gives global ordering even though actual processing runs in parallel across shards.

The price is the masterchain’s own throughput: it stays a bottleneck. That is why ordinary smart contracts and user transactions are deliberately not allowed there — only system operations, validator elections, and configuration live in masterchain.

Dynamic split and merge

The defining feature of TON sharding is adaptiveness. In Ethereum 2.0 or Near the shard count is fixed. In TON it changes in real time:

  1. Every shard monitors its load (gas per block, outbound queue length).
  2. If load stays above a threshold for several blocks, the shard validators initiate a split: the shard divides into two, each taking half of the address space.
  3. If load drops below the lower threshold and the neighboring shard is also quiet, validators initiate a merge: two shards combine into one.

In practice this means TON scales horizontally without a hard fork. The network has been observed with dozens of active shards at peak; in calmer hours there may be just one or two. Charts of “shard count over time” are available on tonviewer and dton.

How addresses map to shards

A TON contract address is a pair (workchain_id, account_id) where account_id is a 256-bit number. Shards split the address space by the binary prefix of account_id. If a workchain has one shard, it owns every possible account_id. After a split one shard takes prefix 0..., the other 1.... The next split yields 00..., 01..., 10..., 11..., and so on.

An important consequence: a contract deployed at address X always lives in the shard whose prefix matches the start of X. During split operations the contract automatically ends up in the right child shard. This is why TON contract addresses are deterministic — they depend on initial state (init code + init data), not on who deployed or when.

Catchain: per-shard consensus

Every shardchain is served by its own subset of validators. They are drawn from the global validator pool for each round (currently about 18 hours). The subset reaches consensus on its own blocks using Catchain — a BFT protocol with leader rotation, optimized for fast finality inside a group of 100-200 nodes.

Catchain runs on top of the regular TON node network. Inside a round the shard validators exchange block proposals, signatures, and vote messages. Once more than 2/3 has signed, the block is finalised. The results then surface to masterchain via references.

Contrast with classic PoS like Ethereum’s: in Ethereum every validator votes on the same block of the main chain. In TON different validator subsets vote on blocks of different shards simultaneously. That is consensus-level parallelism — something monolithic chains do not have.

Validator and nominator roles

Anyone with enough stake (currently a few hundred thousand TON) and adequate hardware can become a TON validator. But in reality most stake comes from nominators — regular TON holders who delegate their coins to a validator via a nominator-pool or single-nominator contract.

A nominator does not run a node, does not babysit uptime, and does not risk their keys. They only put up stake and earn a share of rewards minus the validator fee. It is a safe path to passive yield of roughly 4-6% APR in TON (historically).

Staking via liquid providers (Tonstakers, bemo, hipo) does the same thing but additionally hands the holder a “liquid staking token” (stTON, tsTON, etc.) that can be used in DeFi.

What an end user feels

Sharding is background magic. Users do not see it directly but feel it through side effects:

  • Finality speed. A typical single-shard transaction confirms in about 5 seconds. Cross-shard transactions take 10-20 seconds (you must wait for several masterchain blocks for consistency).
  • Fee stability. Under peak load Ethereum gas can jump 10-100x. TON under the same load just splits a shard and fees stay near baseline.
  • Parallel pipes. If you hold 5 jettons their balances may live in 5 different shards. Updating one does not block the others.

The price of the architecture: developer trade-offs

Parallelism is not free. Building a dApp for TON means accepting:

  1. Inter-contract calls are asynchronous. There is no Solidity-style otherContract.foo() returning a value immediately. A contract sends a message and ends its transaction; the reply arrives in a separate block.
  2. Cross-shard delay. A message between contracts in different shards must enter the outbound queue, traverse hypercube routing, and be processed in the receiving shard. That is seconds, not milliseconds.
  3. Atomic operations are a myth. You cannot in a single transaction “take from A, give to B, check C, revert on failure”. You must design multi-step flows with explicit compensation.
  4. Composition is harder. Ethereum-style flash loans are technically impossible in their original form. Analogues exist (via DEX aggregators) but use different logic.
  5. Tooling is younger. Hardhat-grade infrastructure is not yet there, though Blueprint, ACTON Foundry, and tact-aware plugins are catching up fast.

Side-by-side: TON vs Ethereum

PropertyEthereum L1TON
Shardsnone (Phase 1 plan cancelled)dynamic, up to 2^60 in theory
Finality~12-15 min (Casper FFG)~5 seconds (masterchain)
Peak TPS15-30thousands (depends on shard count)
ConsensusGasper (LMD GHOST + Casper)Catchain BFT per shard + masterchain
Validator set per roundallper-shard subsets
Full-node sync complexitylineargrows with active shard count

What to expect next

The TON Foundation roadmap for 2026-2027 includes lowering the validator threshold, developing cross-shard DeFi composability via specialized “hub contracts”, and optimizing hypercube routing. TON’s main technical debt — the lack of EVM compatibility — is being eased by bridges like TAC and Mercurio, but that is a separate story.

If you want to dig deeper into adjacent topics: there is a dedicated piece on the TEP-74 jetton standard, including why it is shaped this way and how it interacts with shards. Same for fees and why they remain so stable under load. And the wide-angle “what is TON and why care” view lives in the beginner guide.

Frequently asked

One workchain (basechain) is active and it dynamically splits into shards under load. At peak the network has been seen with dozens of active shards; in quiet periods balances may live in a single shard.
Transactions confirm faster (about 5-second finality on masterchain) and cost a fraction of a cent. The downside: if the recipient lives in another shard, you may wait an extra block or two for the cross-shard message.
Catchain is a BFT consensus for the subset of validators serving one specific shard. Each subset reaches agreement independently and masterchain aggregates the results. That is what lets block production run in parallel across shards.
Because of asynchronous messaging between contracts and across shards. There is no single-transaction atomic swap like an Ethereum flash loan — you must design multi-step flows with explicit error compensation.

Related