TON documentation
Welcome to the official TON Blockchain development documentation!
This resource provides everything you need to build, test, and deploy applications on the TON Blockchain.
This is a collaborative, open-source initiative, and contributions are always welcome. All documentation can be edited via GitHub by following these instructions.
- The TON Hello World series provides detailed step-by-step guides to wallets, smart contracts, mini apps, and testing and debugging smart contracts on TON.
- Get started with TON is a step-by-step guide to interacting with TON Blockchain - complete with a video tutorial.
TON Hello World
Get started with TON
Blockchain Basics with TON
This course introduces the fundamentals of blockchain technology with a practical focus on the TON ecosystem. You'll gain a solid understanding of how blockchain works and explore its wide range of applications.
Check Blockchain Basics course
CHN
RU
TON course
We're excited to offer the TON Blockchain course — a comprehensive, hands-on learning path for developers. This course guides you through creating smart contracts and decentralized applications on the TON Blockchain in an interactive and engaging format. The course consists of 9 modules, covering:
- The basics of the TON Blockchain
- The FunC programming language
- The TON Virtual Machine (TVM)
Check TON Blockchain course
CHN
RU
Development modules
If you're new to TON Blockchain development, we recommend starting from the beginning and progressing through each topic.
Foundational concepts
- The Open Network - a high-level overview of the TON Blockchain.
- Blockchain of blockchains - a down-to-earth explanation of the TON Blockchain.
- Smart contract addresses - an in-depth look at how addresses are structured and used.
- Cells as a data structure - a high-level overview of TON's core data structure.
- TON Networking - an overview of peer-to-peer protocols within TON.
- TON Virtual Machine (TVM) - an introduction to how smart contracts are executed.
- Transactions and phases - a detailed explanation of the transaction lifecycle.
- Transaction fees - a high-level explanation of transaction fees.
Infrastructure
- Node types - a detailed overview of the different types of nodes in the TON network.
- Run a full node - a step-by-step guide to setting up and running a full TON node.
- TON DNS & Sites - an in-depth explanation of the TON DNS system and how to host decentralized websites.
- TON Storage -a comprehensive guide to the TON Storage.
Additional resources
- FAQ - Frequently Asked Questions
- FunC documentation
- Fift documentation
Smart contracts development
Smart contracts are the building blocks of decentralized applications (dApps) on the TON Blockchain. If you're looking to develop your dApps, it's essential to understand how a smart contract works within the TON ecosystem.
Getting started
Use Blueprint
The following resources provide valuable information for developing smart contracts on the TON Blockchain:
- TON Hello World: Step-by-step guide for writing your first smart contract - a step-by-step guide for writing your first smart contract. Offers an accessible and concise introduction to the fundamentals of using JavaScript.
- How to work with wallet smart contracts - a detailed and structured explanation of smart contract basics, utilizing both JavaScript and Go.
- Learn smart contracts by examples - a collection of examples demonstrating smart contract development using the FunC and Fift languages.
- Speed run TON - 6 interactive challenges and step-by-step tutorials to learn smart contracts development.
DApp development
Decentralized applications (DApps) run on a peer-to-peer network—such as the TON Blockchain—rather than on a single server. They function similarly to traditional web applications but are built on a blockchain, making them decentralized, meaning no single entity controls the application.
Getting started
DeFi development
Explore key tools and concepts for building decentralized finance (DeFi) applications on the TON Blockchain:
- TON Connect — an integration and authentication for dApps.
- Off-chain payments processing — examples and concepts for processing payments.
- TON Jetton processing — examples and concepts for processing Jettons.
- Fungible (FT) / Non-fungible (NFT) tokens — smart contracts, examples, and tools.
Take your first steps in building decentralized applications with this comprehensive guide:
APIs and SDKs
FAQ (Frequently Asked Questions)
Don’t forget to check out the FAQ section.