Key features
Tolk offers high-level readability while remaining low-level in nature:- a robust type system to express any cell layout in TON
- lazy loading: unused fields are skipped automatically
- unified message composition and deployment
- a gas-efficient compiler targeting the Fift assembler
- friendly tooling and IDE integration
Tolk is fully compatible with existing TON standards and contracts.
Tolk is a replacement for FunC
Tolk started as an evolution of FunC and is now the recommended language for TON smart contracts. If you are migrating from FunC:- Look through benchmarks: notice 30–50% lower gas fees.
- Scan the page Tolk vs FunC to get the overall picture.
- Use the FunC-to-Tolk converter to migrate existing projects.
Quick start
-
Run the command:
- Enter a project name and choose “simple counter contract”.
- Follow the “Your first smart contract” article to get explanations.
IDE support
All major IDEs support syntax highlighting and code completion:-
JetBrains IDEs (WebStorm, CLion, etc.) — via the plugin
=> search for “TON” in Marketplace and install -
VS Code — via the TON extension
=> search for “TON” in Marketplace and install -
Cursor, Windsurf, and other editors — via the language server
=> install from the.vsixfile or a command palette
Where to go next
Recommended starting points:External resources
Useful links outside this documentation:- TON Dev chats in Telegram
- @tolk_lang channel in Telegram
- GitHub for issues and sources