Skip to main content

Introduction

Smart contract creation, development, and deployment on TON Blockchain leverages the TON Virtual Machine (TVM) and one of the following programming languages:

Quick start: your first smart contract

Blueprint is a development environment for writing, testing, and deploying smart contracts.

To create a new demo project, use the following command:

npm create ton@latest

Read more

TON Blockchain course

Getting started

Fun and easy tutorials

Kickstart your journey with our beginner-friendly guides:

TON course

tip

Before starting the course, make sure you have a solid understanding of the basics of blockchain technology. If you have gaps in your knowledge, we recommend taking the Blockchain Basics with TON (RU version, CHN version) course.

We are proud to present the TON Blockchain Course, a comprehensive guide to TON Blockchain. The course is designed for developers who want to learn how to create smart contracts and decentralized applications on TON Blockchain.

It consists of nine modules and covers the basics of TON Blockchain, the smart contract development lifecycle, the FunC programming language, and the TON Virtual Machine (TVM).

Explore TON course

Chinese

Russian

Comprehensive guides

For those who prefer detail and nuance, visit:

Examples of smart contracts

Explore ready-made smart contract examples and tools provided by the TON community.

tip

Prefer smart contracts written in FunC (.fc) over lower‑level Fift (.fif).

Standard examples of smart contracts on TON include wallets, electors (which manage validation on TON), and multi-signature wallets, which can serve as references when studying.

Open examples

Smart contract best practices

TON offers endless possibilities. Learn how to make the most of them while adhering to recommended guidelines.

TON Virtual Machine (TVM)

Discover the engine that runs your smart contracts.

Programming languages

📘 FunC

The tailor-made language for TON smart contracts.

FunC overview

📒 Tact

Tact is a fresh programming language for TON Blockchain, focused on efficiency and ease of development. It is a good fit for complex smart contracts, quick onboarding and rapid prototyping.

Developed by TON Studio, powered by the community — by the end of 2024, the number of unique code1 contracts deployed on the Mainnet reached almost 28000, of which about 33% were written in Tact.

View some of the selected projects: Tact in production.

Read more

Official website

Tact docs

Awesome Tact

📗 Tolk

Tolk is a new language for writing smart contracts in TON. Think of Tolk as the "next‑generation FunC".

caution

Under active development.

Tolk overview

📕 Fift (advanced)

advanced level

Only for the brave!

Fift overview

Community tools

Further reading

Enhance your skillset with these community-driven educational resources.

Additional resources

Was this article useful?

Footnotes

  1. The "unique code" means that each contract in the data sample has at least one TVM instruction that differs from the other contracts, excluding many preprocessed wallets with everything inlined — even seqno and a public key for signature verification!