TOLK lang

tolk_lang Channel💻 TechnologyEnglish

Description

Channel devoted to TOLK — "next-generation FunC" — a language for writing smart contracts in TON

Subscribers 84724 hours: −1
7 days −130 days: −1
Avg. views 5,688ERR 671.6%
Posts per day 0Last post: October 5, 2026
Citation index 10Channels mentioning this one

Subscribers

Last updated
847 847 848 849 849Nov 26Nov 30Dec 4November 26, 2026: 848November 27, 2026: 848November 28, 2026: 848November 29, 2026: 849November 30, 2026: 849December 2, 2026: 848December 3, 2026: 848December 4, 2026: 847

Views of recent posts

0 4,995 9,990 15K 20KJul 7Mar 27Oct 507/07/2025 09:12 UTC: 8,02009/19/2025 09:12 UTC: 4,63211/14/2025 09:12 UTC: 7,54012/05/2025 09:12 UTC: 6,27003/19/2026 09:12 UTC: 1,17003/27/2026 09:12 UTC: 18,50005/11/2026 09:12 UTC: 2,62006/23/2026 09:12 UTC: 99509/23/2026 09:12 UTC: 6,54010/05/2026 09:12 UTC: 600

Recent posts

October 5
TOLK lang
🫧 Tolk v1.5: break/continue in loops, smarter compiler, and the road to v2.0 This release is not about one big feature. It's about removing a lot of small restrictions left in the language because the compiler simply wasn't ready for them yet. Subtle, sometimes artificial, mostly unnoticeable — while the compiler underneath is getting more mature and complicated. ✅ Notable changes in Tolk v1.5: 1. break/continue in loops — finally for TVM 2. @inline functions with multiple returns 3. Type aliases as directional subtypes 4. Reorganized purity concept and dead-code removal 5. Colorful compilation errors with multiple locations and hints 6. Preparing the kernel for Tolk v2.0 PR on GitHub with detailed info. ✔ break/continue in loops Looks and feels as expected: while (true) { val ch = bytes.loadUint(8); if (ch == 0) { break; } if (blacklisted.exists(ch)) { continue; } bits += 8; } Both work in all loops, including nested ones. The compiler correctly tracks cont…
25
6600
September 23
TOLK lang
🫧 Introducing new tools beyond smart-contract development In May, we released Tolk v1.4 and Acton — a new toolchain for building and testing TON smart contracts. Since then, we've been working on the next part of the problem. Writing a contract is only the on-chain part of dApp development. Once the contract is ready, you need an environment to work with the network, inspect transactions, verify deployed code, and run E2E scenarios — including the off-chain part. So we've been extending Acton in that direction. 🔍 Actonscan A developer-focused explorer built around Tolk ABI. Messages, get-methods, errors and storage are displayed in human-readable format instead of raw bytes. You can inspect transaction flows, emulate messages, call get-methods, explore storage mutations and network configuration. Actonscan is based on an open-source ABI catalog with 200+ frequently used contracts, so even deployed FunC bytecode can be described through Tolk types. Visit: actonscan.com and the ABI catalog. 🧪 Act…
27
376,540
June 23
TOLK lang
🫧 Tolk v1.4.x: internal progress and maintenance Since the v1.4 release we've published Tolk v1.4.1 and v1.4.2. Most of the work is not visible from the outside: * tightening language semantics * improving diagnostics * handling weird edge cases discovered by fuzzing * and keeping the whole toolchain aligned with ecosystem changes such as the TON → GRAM migration: // before: 50000000 nanotons val amount = ton("0.05"); // now: 50000000 nanograms val amount = grams("0.05"); 🛠️ Our new toolchain — Acton — has also reached several intermediate milestones. It now comes with improved external message testing, BoC contract support, library publishing safeguards, formatter and debugger improvements, and a broad documentation refresh. 🌳 This kind of work rarely makes headlines, but reliability is built exactly this way. Meanwhile, we are also working on a larger update that we'll share soon.
33
7995
May 11
TOLK lang
🫧 TON enters a new era of smart-contract development I promised this would happen in May. Today we release: • Tolk v1.4 • Acton — a unified toolchain for TON smart contracts For more than half a year, we have been building this almost entirely in secret. And honestly, this is the biggest release we have ever shipped at once. ⚙️ What is Acton? Acton is an all-in-one CLI built around Tolk — a modern replacement for the fragmented tooling stack TON has today. ✓ Write tests directly in Tolk — including transaction flows and cross-contract interaction. 50x faster than current Sandbox + TypeScript approach. ✓ Automatic TypeScript wrappers. But not for tests! For end-to-end dApp/frontend integration. ✓ A native debugger. Step in, step over, step out, watch variables, and inspect the call stack. A smooth Web2-style developer experience — now inside a Web3 ecosystem. ✓ Entire contract lifecycle. Develop, deploy, verify, configure, and interact with contracts on-chain. Acton manages wallets and faucet top‑u…
94
642,620
March 27
TOLK lang
🫧 Tolk v1.3: moving toward a general-purpose language After the previous post, this release may feel less surprising — but still a bit unusual. The reason is simple: Tolk is no longer evolving only as a contract language. It is becoming a foundation for the toolchain I described earlier. This release focuses on features beyond contracts — introducing general-purpose capabilities needed for libraries and frameworks. ✅ Notable changes in Tolk v1.3: 1. Type array<T> — dynamically sized arrays backed by TVM tuples. 2. Type unknown — a TVM primitive with unknown contents. 3. Type lisp_list<T> — nested two-element tuples (FunC-style). 4. Type string — text chunks backed by snaked cells, with StringBuilder for concatenation. 5. Compile-time string methods: "str".crc32(), "str".sha256(), etc. 6. Null coalescing operator — ?? like in TypeScript. 7. Import path mappings — import "@third_party/utils". 8. Compile-time reflection via @stdlib/reflection. 9. Custom serializers now support structures and generics. 10.…
49
3218.5K
March 19
TOLK lang
🫧 Tolk v1.3... not released yet: what's happening inside I know it has been quiet. The last public Tolk update was three months ago, so the question is fair: ❓ Where did I go, and why is there still no v1.3? I did not disappear. I have been working on something much bigger than the next language release. A huge part of my focus has shifted toward building a TON toolchain together with the team. Not another small utility. Not another isolated CLI. A full development environment built as one coherent system — around Tolk. ⚙️ So what do I mean by a toolchain? The core of TON development. A single tool that: ✔ Scaffolds real projects. Contracts, unit tests, integration tests, TypeScript wrappers, and ready-to-use templates. ✔ Runs tests. 50x faster than the current JS sandbox. And even more: tests are native, no Node.js required. ✔ Gives you a real debugger. Test failed with exit code 9? Stop exactly at the exception, inspect the call stack, local variables, lazy fields, and more. One thing I am espe…
78
91,170
December 5, 2025
TOLK lang
🫧 Tolk documentation — now complete and available for learning from scratch From now on, Tolk has full, structured, from-scratch documentation — not just "Tolk vs FunC", but a complete language guide that lets developers approach Tolk directly, without any FunC background. This is a major milestone. Tolk is the recommended language for TON, and now it finally has documentation that matches this role. Read → ↓ What's inside The documentation covers the entire language: ❶ Type system. Every type on its own page: numbers, addresses, structures, generics, etc. — plus overall explanations for TVM layout and serialization. ❷ Syntax details. Functions, conditions, loops, exceptions, and more — with minimal descriptions and clear examples. ❸ Language features. Everything needed for smart-contract development: message sending, contract storage, automatic serialization, etc. ❹ Migration from FunC. A complete guide for FunC builders — including the mindset shift Tolk encourages. ... And several articles for e…
59
356,270
November 14, 2025
TOLK lang
🫧 Tolk v1.2: rich bounced messages, cheap deployment, and a breaking change that you'll love Tolk v1.2 is here, aligned with TVM 12 — bringing new assembler instructions that make contracts cheaper and cleaner. This update introduces one breaking change, several powerful new capabilities, and a few quality-of-life improvements across the compiler. ✅ Notable changes in Tolk v1.2: 1. Breaking change: address is now "internal only" 2. Rich bounces: not 256 bits, but the full body on bounce 3. Cheap builder-to-slice, StateInit, and address composition 4. Improved compilation errors 5. Anonymous functions (lambdas) 6. Borrow checker to catch undefined behavior PR on GitHub with detailed info. ✔ `address` is now "internal only" Before: * address meant internal/external/none Now: * address — internal only * address? (nullable) — internal/none, exactly like "maybe address" in @ton/core * any_address — internal/external/none In 99% of contracts only internal addresses are used. External ones are rare, and "n…
54
277,540
September 19, 2025
TOLK lang
🫧 Tolk v1.1: built-in map<K,V>, enums, private and readonly fields, method overloads Two months have passed — maybe you even started to worry about the silence. The reason is simple: I worked on features that are "nice to have" but complex and time-consuming to implement — and they've only just been finished. ✅ Notable changes in Tolk v1.1: 1. map<K, V> — a convenient zero-overhead wrapper over TVM dictionaries 2. enum — group numeric constants into a distinct type 3. private and readonly fields in structures 4. Overload resolution and partial specialization PR on GitHub with detailed info. ✔ Built-in maps Forget about uDictSetBuilder, sDictGetFirstAsRef, and the endless boilerplate of low-level dict helpers. A universal map<K, V> now fully replaces them. var m: map<int8, int32> = createEmptyMap(); m.set(1, 10); m.addIfNotExists(9, -90); m.delete(9); // now: [ 1 => 10 ] m.exists(1); // true m.isEmpty(); // false Just m.get() — no need to care about cells and slices under the hood: val r = m.…
40
234,632
July 7, 2025
TOLK lang
🫧 Tolk v1.0: lazy loading, partial updating, AST inlining — and extremely low gas fees This is happening today. I managed not only to finish up the compiler, but also to migrate standard contracts from FunC to Tolk. I covered every contract with gas metrics to check whether it's more efficient than FunC or not. I didn't believe my eyes. I double-checked, triple-checked, but nothing changed. The results are correct. And now I am ready to present them to you. 🧪 Benchmarks! Every contract has several metrics. For example, "basic jetton — mint". FunC: 19278. Tolk: 11611. Gas savings: -39.77% |————————————————–- | 01 — Jetton (mint, transfer, burn, discover) | -39.77% | -30.32% | -33.66% | -26.75% |————————————————–- | 02 — NFT (deploy, transfer, onchain get) | -43.79% | -37.47% | -44.28% |————————————————–- | 03 — Notcoin | -35.72% | -27.98% | ... |————————————————–- | 04 — tgBTC | -23.94% | -26.99% | ... |————————————————–- | 05 — Wallet v5 | -2…
126
638,020