Introduction
Smart contract creation, development, and deployment on TON Blockchain leverage the TON Virtual Machine (TVM) and one of the following programming languages:
- Tolk – Next-generation language for developing smart contracts on TON with modern syntax, strong types, and built-in serialization.
- FunC – Minimalist, functional-style language designed for writing low-level TON smart contracts, tightly bound to the TVM model.
- Fift – Stack-based language for TON, used for deployment, testing, and direct TVM interaction.
Quick start
If you want to jump right in, follow our quick start guide.
Development environment
To build and test smart contracts on TON, it’s best to set up a local development environment. The key components are:
-
Blueprint – an all‑in‑one toolchain for creating, testing and deploying smart contracts.
-
IDE plugins – official TON plugins are available in popular editors such as JetBrains IDEs, Visual Studio Code, and others.
-
Testnet – an test network for development purposes. This network allows you to develop safely and efficiently before moving to Mainnet.
TON Blockchain course
Before starting this course, we recommend taking the Blockchain Basics with TON course, to make sure you have a solid understanding of the basics of blockchain technology.
The course is aimed at developers interested in gaining practical knowledge about the technologies and concepts of the TON blockchain, such as FunC, dApps, decentralization, smart contracts, contract testing, as well as the creation of Mini Apps within Telegram.
English
Chinese
Russian
Examples of smart contracts
Examples of smart contracts on TON include wallets, electors (which manage validator elections on TON), and multi-signature wallets, which can serve as references when studying.
Open examples
Additional resources
- What is blockchain? What is a smart contract? What is gas?
- Understanding transaction fees – How to work with wallet smart contracts