Key features
Tolk provides high-level readability while preserving low-level control:- a type system for describing cell layouts;
lazyloading that skips unused fields;- unified message composition and deployment;
- a
contractdeclaration that drives ABI export, TypeScript wrappers, source maps, and debugging; - a compiler targeting the Fift assembler;
- tooling with IDE integration.
From FunC to Tolk
Tolk evolved from FunC and is now the recommended language for TON smart contracts. To migrate from FunC:- see Tolk contract examples for embedded jetton and NFT examples;
- check gas benchmarks;
- read Tolk vs FunC for an overview;
- use the FunC-to-Tolk converter to migrate existing projects.
Quick start
Follow the quickstart page in the Acton documentation.IDE support
- JetBrains IDEs plugin provides syntax highlighting and code navigation.
- VSCode extension adds syntax highlighting, code navigation, and other language features for VS Code and VS Code-based editors such as VSCodium, Cursor, and Windsurf.
- Language server supports (Neo)Vim, Helix, and other editors with LSP support.