Skip to content

Cookbook overview

The main reason for creating the Tact Cookbook is to gather all the experiences of Tact developers in one place so that future developers can use it. This section of the documentation focuses on everyday tasks that every Tact developer resolves during the development of smart contracts.

Use it as a recipe book for cooking up delightful smart contracts on TON Blockchain without reinventing the wheel in the process.

For DeFi-specific elaborate recipes that include smart contracts, auxiliary scripts, and testing suites, see the Tact’s DeFi Cookbook on GitHub.

  1. Single contract

    The following pages focus on single-contract examples and cover a wide range of topics:

  2. Multiple contracts

    The following pages focus on multi-contract examples, exploring the scalable nature of TON Blockchain:

    Additionally, there are examples of working with popular TON DEXes (Decentralized EXchanges), which often require many contracts and complex logic:

  3. DeFi Cookbook on GitHub

    As an extension of this Cookbook, we’ve made a special GitHub repository for elaborate recipes that include smart contracts, auxiliary scripts, and testing suites. Here are some of the recipes of the Tact’s DeFi Cookbook on GitHub: