Contract development overview
How to build, test, deploy, and debug TON smart contracts. This section covers the recommended toolchain, editor support, reusable techniques, and the legacy TypeScript environment.
The Web IDE is retired
The Web IDE at ide.ton.org has been retired and is no longer available. Develop locally with the Acton toolchain and one of the editor plugins below.
Toolchain
Tolk is the recommended language for TON smart contracts. Acton ↗️ is the recommended all-in-one toolchain for the entire contract development lifecycle, including building, testing, and deploying Tolk contracts.
External documentation
Acton ↗️ documentation is hosted and updated externally.
IDEs and editor plugins
Add support for the Acton toolchain, Tolk language, and intermediate TON languages to a local editor:
- VS Code and forks — extension for VS Code, VSCodium, Cursor, Windsurf, and other VS Code-based editors
- JetBrains IDEs — plugin for IntelliJ IDEA, WebStorm, CLion, PyCharm, and other JetBrains IDEs
Techniques
Focused how-to guides for common smart contract tasks:
- Signing and signature verification
- Contract sharding
- Security
- Gas optimization
- On-chain jetton processing
- Using on-chain libraries
- Random number generation
- Contract upgrades
- Vanity addresses
- Zero-knowledge proofs
- Groth16 examples
Blueprint (legacy)
Blueprint is a legacy TypeScript environment that is still supported for older projects.