Skip to content

tact-lang/tact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tact Language Compiler

A next-gen smart contract programming language for TON Blockchain, focused on efficiency and ease of development. Tact is a good fit for complex smart contracts, quick onboarding and rapid prototyping.

Developed by TON Studio, powered by the community.

Try online!FeaturesSecurityKey resourcesInstallationCommunityContributing

Website Documentation Twitter Telegram Telegram

Features

The most prominent and distinctive features of Tact are:

Security

Key resources

Installation

Compiler

The Tact compiler is distributed as an NPM package bundled with the Tact standard library.

The recommended Node.js version is 22 or higher, while the bare minimum Node.js version must be at least 18 or higher.

Use your favorite package manager to install it into a Node.js project:

# yarn is recommended, but not required
yarn add @tact-lang/compiler

# you can also use npm
npm i @tact-lang/compiler@latest

# or pnpm
pnpm add @tact-lang/compiler

# or bun
bun add @tact-lang/compiler

Alternatively, you can install it globally as such:

npm i -g @tact-lang/compiler

This will make the tact compiler available on your PATH, as well as a convenient unboc disassembler of a contract's code compiled into a Bag of Cells .boc format.

Tooling

Extensions and plugins
Security

Getting started

For a quick start, read the "Let's start!" mini-guide in the Tact documentation, which uses the Blueprint development environment for writing, testing and deploying smart contracts on TON Blockchain.

If you want more manual control, use tact-template — it's a ready-to-use template with the development environment set up, including the Tact compiler with TypeScript + Jest, a local TON emulator, AI-based editor support, and examples of how to run tests.

git clone https://github.com/tact-lang/tact-template

Community

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:

Contributing

Contributions are welcome! To help with the development of the compiler, see the contributing guide.

In addition, we invite you to create new educational materials in any form, help foster the community, and write new Tact contracts. The best creations will be featured in awesome-tact and on social media.

Good luck on your coding adventure with ⚡ Tact!

License

MIT © The Tact Authors: Steve Korshakov; TON Studio.