ton

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese
Skill is based on TON documentation (ton-org/docs), generated at 2026-02-09.
TON (The Open Network) is a decentralized blockchain with an Actor model (all entities are smart contracts), stack-based TVM, and cell-based serialization. This skill covers foundations, contract development with Blueprint, payments, and API access.
Skill 基于TON官方文档(ton-org/docs)生成,生成时间为2026-02-09。
TON(The Open Network)是一个采用Actor模型(所有实体均为智能合约)、基于栈的TVM虚拟机和Cell序列化机制的去中心化区块链。本Skill涵盖了TON的基础概念、使用Blueprint进行合约开发、支付功能以及API接入等内容。

Core References

核心参考资料

TopicDescriptionReference
AddressesInternal/external addresses, workchains, account IDcore-addresses
MessagesMessage types, StateInit, deploy, transactionscore-messages
Cells & serializationCells, BOC, builders and slicescore-cells-serialization
TVMStack, data types, gas, instructions, get methodscore-tvm
TVM exit codesCompute/action phase codes, testingcore-tvm-exit-codes
Fees & statusStorage/compute/forward fees, account status (nonexist, uninit, active, frozen)core-fees-status
TVM registersc0–c7, c4/c5 durable, c7 environmentcore-tvm-registers
主题描述参考链接
地址内部/外部地址、工作链、账户IDcore-addresses
消息消息类型、StateInit、部署、交易core-messages
Cell与序列化Cell、BOC、构建器与切片core-cells-serialization
TVM栈结构、数据类型、燃气、指令、只读方法core-tvm
TVM退出码计算/执行阶段码、测试core-tvm-exit-codes
费用与状态存储/计算/转发费用、账户状态(不存在、未初始化、活跃、冻结)core-fees-status
TVM寄存器c0–c7、c4/c5持久化寄存器、c7环境寄存器core-tvm-registers

Features

功能模块

Development

开发相关

TopicDescriptionReference
Blueprintcreate-ton, Sandbox, project structurefeatures-blueprint
Contract developmentFirst contract, storage, messages, get methods, Tolkfeatures-contract-development
Tolk languageTypes, message handling, lazy loading, IDEfeatures-tolk
Contract upgradessetCodePostponed, setData, delayed and hot upgradesfeatures-upgrades
Standard walletsV4, V5, Highload, comparison, use casesfeatures-wallets
Standard tokensJettons, NFTs, transfer, mint, burn, discoveryfeatures-tokens
SigningEd25519, wallet/gasless/server patterns, TypeScriptfeatures-signing
主题描述参考链接
Blueprintcreate-ton工具、Sandbox沙箱、项目结构features-blueprint
合约开发首个合约、存储、消息、只读方法、Tolk语言features-contract-development
Tolk语言类型、消息处理、懒加载、集成开发环境features-tolk
合约升级setCodePostponed、setData、延迟升级与热升级features-upgrades
标准钱包V4、V5、高负载钱包、对比、使用场景features-wallets
标准代币Jettons、NFTs、转账、铸造、销毁、发现features-tokens
签名Ed25519、钱包/无燃气/服务端模式、TypeScriptfeatures-signing

Payments & API

支付与API

TopicDescriptionReference
PaymentsToncoin, Jettons, finality, monitoringfeatures-payments
APILiteservers, TON Center, TonAPI, dTONfeatures-api
主题描述参考链接
支付Toncoin、Jettons、最终性、监控features-payments
APILiteservers、TON Center、TonAPI、dTONfeatures-api

Best Practices

最佳实践

TopicDescriptionReference
SecurityIntegers, replay, accept_message, gas, random, front-runningbest-practices-security
主题描述参考链接
安全整数处理、重放攻击、accept_message校验、燃气、随机数、抢先交易best-practices-security