logo
Unleashing the power of TON with safe and scalable smart contracts

What is Tact?

Tact is a fresh programming language for TON Blockchain that is focused on efficiency and ease of development. It is a good fit for complex smart contracts, quick onboarding, and rapid prototyping. Tact is fast, gas-efficient, and developer-friendly.

contract NumberGoUp(value: Int) {
receive(msg: Add) {
self.value += msg.value;
}
get fun getValuePlus(extra: Int): Int {
return self.value + extra;
}
}
message Add { value: Int }
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Mass adoption driver

At the start of 2025, the number of unique code contracts deployed on the mainnet has reached almost 28 thousand, of which about 33% were written in Tact.

Here are some selected Tact-based software and applications deployed in production and consumed by end users:

Proof of Capital

A market-making smart contract that protects interests of all holders.

GitHub

Tradoor

Fast and social DEX on TON.

Website

PixelSwap

First modular and upgradeable DEX on TON.

Website

GasPump

TON memecoin launchpad and trading platform.

Website

Powerful and feature-rich

The most prominent and distinctive features of Tact are:

Tooling-packed

Extensions and plugins

Utility

  • Compiler itself, tact — it is distributed as an NPM package bundled with the standard library. The recommended Node.js version is 22 or higher, while the minimum version is 18. You can invoke the compiler or any of the bundled tools with npx, followed by the name of the tool.
  • Formatter, tact-fmt — official formatter that ships with the Tact Language Server, VS Code extension, and as a standalone binary with the compiler.
  • BoC Disassembler, unboc — disassembler for .boc files that ships as a standalone binary with the compiler.
  • ide.ton.org — online IDE and interactive web playground.

Project management

  • tact-template — ready-to-use template with the development environment set up, including the Tact compiler with TypeScript and Jest, a local TON emulator, AI-based editor support, and examples of how to run tests.
  • create-tact — a CLI for setting up a new clean project from the Tact template. You can use it with npm, yarn, pnpm, and bun with one of the following commands:
    • npm create tact@latest
    • yarn create tact@latest
    • pnpm create tact@latest
    • bun create tact@latest

Secure and accessible

Tact is audited and battle-tested

Compiler version 1.5.0 has passed a security review by Trail of Bits with no high-severity vulnerabilities found. See the full PDF report or its copy on this website.

Moreover, Tact documentation provides comprehensive pages on security best practices and gas best practices.

If you discover a vulnerability in the compiler, please report it to us without opening a public issue on GitHub. See the security policy in the SECURITY.md file for details.

Tact is open and public

It is developed by TON Studio in the open source and open development model on GitHub — suggestions, issues and bug fixes are welcome! Notice that GitHub provides syntax highlighting for Tact code across the website.

To help develop the compiler, see its contributing guide.

Tact is community-driven

If you can’t find the answer in the docs, or you’ve tried to do some local testing and it still didn’t help — don’t hesitate to reach out to Tact’s flourishing community:

Sounds good? Let's get started!

To start writing Tact yourself, install the preferred tools, then see the Let's start section on the main page of the documentation.

Once you get the grip of it, we invite you to create new educational materials in any form, help foster the community, and build new Tact contracts and projects. The best creations will be featured in awesome-tact and on social media.

Good luck on your coding adventure with ⚡ Tact!