avatar
TON Core
@toncore
07.07.2025 17:38
Meet Tolk 1.0 — a new programming language for creating bulletproof smart contracts on TON

Tolk combines expressiveness, convenience, and low-level power, inheriting security, economy, and efficiency from FunC.

What makes Tolk special:

— Simple and readable syntax: as close as possible to familiar modern languages such as TypeScript and Kotlin.

— New language features for the TON asynchronous actor model: auto-serialized structures, pattern matching, smart casts, and convenient message management.

— Advanced type system: generics, null safety, type aliases, union types — everything you need to write safe and flexible code.

— Maximum efficiency: smart contracts on Tolk are cheaper than smart contracts on FunC — benchmarks show up to 50% gas savings thanks to compiler optimizations and unique “lazy” loading.

— Deep control: ability to go down to the bits and manipulate the stack when necessary.

— Redesigned standard library. Convenient language versioning and delivery system.

Tools and resources:

— Basic documentation for learning Tolk from scratch.

Reference smart contracts with benchmark results: Jettons, NFT, Wallet v5, Telegram Gift and others.

— Migration guide from FunC and automatic converter.

— Support in IntelliJ IDEA, VSCode and Language Server.

— Integration with Blueprint and verifier.ton.org.

— The first production-ready contract on Tolk from TON Core — a Payment Channel.

Read the author's notes about the release of Tolk 1.0 »

Let's Tolk! »
40
🔥 26
❤‍🔥 15
👍 3
🤩 1
83 8.5K

Обсуждение 0

Обсуждение не доступно в веб-версии. Чтобы написать комментарий, перейдите в приложение Telegram.

Обсудить в Telegram

TON Core

6.8K
Updates from the TON Core development team, which continues to develop open-source technologies for The Open Network (TON) ton.org.
Открыть в Telegram