Skip to main content

Overview

This page provides navigation within the TON smart contract guidelines.

Guides overview

Smart contract development

GuideStackDescription
TON Hello worldFunC, TS, @ton/tonWrite and deploy your first contract.
Working with wallet smart contractsFunC, TS, @ton/tonLearn in detail how to interact with various wallet smart contracts.
Speedrun TONFunC, TS, @ton/tonLearn contract development through a series of guides.
Writing tests with BlueprintTS, @ton/tonLearn how to write and run local tests for a contract.
Shard optimizations on TONTS, @ton/tonLearn best practices for contract shard optimization.
Writing test examplesTS, @ton/tonLearn how to write various test suites for edge cases.
Collecting contract gas metricsTS, @ton/tonLearn how to track and compare changes in gas usage and data size of smart contracts using tests.
Interact with multisig wallets using TypeScriptTS, @ton/tonLearn how to interact with a multisig wallet on TON.

Scalability and security

GuideStackDescription
How to shard your TON smart contract and whyDesign and architectureLearn the concept of a contract system with the jetton standard.
Airdrop claiming guidelinesDesign and architectureLearn concepts on contract interactions and their impact on overall performance.
Common smart contract vulnerabilitiesFunCCritical security pitfalls and how to avoid them in TON smart contracts.
Things to focus on while working with TON BlockchainFunCBest practices for DApps development in TON.
Secure smart contract programmingFunCBest practices for secure development of smart contracts on FunC.
Drawing conclusions from TON Hack ChallengeFunCBest practices for secure development
Random number generationFunCGenerating random numbers in TON for various projects.

Advanced

GuideStackDescription
Generation of block random seedC++, CoreExplanation of randomness in TON.
Compilation instructionsC++, CMake, CoreCompile executables from source for deep native integration.
Instructions for low-memory machinesC++Extension for compilation on low-memory machines.
Make a simple multisig contract with fiftFift, Lite ClientThis tutorial will help you learn how to deploy your multisig contract with Lite Client.

TON course: contract development

The TON blockchain course is a comprehensive guide to blockchain development.

  • Module 2 is dedicated to TVM, transactions, scalability and business cases.
  • Module 3 is dedicated to smart contract development lifecycle.

Check the TON blockchain course

Chinese

Russian

See also

Was this article useful?