Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
hairyf avatar

Ton Tact

  • 4 installs
  • 4 repo stars
  • Updated February 25, 2026
  • hairyf/blockchain-master

Write TON smart contracts in Tact - type system, contracts and receivers, send/receive messages, cells, stdlib, and security practices.

About

Tact is a statically typed smart-contract language for TON using message-based communication, structs/messages, and traits. A developer uses it to write or review TON contracts.

  • Types, contracts, receivers, and message send/receive
  • Cells serialization, standard libraries, and security practices

Ton Tact by the numbers

  • 4 all-time installs (skills.sh)
  • Ranked #347 of 479 Web3 & Blockchain skills by installs in the Skillselion catalog
  • Data as of Jul 13, 2026 (Skillselion catalog sync)
npx skills add https://github.com/hairyf/blockchain-master --skill ton-tact

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs4
repo stars4
Last updatedFebruary 25, 2026
Repositoryhairyf/blockchain-master

What it does

Write TON smart contracts in Tact - type system, contracts and receivers, send/receive messages, cells, stdlib, and security practices.

Files

SKILL.mdMarkdownGitHub ↗
Skill is based on Tact (TON) v1.6.13, generated 2026-02-25.

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.

Core references

TopicDescriptionReference
Type systemPrimitives, optionals, maps, structs, messages, contracts, traitscore-types
Contracts and traitsinit, parameters, receivers, getters, interfaces, BaseTraitcore-contracts
Structs and messagesDefinition, instantiation, toCell/fromCell, TL-B layoutcore-structs-messages
Receiving messagesreceive(), text/binary/slice receivers, order, external/bouncedcore-receive
Sending messagessend(), SendParameters, reply, forward, notify, cashback, deploy, emitcore-send
Cells, Builders, SlicesCell/Builder/Slice, beginCell, store/load, Struct/Message helperscore-cells
Message modeBase modes and optional flags (SendRemainingValue, SendIgnoreErrors, etc.)core-message-mode
Gas and feesgetStorageFee, getComputeFee, getForwardFee, setGasLimit, acceptMessagecore-gas
Context and statesender, context, myAddress, myBalance, now, inMsg, setData, commit, getConfigParam, nativeReservecore-context-state
AddressesnewAddress, contractAddress, forceBasechain, parseStdAddress, BasechainAddresscore-addresses
CryptographycheckSignature, sha256, keccak256, SignedBundlecore-crypto
StringsStringBuilder, beginString, beginComment, String extensions, Int toFloatStringcore-strings
Mathmin, max, abs, sign, sqrt, log, log2, pow, pow2, divc, muldivccore-math
Exit codesTVM/Tact exit codes, compute/action phases, developer range 256–65535core-exit-codes
Randomrandom, randomInt, getSeed, setSeed, nativeRandomize, nativeRandomizeLtcore-random
Debug and throwrequire, dump, throw, throwIf, throwUnlesscore-debug
Compile-timeaddress(), cell(), slice(), rawSlice(), ascii(), crc32(), ton()core-comptime
Message lifecycleReceive phase, compute phase, action phase (no revert)core-lifecycle

Features

TopicDescriptionReference
OptionalsT?, null, !!, constraints (no optional keys, no nested optionals)features-optionals
Mapsmap<K,V>, emptyMap(), get/set, allowed types, serializationfeatures-maps
initOf and deployinitOf, contractAddress, StateInit, send/deploy deploymentfeatures-initof-deploy
Standard libraries@stdlib/config, content, deploy, dns, ownable, stoppablefeatures-stdlib
Configurationtact.config.json — projects, options (debug, external, safety, mode)features-config
External messagesexternal(), acceptMessage, no sender/context, config externalfeatures-external
Constantsconst, virtual/abstract/override in traitsfeatures-constants

Best practices

TopicDescriptionReference
SecuritySensitive data, signed ints, exit codes, random, auth, replay, bounce, excess gasbest-practices-security
GasContract params, binary receivers, message/cashback/deploy, sender(), throwUnless, SignedBundlebest-practices-gas

Advanced

TopicDescriptionReference
Bounced messagesbounced<T>, 224-bit limit, fallback Slice receiver, unrecognized bouncesadvanced-bounced

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.