什么是 ton-tact?
TON 区块链智能合约的 Tact 语言 — 类型、合约、消息、发送/接收、stdlib 和安全性。 来源:hairyf/blockchain-skills。
TON 区块链智能合约的 Tact 语言 — 类型、合约、消息、发送/接收、stdlib 和安全性。
通过命令行快速安装 ton-tact AI 技能到你的开发环境
来源:hairyf/blockchain-skills。
Tact is a statically typed smart contract language for the TON blockchain. Contracts use message-based communication (receive/send), structs and messages for data, and traits for reuse. This skill focuses on agent-oriented usage: type system, contracts and receivers, sending/receiving messages, cells and serialization, standard libraries, and security practices.
| Type system | Primitives, optionals, maps, structs, messages, contracts, traits | core-types | | Contracts and traits | init, parameters, receivers, getters, interfaces, BaseTrait | core-contracts | | Structs and messages | Definition, instantiation, toCell/fromCell, TL-B layout | core-structs-messages |
| Receiving messages | receive(), text/binary/slice receivers, order, external/bounced | core-receive | | Sending messages | send(), SendParameters, reply, forward, notify, cashback, deploy, emit | core-send | | Cells, Builders, Slices | Cell/Builder/Slice, beginCell, store/load, Struct/Message helpers | core-cells |
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/hairyf/blockchain-skills --skill ton-tactTON 区块链智能合约的 Tact 语言 — 类型、合约、消息、发送/接收、stdlib 和安全性。 来源:hairyf/blockchain-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/hairyf/blockchain-skills --skill ton-tact 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/hairyf/blockchain-skills