Forwarded from IntelliJ TON Development
Intellij TON v3.0.0 is the biggest update of the plugin ever.
We have improved every part of the plugin, every supported language.
The list of supported languages has expanded, and now the plugin also supports TASM, the future assembler standard in
the Tolk language, and Fift assembly has received its improved support as part of Fift support.
BoC files are no longer just opaque binary files, you can open them and see the disassembled code!
In this version, we also supported the latest release of Tolk 1.1.
Available on JetBrains Marketplace
Read full change-log:
https://github.com/ton-blockchain/intellij-ton/releases/tag/v3.0.0
We have improved every part of the plugin, every supported language.
The list of supported languages has expanded, and now the plugin also supports TASM, the future assembler standard in
the Tolk language, and Fift assembly has received its improved support as part of Fift support.
BoC files are no longer just opaque binary files, you can open them and see the disassembled code!
In this version, we also supported the latest release of Tolk 1.1.
Available on JetBrains Marketplace
Read full change-log:
https://github.com/ton-blockchain/intellij-ton/releases/tag/v3.0.0
JetBrains Marketplace
TON - IntelliJ IDEs Plugin | Marketplace
TON Blockchain Development Plugin โ a JetBrains plugin that brings first-class TON blockchain support to IntelliJ-based IDEs. Syntax highlighting, code completion...
โค6๐5๐3
Forwarded from 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.
2.
3.
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
Just m.get() โ no need to care about cells and slices under the hood:
Easily iterate forward and backward:
Any serializable keys and values โ it just works:
All in all:
- self-explanatory methods, nicely suggested by IDEs
- DICTISETREF, DICTREPLACE, DICTUREPLACEGET, ... โ 100+ asm instructions covered by the type system
- all deserialization to/from cells perfectly hidden by high-level API
- absolutely zero overhead compared to low-level TVM dictionaries
โ Enums
A long-awaited syntax feature for grouping constants.
Being integers at runtime, enums have their own place in the type system. They resemble TypeScript/C++ enums. (Unlike Rust, where each variant may have its own shape. In Tolk we have union types โ a more powerful solution)
Compatible with all language features: auto-serialization, exhaustive pattern matching, generics, etc.
โ Private and readonly fields
Fields can now have modifiers:
*
*
โ Partial specialization
Now it's possible to overload methods for "more specific" implementations:
In complex scenarios, this feature lets you adjust the behavior of specific types while keeping a common interface. It "just works", but internally the compiler was enhanced with shape of types, structural depth, type dominators, and several heuristics.
๐ณ After Tolk v1.0 release, many people and companies started migrating from FunC to Tolk. I have received a lot of feedback and requests (and almost zero bug reports, huh). Meanwhile, a bigger roadmap is already in motion. In the near future I'll also try to close long-standing questions around TypeScript wrappers, and deliver proper from-scratch documentation.
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 dictionaries2.
enum โ group numeric constants into a distinct type3.
private and readonly fields in structures4. 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.get(1);
if (r.isFound) { // true
val v = r.loadValue(); // 10
}
// or if the key 100% exists
val v = m.mustGet(1); // 10
Easily iterate forward and backward:
var r = m.findFirst();
while (r.isFound) {
// use r.getKey() and r.loadValue()
r = m.iterateNext(r);
}
Any serializable keys and values โ it just works:
map<address, Point>
map<Point, Cell<Extra>>
map<int32, map<int64, bool>>
...
All in all:
- self-explanatory methods, nicely suggested by IDEs
- DICTISETREF, DICTREPLACE, DICTUREPLACEGET, ... โ 100+ asm instructions covered by the type system
- all deserialization to/from cells perfectly hidden by high-level API
- absolutely zero overhead compared to low-level TVM dictionaries
โ Enums
A long-awaited syntax feature for grouping constants.
// will be 0 1 2
enum Color {
Red
Green
Blue
}
Being integers at runtime, enums have their own place in the type system. They resemble TypeScript/C++ enums. (Unlike Rust, where each variant may have its own shape. In Tolk we have union types โ a more powerful solution)
struct Gradient {
from: Color
to: Color? = null
}
var g: Gradient = { from: Color.Blue };
g.from == Color.Red; // false
Compatible with all language features: auto-serialization, exhaustive pattern matching, generics, etc.
โ Private and readonly fields
Fields can now have modifiers:
*
private โ accessible only within methods*
readonly โ immutable after object creation
struct PosInTuple {
private readonly t: tuple
curIndex: int
}
fun PosInTuple.last(mutate self) {
// `t` is visible only in methods
// and cannot be modified
self.curIndex = self.t.size() - 1;
}
โ Partial specialization
Now it's possible to overload methods for "more specific" implementations:
// general implementation
fun Iterator<T>.next(self) { ... }
// a more specific one
fun Iterator<Cell<T>>.next(self) { ... }
In complex scenarios, this feature lets you adjust the behavior of specific types while keeping a common interface. It "just works", but internally the compiler was enhanced with shape of types, structural depth, type dominators, and several heuristics.
๐ณ After Tolk v1.0 release, many people and companies started migrating from FunC to Tolk. I have received a lot of feedback and requests (and almost zero bug reports, huh). Meanwhile, a bigger roadmap is already in motion. In the near future I'll also try to close long-standing questions around TypeScript wrappers, and deliver proper from-scratch documentation.
๐ฅ10โค3๐1
Forwarded from TON Tech
This continues our push to improve reliability and success rates across the TON ecosystem.
โข BREAKING: ton_proof limits: payload โค 128 bytes, domain โค 128 bytes, payload + domain โค 222 bytes. If you exceed these limits, the connection will fail.
โข BREAKING: sendTransaction & signData: requests are now strictly validated against the spec. Non-conformant requests will fail.
โข stateInit, payload, and cell now accept both Base64 and Base64URL, auto-converted to Base64 per spec.
โข Migrated wallet list URL to https://config.ton.org/wallets-v2.json for improved reliability
โข Updated fallback wallets list to match https://config.ton.org/wallets-v2.json
โข Client ID added to all deeplinks to allow better UX on the wallet side.
โข Improved overall package quality and stability, increased test coverage.
โข Connect (ton_proof only): ensure your payload and domain sizes are within limits. Typical failure causes: the payload or domain does not meet the limits.
โข Send transactions: verify that the request shape, required fields, types, encodings exactly match the spec. Typical failure causes: invalid address format, amount not a string, bad payload/stateInit encoding, unknown fields.
โข Sign data: verify the request type and fields are correct. Typical failure causes: wrong type and field combination, bad encoding.
npm install @tonconnect/sdk@3.3.1 @tonconnect/ui@2.3.1 @tonconnect/ui-react@2.3.1Please open Telegram to view this post
VIEW IN TELEGRAM
๐ฉ7๐5โค4๐คฎ3
Forwarded from TON Tech
๐จ Simplifying code coverage in Blueprint
The new update introduces command, which collects coverage reports from all tests into the
๐ @ton/blueprint v0.41.0 โ 2025-09-23
๐ @ton/sandbox v0.37.2 โ 2025-09-23
โฌ To update, run
๐ก To learn more, visit GitHub pages: https://github.com/ton-org/blueprint, https://github.com/ton-org/sandbox.
๐ฌ Encountered issues? Please report them on GitHub at https://github.com/ton-org/blueprint/issues.
๐ Your feedback and usage examples are crucial. Share your experiences to help us evolve the SDK!
The new update introduces command, which collects coverage reports from all tests into the
coverage directory. Update your packages and try it out now!
blueprint test --coverage
npm install @ton/blueprint@latest @ton/sandbox@latestPlease open Telegram to view this post
VIEW IN TELEGRAM
๐6โค5๐1
Forwarded from TON Tech
We're introducing enhanced verification features to provide users with better transparency and trust indicators. Rollout to wallets is starting โ please review your manifests to ensure optimal user experience.
โข Your app's hosting domain should match the domain specified in your manifest.json โ url parameter
โข No SDK changes required, existing integrations continue working
โข Feature is being deployed to wallets progressively
โข Domain alignment: ensure your app domain matches the domain in manifest.json url parameter. Typical issue: url parameter contains different domain than app hosting domain.
โข Manifest accessibility: verify your manifest.json is accessible. Typical issues: CORS issues, manifest not found.
๐ Correct:
App hosted on: https://myapp.ton.org
manifest.json: { "url": "https://myapp.ton.org", ... }๐ Incorrect:
App hosted on: https://myapp.ton.org
manifest.json: { "url": "https://another.myapp.ton.org", ... }
Please open Telegram to view this post
VIEW IN TELEGRAM
โค9๐4๐ฉ2๐คก2๐1๐คฎ1
Forwarded from TON Tech
The Scaled UI standard introduces a unified way for wallets and dApps to display token amounts using a scaling factor โ enabling advanced token models such as rebasing and yield accrual, while preserving full on-chain accuracy.
This ensures consistent and transparent balance representation across the TON ecosystem.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐6๐ฉ3๐ฅฑ1
Forwarded from Gram of TON
TON x Ignyte Hackathon: Building the Web3 SuperApp Economy
TON Foundation and Ignyte invite innovators worldwide to create Web3 payment, gig economy, and creator tools on Telegram, making digital payments faster and more useful for everyday life.
๐ Key Dates
โช๏ธLaunch: Oct 8, 2025
โช๏ธDeadline: Nov 17, 2025
โช๏ธFinalists: Nov 21, 2025
โช๏ธPitch & Awards: Nov 29, 2025
Who Can Apply?
Students, early-stage startups, and scale-ups (Seed to Pre-Series A)
๐ฐ Prizes (30,000 USD Total)
๐ฅ 15,000 | ๐ฅ 10,000 | ๐ฅ 5,000
The Challenge
Build solutions that bring Web3 payments and experiences to Telegram, from instant pay for gig workers to token-gated creator tools.
Winners gain mentorship, access to TONโs Ecosystem, and a chance to pilot their projects globally.
Apply here
TON Foundation and Ignyte invite innovators worldwide to create Web3 payment, gig economy, and creator tools on Telegram, making digital payments faster and more useful for everyday life.
๐ Key Dates
โช๏ธLaunch: Oct 8, 2025
โช๏ธDeadline: Nov 17, 2025
โช๏ธFinalists: Nov 21, 2025
โช๏ธPitch & Awards: Nov 29, 2025
Who Can Apply?
Students, early-stage startups, and scale-ups (Seed to Pre-Series A)
๐ฐ Prizes (30,000 USD Total)
๐ฅ 15,000 | ๐ฅ 10,000 | ๐ฅ 5,000
The Challenge
Build solutions that bring Web3 payments and experiences to Telegram, from instant pay for gig workers to token-gated creator tools.
Winners gain mentorship, access to TONโs Ecosystem, and a chance to pilot their projects globally.
Apply here
๐7
Forwarded from TON Tech
The Tokenized Vaults standard, created by the Torch Finance team, introduces a unified interface for vaults on TON, enabling seamless deposits, withdrawals, and balance queries while ensuring compatibility with dApps and protocols across the ecosystem.
Adapted from ERC-4626 and tailored for TONโs asynchronous architecture, it provides a consistent foundation for yield strategies, liquidity products, and composable DeFi applications.
Please open Telegram to view this post
VIEW IN TELEGRAM
โค11๐5โ2
๐ First beta release of the new TON documentation is now live!
๐บ Jump ahead to beta-docs.ton.org or stay here to learn about the project's backstory, current achievements, and future plans.
For quite some time, developers shared the same feedback: TON documentation is too scattered, difficult to navigate, and has obvious gaps and inconsistencies.
We at TON Studio took that seriously and initiated the TON Docs Revamp project in late July. It is focused on the following four goals:
โข To introduce a streamlined, discoverable structure that would be easy to navigate and search
โข To make documentation welcoming to all developers, from newcomers to seasoned professionals
โข To introduce and maintain stricter quality checks from humans and AIs to ensure proof-read, up-to-date, consistent, and clear content
โข And, finally, to set up documentation release pipelines for major TON builders, while making community contributions straightforward and approachable
๐ Today, with the help and suggestions from various developer teams, including Zengo, RSquad, TonTech, TON API team, and TON Core, the TON Studio is proud to present the first public version of this documentation. It already fulfills the first goal of comprehensive structure and rapidly moves towards achieving the third goal of content.
๐ฆ That said, this is a beta release: many pages await their contents, some pages require secondary reviews, while infrastructure, pipelines, and processes are only nourishing, not mature yet. All constructive feedback is appreciated.
So, what's in store already? We've got:
โข Flat, easy-to-navigate structure
โข Hands-on articles with real examples whenever we can provide them
โข Visuals and diagrams, including various Mermaid diagrams
โข Smart AI search and summaries
โข Automatic CI spell checks and AI reviews based on the growing style guide
โข ...and much, much more!
๐ TON Docs Revamp features an engaging landing page that guides users through their TON journey, whether they're first exploring TON, building smart contracts, integrating wallets, or just want to access and navigate the documentation quickly.
๐ Re-written or brand new content includes pages for:
๐ And this is just the beginning. Plans ahead and for the next month include:
- Release pipelines and assignments of relevant technical owners
- Docs, infrastructure, and processes for approachable community contributions
- More playgrounds, interactive components, and interactivity
- Much more content
- Stronger AI-based assistance as documentation grows
๐ฏ The main goals of this beta release are to show preliminary progress, willingness to make things right, and to collect feedback from the developer community before the full release, which is tentatively scheduled for November 17th.
We are nothing without the feedback from the community. If something is missing or confusing, let us know by filing a GitHub issue. Furthermore, help review new content whenever you or someone you know is deeply familiar with the topic. TON is vast, and there is always something to know or be aware of.
Prominent ecosystem projects are invited to host, co-own, and maintain their documentation with us. Keeping things in one place will enrich the user experience and AI responses.
๐ช Let's make the best documentation for TON. Together.
โ Beta release URL: beta-docs.ton.org
โ GitHub repository: github.com/ton-org/docs
โ Future milestones: github.com/ton-org/docs/milestone/3
๐บ Jump ahead to beta-docs.ton.org or stay here to learn about the project's backstory, current achievements, and future plans.
For quite some time, developers shared the same feedback: TON documentation is too scattered, difficult to navigate, and has obvious gaps and inconsistencies.
We at TON Studio took that seriously and initiated the TON Docs Revamp project in late July. It is focused on the following four goals:
โข To introduce a streamlined, discoverable structure that would be easy to navigate and search
โข To make documentation welcoming to all developers, from newcomers to seasoned professionals
โข To introduce and maintain stricter quality checks from humans and AIs to ensure proof-read, up-to-date, consistent, and clear content
โข And, finally, to set up documentation release pipelines for major TON builders, while making community contributions straightforward and approachable
๐ Today, with the help and suggestions from various developer teams, including Zengo, RSquad, TonTech, TON API team, and TON Core, the TON Studio is proud to present the first public version of this documentation. It already fulfills the first goal of comprehensive structure and rapidly moves towards achieving the third goal of content.
๐ฆ That said, this is a beta release: many pages await their contents, some pages require secondary reviews, while infrastructure, pipelines, and processes are only nourishing, not mature yet. All constructive feedback is appreciated.
So, what's in store already? We've got:
โข Flat, easy-to-navigate structure
โข Hands-on articles with real examples whenever we can provide them
โข Visuals and diagrams, including various Mermaid diagrams
โข Smart AI search and summaries
โข Automatic CI spell checks and AI reviews based on the growing style guide
โข ...and much, much more!
๐ TON Docs Revamp features an engaging landing page that guides users through their TON journey, whether they're first exploring TON, building smart contracts, integrating wallets, or just want to access and navigate the documentation quickly.
๐ Re-written or brand new content includes pages for:
mytonctrl, mylocalton, development setups with Sandbox and Blueprint (with major help from TonTech), IDEs and SDKs, gas estimation, analytics, oracles, bridges, TMAs, TON Connect, standard wallet contracts, Jettons, NFTs, TVM instructions (with proper search and discovery), TL-B, FunC and other TON-specific programming languages, web versions of whitepapers (with cross-links and solid AI summaries), and even a "Coming from Ethereum" guide!๐ And this is just the beginning. Plans ahead and for the next month include:
- Release pipelines and assignments of relevant technical owners
- Docs, infrastructure, and processes for approachable community contributions
- More playgrounds, interactive components, and interactivity
- Much more content
- Stronger AI-based assistance as documentation grows
๐ฏ The main goals of this beta release are to show preliminary progress, willingness to make things right, and to collect feedback from the developer community before the full release, which is tentatively scheduled for November 17th.
We are nothing without the feedback from the community. If something is missing or confusing, let us know by filing a GitHub issue. Furthermore, help review new content whenever you or someone you know is deeply familiar with the topic. TON is vast, and there is always something to know or be aware of.
Prominent ecosystem projects are invited to host, co-own, and maintain their documentation with us. Keeping things in one place will enrich the user experience and AI responses.
๐ช Let's make the best documentation for TON. Together.
โ Beta release URL: beta-docs.ton.org
โ GitHub repository: github.com/ton-org/docs
โ Future milestones: github.com/ton-org/docs/milestone/3
โค31๐ฅ20๐13๐พ3๐2๐1
@ton/ton library v16.0.0 major release๐จ This is a breaking change to fix a bug in the
storeOutListExtendedV5R1 method for Wallet V5.It used to incorrectly reverse the message order, but in v16.0.0 this behavior has been changed to NOT do the reversal anymore.
Now the load and store operations are mutually inverse.
This major release does not add any new functionality.
Important: If you do not use Wallet V5, you donโt have to change anything in your code, otherwise, please test your apps before upgrading to the new version.
Many thanks to the Ston.fi team for uncovering the issue.
โค19๐4๐ฅ2
๐ฆ ton-rs โ Idiomatic Rust toolkit for TON builders
Write TON dApps the Rust way with a modern crate family:
โจ Why devs will love it
โข Type-safe TON primitives: Cells/BOCs, addresses, TL-B parsing/serialization
โข Zero-boilerplate TL-B: derive layouts with
โข Two network clients:
โ
โ Built-in lite client (always available) using ADNL + Lite API
โข Block.TLB coverage: a large set of predefined
โ
โข Practical examples to get you shipping fast
Repo:
https://github.com/ston-fi/ton-rs
#TON #Rust #TONBlockchain #OpenSource
Write TON dApps the Rust way with a modern crate family:
ton_core, ton, and ton_macros.โจ Why devs will love it
โข Type-safe TON primitives: Cells/BOCs, addresses, TL-B parsing/serialization
โข Zero-boilerplate TL-B: derive layouts with
#[derive(TLB)] from ton_macros โข Two network clients:
โ
TLClient (behind the tonlibjson feature) using TONโs TonLib API โ Built-in lite client (always available) using ADNL + Lite API
โข Block.TLB coverage: a large set of predefined
block.tlb types in ton/src/block_tlb/ โ
tx.rs (transactions), msg.rs (messages), tvm_stack.rs (TVM stack) โ parse raw chain data & traces out of the box โข Practical examples to get you shipping fast
Repo:
https://github.com/ston-fi/ton-rs
#TON #Rust #TONBlockchain #OpenSource
GitHub
GitHub - ston-fi/ton-rs: Rust libraries for working with the TON blockchain: cells, TLB, addresses, wallets, contracts, and tonlibjsonโฆ
Rust libraries for working with the TON blockchain: cells, TLB, addresses, wallets, contracts, and tonlibjson integration. - ston-fi/ton-rs
๐19๐ฅ9โค4โก2
Forwarded from Cocoon
Welcome to Cocoon โ the Confidential Compute Open Network
Cocoon is a decentralized network for executing AI inference securely and privately.
In this network, app developers reward GPU owners with TON for processing inference requests.
Telegram will be the first major customer to use Cocoon for confidential AI queries โ and will invest heavily in promoting the network across its global ecosystem.
๐จ App developers who want to run inference through Cocoon are invited to contact us via DMs to this channel.
Please specify which model architecture you plan to use (e.g., DeepSeek, Qwen), along with your expected daily query volume and average input/output token size.
๐ก GPU owners who want to earn TON by contributing compute power can also message this channel using the ๐ฌ button below.
Please indicate how many GPUs you can provide and include details such as type (e.g., H200), VRAM, and expected uptime.
Cocoon is ready โ launching in November, once weโve gathered your applications.
Cocoon is a decentralized network for executing AI inference securely and privately.
In this network, app developers reward GPU owners with TON for processing inference requests.
Telegram will be the first major customer to use Cocoon for confidential AI queries โ and will invest heavily in promoting the network across its global ecosystem.
Please specify which model architecture you plan to use (e.g., DeepSeek, Qwen), along with your expected daily query volume and average input/output token size.
Please indicate how many GPUs you can provide and include details such as type (e.g., H200), VRAM, and expected uptime.
Cocoon is ready โ launching in November, once weโve gathered your applications.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐15โค8๐ฅ1
Forwarded from TON Tech
The Scaled UI standard has been officially adopted, introducing a unified way for wallets and dApps to display token amounts using a scaling factor โ enabling advanced token models such as rebasing and yield accrual, while preserving full on-chain accuracy.
This ensures consistent and transparent balance representation across the TON ecosystem.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐7๐ฅ5๐คฎ2๐ฉ2โค1๐1
Forwarded from 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:
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:
*
Now:
*
*
*
In 99% of contracts only internal addresses are used. External ones are rare, and "none" can be expressed as nullable.
With new TVM 12 instructions, addresses are validated automatically during (de)serialization without extra gas โ no more manual
So yes, it's technically a breaking change, but it removes a ton of noise.
A short migration guide, as well as technical details, available here.
โ Rich bounced messages
Historically, a bounced message only returned the first 256 bits of the original body.
Now TVM 12 supports rich bounces โ which lets you obtain the entire body instead.
In
Old true/false bounce flags still work for backward compatibility.
Rich bounces simplify complex message flows and inter-contract communication โ one of the most painful aspects of TON until now.
โ Cheap builder-to-slice and address composition
Previously, converting a builder to a slice (endCell + beginParse) consumed a lot of gas because cells are expensive. Now there's a new instruction โ
-
- "builder-to-address" is the same
- cheaper
Just update to Tolk v1.2 + TVM 12, and you'll immediately save gas.
โ Anonymous functions (lambdas)
Can be used in general-purpose frameworks, perfectly integrated with the type system:
โ Low-level compiler enhancements
Also included: better diagnostics with precise ranges, new peephole optimizations, tuple โ object conversions, and multiple small fixes. A lightweight borrow checker prevents undefined behavior on concurrent mutations.
As always, all additions are carefully described in a PR.
๐ณ We've also started improving TVM itself โ new assembler instructions are designed specifically to fit the Tolk type system and optimizer. I have always said: the language is just the beginning. Perfect developer experience requires improving every layer of TON's stack. The road may be sharp and curvy โ but we're definitely heading in the right direction.
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/noneNow:
*
address โ internal only*
address? (nullable) โ internal/none, exactly like "maybe address" in @ton/core*
any_address โ internal/external/noneIn 99% of contracts only internal addresses are used. External ones are rare, and "none" can be expressed as nullable.
struct Storage {
// internal, checked automatically
owner: address
}
With new TVM 12 instructions, addresses are validated automatically during (de)serialization without extra gas โ no more manual
isInternal() checks.So yes, it's technically a breaking change, but it removes a ton of noise.
A short migration guide, as well as technical details, available here.
โ Rich bounced messages
Historically, a bounced message only returned the first 256 bits of the original body.
Now TVM 12 supports rich bounces โ which lets you obtain the entire body instead.
createMessage({
bounce: BounceMode.RichBounce,
...
})
In
onBouncedMessage, you get access to the original body, exit code, gas used, and more.Old true/false bounce flags still work for backward compatibility.
Rich bounces simplify complex message flows and inter-contract communication โ one of the most painful aspects of TON until now.
โ Cheap builder-to-slice and address composition
Previously, converting a builder to a slice (endCell + beginParse) consumed a lot of gas because cells are expensive. Now there's a new instruction โ
BTOS (builder-to-slice) โ without intermediate cell creation.-
b.endCell().beginParse() is now cheap: auto-optimized to BTOS- "builder-to-address" is the same
BTOS; hacks around "return a builder with a valid address" can be removed- cheaper
StateInit hashing and address calculationsJust update to Tolk v1.2 + TVM 12, and you'll immediately save gas.
โ Anonymous functions (lambdas)
Can be used in general-purpose frameworks, perfectly integrated with the type system:
fun customRead(reader: (slice) -> int) { ... }
customRead(fun(s) {
return s.loadUint(32)
})
โ Low-level compiler enhancements
Also included: better diagnostics with precise ranges, new peephole optimizations, tuple โ object conversions, and multiple small fixes. A lightweight borrow checker prevents undefined behavior on concurrent mutations.
As always, all additions are carefully described in a PR.
๐ณ We've also started improving TVM itself โ new assembler instructions are designed specifically to fit the Tolk type system and optimizer. I have always said: the language is just the beginning. Perfect developer experience requires improving every layer of TON's stack. The road may be sharp and curvy โ but we're definitely heading in the right direction.
๐10๐ฅ8๐5โค3โก3
Forwarded from Gram of TON
๐ New TON Documentation is Live
We rebuilt the entire documentation from scratch based on community feedback.
What's new:
โช๏ธ AI Assistant - Ask questions in plain language and get instant answers from the entire documentation
โช๏ธ Easier Navigation - Flat structure rewritten by blockchain engineers
โช๏ธ Comprehensive Guides - New content for blockchain foundations, TON Connect, mytonctrl, Sandbox, Blueprint, smart contracts, and more
โช๏ธ Dr. Durov's Whitepapers - Now in web format with AI summaries and cross-links
Built with feedback from Zengo, RSquad, TonTech, TON API team, TON Core, and shaped and delivered by TON Studio.
Try it: docs.ton.org
๐ Read more
We rebuilt the entire documentation from scratch based on community feedback.
What's new:
โช๏ธ AI Assistant - Ask questions in plain language and get instant answers from the entire documentation
โช๏ธ Easier Navigation - Flat structure rewritten by blockchain engineers
โช๏ธ Comprehensive Guides - New content for blockchain foundations, TON Connect, mytonctrl, Sandbox, Blueprint, smart contracts, and more
โช๏ธ Dr. Durov's Whitepapers - Now in web format with AI summaries and cross-links
Built with feedback from Zengo, RSquad, TonTech, TON API team, TON Core, and shaped and delivered by TON Studio.
Try it: docs.ton.org
๐ Read more
๐15โค7๐ฅ2
Forwarded from TON Tech
TON teams across the ecosystem are refreshing the strategy, and buildersโ input is a key part of that process.
This is a short 3-question form about real blockers and opportunities you see.
Your feedback may help inform the discussions and priorities across the ecosystem.
Please open Telegram to view this post
VIEW IN TELEGRAM
๐12โค6๐4๐ฅ4๐3
Forwarded from 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 experienced divers. They reveal compiler internals and the language philosophy. My favourite โ Stop thinking in TL-B.
ใ Hundreds of examples
Every distinct aspect is covered with usage examples โ properly highlighted in both light and dark mode.
No matter whether you are new to TON or have been here for years โ you'll definitely find a few tricks you've never seen before.
โ This documentation in numbers
All together, the new Tolk documentation contains:
โข 46 pages
โข 480 snippets
โข 40000 words
โข 280000 characters
I invested ~200 hours developing the text and picking every word.
I hope that, cumulatively, this documentation will save noticeably more time for all TON developers.
โ Start reading
https://docs.ton.org/languages/tolk
๐ณ Thanks to everyone who reviewed the pull request and pointed out occasional mistakes or misprints. Just imagine the amount of content they had to deal with.
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 experienced divers. They reveal compiler internals and the language philosophy. My favourite โ Stop thinking in TL-B.
ใ Hundreds of examples
Every distinct aspect is covered with usage examples โ properly highlighted in both light and dark mode.
No matter whether you are new to TON or have been here for years โ you'll definitely find a few tricks you've never seen before.
โ This documentation in numbers
All together, the new Tolk documentation contains:
โข 46 pages
โข 480 snippets
โข 40000 words
โข 280000 characters
I invested ~200 hours developing the text and picking every word.
I hope that, cumulatively, this documentation will save noticeably more time for all TON developers.
โ Start reading
https://docs.ton.org/languages/tolk
๐ณ Thanks to everyone who reviewed the pull request and pointed out occasional mistakes or misprints. Just imagine the amount of content they had to deal with.
โค11๐8๐คฏ2๐ฅ1๐1
TON Vanity
Meet the new blazingly fast vanity address generator for TON smart contracts!
The previous state-of-the-art solution was released 3 years ago and hasn't improved much since. We at TON Studio decided to develop a completely new solution from scratch, following the usage patterns the previous solution introduced.
Optimizations in both the smart contract and the kernel lead to extreme generation speedups. In realistic usage scenarios on an RTX 4090, the generator finds suffix patterns up to 5,100x faster, and prefix patterns up to 3,600x faster. In practice, this allows finding about 2 more letters than before in appropriate time.
Apart from the crazy speedups, there's a simple interface for TypeScript usage, like in smart contract tests and deployment scripts. Applying the generated vanity address requires writing just a few extra lines of code. The generator's output was improved too, storing all results in a structured JSON format with all useful metadata. Quality-of-life improvements include a polished CLI experience, comprehensive test coverage, and a benchmark script for comparing future optimizations.
The tool will be maintained and improved over time. The entire development process is open on GitHub, and contributions and feedback are welcome. A detailed write-up covering all optimizations and the development process will be published soon, for those who are interested.
Check it out: https://github.com/ton-org/vanity
Meet the new blazingly fast vanity address generator for TON smart contracts!
The previous state-of-the-art solution was released 3 years ago and hasn't improved much since. We at TON Studio decided to develop a completely new solution from scratch, following the usage patterns the previous solution introduced.
Optimizations in both the smart contract and the kernel lead to extreme generation speedups. In realistic usage scenarios on an RTX 4090, the generator finds suffix patterns up to 5,100x faster, and prefix patterns up to 3,600x faster. In practice, this allows finding about 2 more letters than before in appropriate time.
Apart from the crazy speedups, there's a simple interface for TypeScript usage, like in smart contract tests and deployment scripts. Applying the generated vanity address requires writing just a few extra lines of code. The generator's output was improved too, storing all results in a structured JSON format with all useful metadata. Quality-of-life improvements include a polished CLI experience, comprehensive test coverage, and a benchmark script for comparing future optimizations.
The tool will be maintained and improved over time. The entire development process is open on GitHub, and contributions and feedback are welcome. A detailed write-up covering all optimizations and the development process will be published soon, for those who are interested.
Check it out: https://github.com/ton-org/vanity
๐ฅ33โค17๐12โก4๐ฉ2๐2
Hello everyone,
The Pyth oracle contract addresses have now been updated in the TON docs.
The new contract brings several performance improvements, including significantly reduced on-chain price verification costs (10-20x cheaper).
https://docs.ton.org/ecosystem/oracles/pyth
The Pyth oracle contract addresses have now been updated in the TON docs.
The new contract brings several performance improvements, including significantly reduced on-chain price verification costs (10-20x cheaper).
https://docs.ton.org/ecosystem/oracles/pyth
TON Docs
Pyth oracle - TON Docs
๐18โค12๐4๐คฏ4๐ฅ2
Forwarded from BotNews
This media is not supported in your browser
VIEW IN TELEGRAM
Bot API 9.3
๐ช AI Revolution
This release comes with new tools and native interfaces to easily integrate modern LLMs and AI features.
โข Introduced topics in 1-on-1 chats, letting users organize bot chats into easily accessible threads.
โข Topics in private chats support all send and forward methods, including chat actions.
โข Out of the box, bots can edit or delete private chat topics, manage pinned messages and more.
โข Allowed bots to stream live responses as they're generated.
๐ Gifts
โข Improved gifts โ with support for blockchain, multiple currencies, backgrounds and more.
โข Bots can now list all gifts owned by users and chats with detailed filtering options.
โข Added detailed information about the colors tied to a gift or applied to a chat.
๐ค Profiles and Private Chats
โข Business bots can now repost stories across accounts they manage.
โข Copied and forwarded messages can now show effects in private chats.
โข Bots can now see the rating of users who contact them.
โ General
โข Allowed bots to hide their main @username if they set an upgraded one via Fragment.
โข Bots can now restrict channel admins from removing members.
โข And more, see the full changelog for details:
https://torg.tg-me.sbs/bots/api-changelog#december-31-2025
Happy Holidays from the Telegram Team๐
This release comes with new tools and native interfaces to easily integrate modern LLMs and AI features.
โข Introduced topics in 1-on-1 chats, letting users organize bot chats into easily accessible threads.
โข Topics in private chats support all send and forward methods, including chat actions.
โข Out of the box, bots can edit or delete private chat topics, manage pinned messages and more.
โข Allowed bots to stream live responses as they're generated.
โข Improved gifts โ with support for blockchain, multiple currencies, backgrounds and more.
โข Bots can now list all gifts owned by users and chats with detailed filtering options.
โข Added detailed information about the colors tied to a gift or applied to a chat.
โข Business bots can now repost stories across accounts they manage.
โข Copied and forwarded messages can now show effects in private chats.
โข Bots can now see the rating of users who contact them.
โข Allowed bots to hide their main @username if they set an upgraded one via Fragment.
โข Bots can now restrict channel admins from removing members.
โข And more, see the full changelog for details:
https://torg.tg-me.sbs/bots/api-changelog#december-31-2025
Happy Holidays from the Telegram Team
Please open Telegram to view this post
VIEW IN TELEGRAM
โค16๐4๐1๐ฅ1