- Blueprint — core tools for building contracts.
- Sandbox — fast local testing in an isolated blockchain.
- Create TON App — scaffolding a ready-to-use project.
- Testing utils — testing helpers and unit test matchers.
Quick start
To get started immediately, run the following command to create a new project and follow the on-screen instructions:Key features
- Project scaffolding — create a ready-to-use development environment with
npm create ton@latest
. - Streamlined workflow — build, test, and deploy smart contracts efficiently.
- Simple deployment — publish contracts to Mainnet and Testnet directly from your wallet.
- Fast local testing — run multiple contracts in an isolated in-process blockchain.
Requirements
- Node.js version 22 or later
- Verify the version with
node -v
IDE plugins
Environment setup
- Run and follow the on-screen instructions:
npm create ton@latest
. - From the project directory, run
npm install
to install dependencies.
Project structure
contracts/
— smart contract source code and imports.scripts/
— deployment scripts for Mainnet and Testnet, as well as scripts for interacting with live contracts.tests/
— TypeScript test suite for all contracts, using Sandbox for in-process execution.wrappers/
— TypeScript interface classes for all contracts except Tact.- Each wrapper implements the
Contract
interface from @ton/core.- Provides message serialization and deserialization, getter wrappers, and compilation helpers.
- Used in both the test suite and client code to interact with contracts from TypeScript.
- Each wrapper implements the
build/
— compilation artifacts generated by the build command.