# ton-blockchain/ton

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/ton-blockchain-ton).**

_How this analysis was created: the description and tags below were written by an AI model that read this project's README and public documentation pages; stars, license and language come straight from the GitHub API. The model does not read the source code._

4,054 stars · 1,577 forks · C++ · NOASSERTION

## Links

- GitHub: https://github.com/ton-blockchain/ton
- awesome-repositories: https://awesome-repositories.com/repository/ton-blockchain-ton.md

## Topics

`blockchain` `cryptocurrency` `infinite-sharding` `ton`

## Description

This project is a full-stack implementation of the TON protocol, serving as a layer 1 blockchain protocol designed for transaction processing and smart contract execution. It encompasses the core blockchain validator node, storage daemons, and network logic required to maintain a distributed ledger.

The system is distinguished by a sharding architecture and a specialized virtual machine for deploying asynchronous smart contracts. It utilizes a cell-based data storage model for deterministic serialization and an actor-based asynchronous message passing system for communication between contracts.

The platform provides a comprehensive set of capabilities for node operation, including block processing optimization, overlay-network synchronization, and lite client state verification. Development tools cover the entire lifecycle of smart contracts, from compilation and local debugging to transaction simulation and execution emulation.

The core blockchain logic is designed for multi-platform compatibility, including a compilation pipeline that exports binaries to WebAssembly for execution within web browsers.

## Tags

### DevOps & Infrastructure

- [Blockchain Node Operation](https://awesome-repositories.com/f/devops-infrastructure/blockchain-node-operation.md) — Provides a full implementation of validator nodes and storage daemons to maintain the TON network state.
- [Validator Nodes](https://awesome-repositories.com/f/devops-infrastructure/blockchain-nodes/validator-nodes.md) — Provides a full server implementation for maintaining network consensus, validating blocks, and synchronizing the global ledger state.
- [Lite Client Interfaces](https://awesome-repositories.com/f/devops-infrastructure/blockchain-node-operation/lite-node-operations/lite-client-interfaces.md) — Provides a lightweight blockchain interface for querying network state and interacting with the ledger without running a full node.
- [Blockchain Nodes](https://awesome-repositories.com/f/devops-infrastructure/blockchain-nodes.md) — Provides the runtime for executing distributed ledger nodes, including validator engines and storage daemons. ([source](https://github.com/ton-blockchain/ton#readme))
- [Lite Node Operations](https://awesome-repositories.com/f/devops-infrastructure/blockchain-node-operation/lite-node-operations.md) — Implements a lightweight client interface that reduces resource requirements compared to a full validator node. ([source](https://github.com/ton-blockchain/ton/blob/master/Dockerfile))

### Data & Databases

- [Cell-Based Data Storage](https://awesome-repositories.com/f/data-databases/cell-based-data-storage.md) — Uses a specialized cell-based data storage model to ensure deterministic serialization of all blockchain state and contract code.
- [Asynchronous Message Passings](https://awesome-repositories.com/f/data-databases/data-exchange-protocols/runtime-data-exchange/actor-messaging/asynchronous-message-passings.md) — Implements an actor-based asynchronous message passing system for communication between smart contracts.
- [Layer 1 Blockchains](https://awesome-repositories.com/f/data-databases/proof-of-stake-delegation/proof-of-stake-consensus/layer-1-frameworks/layer-1-blockchains.md) — Implements a foundational layer 1 distributed ledger protocol using a sharding architecture for transaction processing.
- [Overlay Network Synchronizations](https://awesome-repositories.com/f/data-databases/block-based-state-synchronization/overlay-network-synchronizations.md) — Implements a dedicated overlay network layer for transferring block candidates to accelerate node synchronization. ([source](https://github.com/ton-blockchain/ton/blob/master/recent_changelog.md))

### Networking & Communication

- [Blockchain Network Integrations](https://awesome-repositories.com/f/networking-communication/blockchain-network-integrations.md) — Implements lightweight interfaces that allow applications to connect to the blockchain and query state without running a full node. ([source](https://github.com/ton-blockchain/ton#readme))
- [Protocol Implementations](https://awesome-repositories.com/f/networking-communication/peer-to-peer-networking-extensions/peer-to-peer-networking-libraries/blockchain-node-implementations/protocol-implementations.md) — Ships a complete full-stack implementation of the TON protocol, including the validator engine, storage daemons, and network logic.
- [Smart Contract Development Frameworks](https://awesome-repositories.com/f/networking-communication/smart-contract-development-frameworks.md) — Offers a comprehensive toolkit for writing, compiling, and debugging smart contracts locally before network deployment.
- [Block Candidate Synchronization](https://awesome-repositories.com/f/networking-communication/peer-to-peer-state-synchronization/block-candidate-synchronization.md) — Provides an overlay network to accelerate state updates by transferring block candidates separate from the main consensus.

### Programming Languages & Runtimes

- [Gas-Limited Bytecode Execution](https://awesome-repositories.com/f/programming-languages-runtimes/bytecode-virtual-machines/jit-compiled-bytecode-execution/gas-limited-bytecode-execution.md) — Uses a stack-based TVM to execute contract code within strictly defined resource and gas limits.
- [Blockchain State Runtimes](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-execution-environments/webassembly/embedded-webassembly-runtimes/extensible-webassembly-runtimes/blockchain-state-runtimes.md) — Compiles core blockchain logic into WebAssembly to enable the execution of ledger rules directly within web browsers.
- [Smart Contract Compilers](https://awesome-repositories.com/f/programming-languages-runtimes/smart-contract-compilers.md) — Ships a tool for transforming high-level blockchain source code into executable bytecode for network deployment. ([source](https://github.com/ton-blockchain/ton#readme))
- [Smart Contract Execution Environments](https://awesome-repositories.com/f/programming-languages-runtimes/smart-contract-execution-environments.md) — Provides a virtual machine level tool for executing smart contract methods and simulating message sending. ([source](https://github.com/ton-blockchain/ton/tree/master/emulator))

### Web Development

- [WebAssembly Smart Contract Platforms](https://awesome-repositories.com/f/web-development/smart-contract-environments/webassembly-contract-runtimes/webassembly-smart-contract-platforms.md) — Implements a specialized virtual machine and execution environment for deploying and running asynchronous smart contracts.
- [Contract Call Simulators](https://awesome-repositories.com/f/web-development/smart-contract-environments/contract-call-simulators.md) — Includes an emulator for testing the execution of smart contract code in a sandbox environment. ([source](https://github.com/ton-blockchain/ton/blob/master/Dockerfile))
- [Smart Contract Callers](https://awesome-repositories.com/f/web-development/smart-contract-environments/smart-contract-callers.md) — Ships a suite of interfaces for creating contracts, reading state, and sending messages to trigger contract logic. ([source](https://github.com/ton-blockchain/ton/tree/master/lite-client-docs))
- [WebAssembly Compilation](https://awesome-repositories.com/f/web-development/webassembly-compilation.md) — Transforms core blockchain logic into WebAssembly binaries for execution within web browsers.
- [WebAssembly Exports](https://awesome-repositories.com/f/web-development/webassembly-exports.md) — Implements a compilation pipeline that transforms binaries into WebAssembly for browser-based execution. ([source](https://github.com/ton-blockchain/ton#readme))

### Software Engineering & Architecture

- [Block Processing Optimizations](https://awesome-repositories.com/f/software-engineering-architecture/execution-tracking-caches/block-validation-tracking/full-block-validations/block-processing-optimizations.md) — Provides acceleration mechanisms for collating, validating, and applying blocks to increase validator throughput. ([source](https://github.com/ton-blockchain/ton/blob/master/recent_changelog.md))
- [Sparse Merkle Trie State Verification](https://awesome-repositories.com/f/software-engineering-architecture/string-processing-algorithms/tree-based-storage/merkle-tree-storage-engines/merkle-tree-data-integrity/sparse-merkle-trie-state-verification.md) — Enables lite clients to verify blockchain data using Merkle proofs without downloading the entire ledger history.

### Testing & Quality Assurance

- [Contract Execution Debugging](https://awesome-repositories.com/f/testing-quality-assurance/contract-execution-debugging.md) — Provides a local execution environment for analyzing transaction traces and verifying contract logic before deployment. ([source](https://github.com/ton-blockchain/ton/tree/master/lite-client-docs))
- [Transaction Simulation](https://awesome-repositories.com/f/testing-quality-assurance/transaction-simulation.md) — Ships a simulation environment to process inbound messages against account states to predict outcomes. ([source](https://github.com/ton-blockchain/ton/tree/master/emulator))
