Skip to main content
To start working with Tolk, you need a development environment. We recommend using Blueprint, a tool for writing, testing, and deploying smart contracts on TON.

Create a new TON project

Prerequisite: Node.js v16 or higher
  1. Create a new TON project:
  2. Enter any project name and select “A simple counter contract (Tolk)” when prompted by Blueprint.

Project structure

Here’s a quick look at the typical project layout:

Build the project

Blueprint compiles the contract and displays the resulting bytecode, along with its hash. The output is saved in the build/ directory.

Run tests

This runs unit tests from the tests/ directory.

Deploy or run a script

Use this command to deploy your contract to Mainnet, Testnet, or MyLocalTon.

IDE support

Tolk is supported in IntelliJ-based IDEs using the TON plugin and in Visual Studio Code through the TON extension.