TON Core
โœ”
4.26K subscribers
10 photos
4 videos
80 links
Updates from the TON Core development team, which continues to develop open-source technologies for The Open Network (TON) @toncoin.
Download Telegram
TON Payment Network (Beta): added support for Jettons and Extra-currencies

The latest update to the TON Payment Network adds support for Jettons and Extra-currencies as well as other enhancements.

https://github.com/xssnick/ton-payment-network

https://github.com/xssnick/payment-channel-contract
๐Ÿ”ฅ37๐Ÿ‘24โค13๐Ÿคฏ2๐Ÿคฎ2๐Ÿ’‹2๐Ÿคฉ1
Normalized message hash

We propose to standardize the normalized external message hash algorithm proposed by Denis Subbotin.

This approach provides a guaranteed ability to find and track a sent message in the TON Blockchain and is particularly useful for tracking pending actions.

Normalization is already supported by Toncenter API, tonscan.org, TON API and tonviewer.com.

Developers are welcome to participate in the discussion:

https://github.com/ton-blockchain/TEPs/pull/467/files?short_path=eec950d#diff-eec950d709a49c0385d78864230b9de72d6003af0be76221a877693730714878
๐Ÿ‘23๐Ÿ”ฅ10โค9๐Ÿคฎ2
TOLK 0.11

โ€” Pattern matching for types.
โ€” Pattern matching for expressions.
โ€” Type aliases.
โ€” Union types.
โ€” Operators is and !is.

The new version of TOLK is already supported by IntelliJ IDEA Plugin and VS Code Plugin.

Read more ยป
๐Ÿ‘49๐Ÿ”ฅ33โค13๐Ÿฅฐ13๐Ÿพ13โœ6๐Ÿคฃ6๐Ÿ–•6๐Ÿคฎ2
Node Update TON 2025.04

โ€” Optimized work with the CellDB database: introduced Bloom Filters and CellDB 2.0 accelerating reads and writes;

โ€” Optimized a number of intrinsic node operations: SHA256, cell operations, large BOC serialization, validator set checks;

โ€” The 2nd of 3 stages of the "Accelerator" update has been completed: optimized traffic (especially storage stats) between the collator and validator;

โ€”Other improvements and fixes;

Full Changelog ยป
๐Ÿ‘14โค4๐Ÿซก2๐Ÿ’ฏ1
Progress of the โ€œAcceleratorโ€ update

Along with the release of the second part of the โ€œAcceleratorโ€ update, the "Accelerator" roadmap and timeline have been updated:

โœ… 2024.12 โ€“ Introducing Partial Liteservers;

โœ… 2025.04 โ€“ Optimized Storage Stats (traffic between Collator and Validators);

๐Ÿ”ง Mayโ€“June 2025 โ€“ Introducing Collators
(Already developed, except Block Retention issue; In the process of testing and merging);

๐Ÿ”ง June 2025 โ€“ Activation in Testnet;

July 2025 โ€“ Set-up Collators Infrastructure & Activation in Mainnet;

Details ยป
๐Ÿ‘17โค5๐Ÿ”ฅ1๐Ÿ˜1๐Ÿค1
TVM 10

โ€” Adjustments to extra-currency behavior;

โ€” Prohibition of Anycast addresses;

โ€” StateInit.split_depth renamed to StateInit.fixed_prefix_length. You can use this field to deploy smart contracts to a specific shard. For example this will be used in the new version of optimized Jettons.

โ€” Other improvements;

Full Changelog ยป
๐Ÿ‘9โค4๐Ÿ”ฅ1
New user interface in the @validators bot

We remind you that node and validator administrators can subscribe to alerts in the @validators bot.

For your convenience, we have significantly improved the bot's user interface by adding buttons and other enhancements.
๐Ÿ‘13โค2๐Ÿ˜ฑ1๐Ÿค1
Toncenter API Updates

โ€” Instant appearance of pending transactions;

โ€” New actions supported: Evaa, Jvault, Multisig V2, Vesting;

โ€” Versioning in the Actions API;

โ€” Emulation and Pending API updates;

โ€” ton-http-api 2.0.54 with supported normalized hash of external messages.

โ€” Examples of how new API features are used in products to improve UX.

Read more: @toncenter_news
๐Ÿ‘17โšก3๐Ÿ”ฅ3
TON Core: Report for April

Node optimizations, 2/3 of the "Accelerator" phase completed, TVM 10, new features in the API and TOLK language, and more.

https://telegra.ph/TON-Core---Report-for-April-2025-05-03
๐Ÿ‘20๐Ÿ”ฅ6โค5
TOLK Programming Language 0.12

Introduced:

โ€” Structures.

โ€” Generics.

โ€” Methods.

โ€” Stdlib with short naming.

โ€” Fift output enhancements.

The new version of TOLK is already supported by IntelliJ IDEA Plugin and VS Code Plugin.

Read more ยป
๐Ÿ‘13โ˜ƒ4โคโ€๐Ÿ”ฅ2๐Ÿฅฐ1
Progress of the TOLK Programming Language

We are now just one step away from TOLK Release Candidate, which we plan to release at the end of May!

Check out this amazing work:

๐Ÿ‘ 0.6 โ€” TOLK announcement. New syntax and packaging โ€” Nov 2024.

๐Ÿ‘ 0.7 โ€” Type system inside the compiler has been redesigned, introduced generics and boolean type.

๐Ÿ‘ 0.8 โ€” Introduce tensorVar.0 and tupleVar.0 syntax, as preparation for structures.

๐Ÿ‘ 0.9 โ€” Introducing Nullable Types, Null Safety, Control Flow and Smart Casts.

๐Ÿ‘ 0.10 โ€” This update lays the groundwork by addressing how fields will be serialized and how they relate to TL-B.

๐Ÿ‘ 0.11 โ€” Pattern matching for types. Pattern matching for expressions. Type aliases. Union types.

๐Ÿ‘ 0.12 โ€” Structures, generics, methods.

๐Ÿ”ง Release Candidate โ€” Auto-serialization โ€” May 2025.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐Ÿ”ฅ25๐Ÿ‘24โค15โœ4โšก2๐Ÿฅฐ1๐Ÿคฌ1
TOLK Programming Language - Release Candidate (0.13)

Introduced:

โ€” Auto-packing to/from Cells/Slices/Builders.

โ€” Type address.

โ€” Lateinit variables, default parameters, and other features.

The new version of TOLK is already supported by IntelliJ IDEA Plugin, VS Code Plugin and Blueprint.

Read more ยป
โค20๐Ÿ”ฅ10๐Ÿซก5
Forwarded from Toncenter API
Streaming API - Websockets/SSE for Enterprise Plan

Weโ€™re excited to announce that Toncenter has launched a Streaming API! This API enables real-time updates about pending and committed transactions and actions, filtered by specified addresses. The API supports both Server-Sent Events (SSE) and WebSocket protocols, offering flexibility for integration.

Currently, the Streaming API is available exclusively to Enterprise clients. In particular, the non-custodial wallet MyTonWallet has already begun to implement this feature for instant display of incoming transactions.

The Streaming API will soon be available to everyone.

Documentation
๐Ÿคฉ15๐Ÿ”ฅ8โšก5๐Ÿค3โค1๐Ÿซก1
Previously, archive nodes stored the entire history of the blockchain. Considering that the history is already quite large, and that with new optimizations we intend to reduce the block creation time (accordingly, the number of blocks to be stored will increase), we have made the following improvements:

Partial archive nodes

Now, the full/archive node can sync and store a specific time period, rather than the entire blockchain history. This allows to split the storage of the blockchain history across different nodes.

In the new mytonctrl 2.6.0, you can select in a convenient user-friendly installer which mode you want to run the node in and which block range it will store.

Downloading archive blocks and states via TON Torrents

Now, downloading archive blocks and archive states of the blockchain can be done via TON Torrents (TON Storage), which speeds up the process and allows you to download from multiple peers.

We have launched a dump service that automatically converts new block bundles and states into TON Torrents bags and makes them available for download.

mytonctrl 2.6.0 natively integrates the function of downloading blocks and states via TON torrents during the initial sync. If you wish, you can download blocks and states even using the TON Torrents app.
๐Ÿ‘15๐Ÿ”ฅ10๐Ÿ˜ฑ4
TON Core: Report for May

Partial archive nodes, downloading archive blocks and states via TON Torrents, TOLK Programming Language Release Candidate, Websockets Toncenter API, and work on rolling out the final part of the โ€œAcceleratorโ€ update and node optimizations in the TON mainnet.

https://telegra.ph/TON-Core---Report-for-May-2025-06-09
๐Ÿ‘23๐Ÿฅฐ8
TOLK Programming Language Release-Candidate (0.99)

โ€” Universal createMessage โ€“ control body, extra currency, stateInit, and more.

โ€” Universal createExternalLogMessage โ€” emit logs efficiently.

โ€” Shard-optimizations โ€” calculate addresses "close to another contract".

Read more ยป

What's next

We are happy to announce that we have completed everything we planned for the current Tolk roadmap and even added a few extra features.

This version is suitable for writing production industrial contracts, and we at TON Core are already writing all new smart contracts on Tolk.

Although Tolk is already very efficient in terms of gas consumption, we plan to add โ€œone more thingโ€ dedicated to further gas optimization. This was not in the original roadmap, but we are confident that developers will be delighted with it. This final touch will be made in early July.

However, developers can start writing their bulletproof contracts on Tolk right now, and we recommend that you do so.
โค22๐Ÿ”ฅ14โคโ€๐Ÿ”ฅ8๐Ÿฅฐ4๐Ÿ’…4๐Ÿ’ฉ3๐Ÿ˜ข1๐Ÿคฎ1
Now, operations on the TON Blockchain are finalized 10 times faster under low and moderate loads โ€” in 3-5 seconds

Today, we have completed a series of TON kernel optimizations planned for the first half of 2025.

During this period, we released 5 updates that affected all key kernel components: the validation process, cryptographic operations, network, database, and blockchain state serialization and deserialization.

As a result, the performance of a single shardchain has increased significantly โ€” now the current load of the main network is handled by just one shardchain (instead of 4 previously).

This means that during low and moderate network load, all operations โ€” such as sending tokens or exchanges on DEXes โ€” are executed without cross-shard interactions in a single block, i.e., in 3โ€“5 seconds. Previously, finalizing such operations could take up to 30โ€“50 seconds.

Under high load, the blockchain will continue to scale through sharding, which will increase processing time, but we have also implemented a number of big improvements to increase network stability during peak times. More details about this and future plans will be provided in one of the following posts.
๐Ÿ”ฅ57๐Ÿ‘28โค20๐Ÿคฏ3๐Ÿคฉ3๐Ÿ˜2๐Ÿ’ฉ2
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โคโ€๐Ÿ”ฅ14๐Ÿ‘2๐Ÿคฉ1
Unified TON Extension for VS Code is here!

Following the single convenient JetBrains IDE plugin, we are now introducing a unified extension for TON development for VS Code that supports all necessary languages and technologies.

This is the first contribution from Petr, who recently joined the TON Core team to make life sweeter for TON developers.

The extension provides advanced features for the main TON technologies: Tolk, FunC, TL-B, Fift Assembly, TASM, BoC, Blueprint! If you use the old extensions for Tolk or FunC, we recommend trying the new extension, as it offers better language support (we even support try/catch for FunC ๐Ÿ˜Ž).

Install now

โ€” VS Code Marketplace
โ€” Open VSX (if you use Cursor, Windsurf, etc.)

We thank the @tontech team for the FunC debugger which is now integrated into the extension, so you don't need to install a separate extension!

Happy hacking! ๐Ÿ› ๏ธโœจ
โค47๐Ÿ‘34๐Ÿ”ฅ28โšก2๐Ÿ‘€2