TGViewer
TON Tech TON Tech @tontech · 24.3K subscribers
Post #56 5.24K
Beta dev tools for the upcoming TVM update

The testnet branch of the official TON repo contains a lot of new opcodes, and we have released new tools to help you test them out before they reach mainnet. The new versions are as follows:
@ton-community/sandbox@0.12.0-tvmbeta.1 @ton-community/func-js@0.6.3-tvmbeta.1 @ton-community/func-js-bin@0.4.5-tvmbeta.1

Please note that the actual func version in the func-js-bin package is still 0.4.4

Also, the updated sandbox only includes the updated emulator binary, but lacks some interface updates - for example, there is currently no way to set the information required for the new opcodes PREVBLOCKSINFOTUPLE, PREVMCBLOCKS, PREVKEYBLOCK

The interface will likely be updated when the update reaches mainnet, or sooner if there is demand for that.

Also note that the default and slim configs packaged with sandbox are deliberately changed to enable the new TVM opcodes and will not match the ones that are actually contained in the blocks indicated by the seqno consts.

If you want to use the new opcodes in blueprint, you also need to override func-js versions. To do so, add the following to your package.json:
"overrides": {
"@ton-community/func-js-bin": "0.4.5-tvmbeta.1",
"@ton-community/func-js": "0.6.3-tvmbeta.1"
}

(change overrides to resolutions if you're using yarn)
Note that sandbox can be updated in the usual way by replacing the version in the devDependencies section directly.
  • 👍 14
  • 🏆 4
More from @tontech
  1. Jun 15, 2026💎 Toncoin → Gram The rebranding is in progress 🔥
  2. Jun 10, 2026Read more about all the updates, including new dApp scenarios, Structured items, Trace ID,…
  3. Jun 10, 2026TON Connect Bridge v3. The new bridge introduces horizontal scaling and shared infrastruct…
  4. Jun 10, 2026Embedded requests. Wallet connection and action execution can now be combined into a singl…
  5. Jun 10, 2026Gasless transactions. Applications can now cover transaction fees for users and accept pay…
  6. Jun 10, 2026TON Connect v3. TON Connect has received a major update with gasless transactions, connect…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →