TON
May 14, 2022

How to get started developing on TON?

The below collection should be helpful and is being regularly updated. I'm posting it as a contribution for those to contribute to improving upon the viral uptake of TON.

If your motivations are profit, then please also make a donation.

Development of applications and web services includes front-end (user interface) and back-end development (directly functional).

The interaction between the front-end and back-end occurs through the API.

The back-end of decentralized applications is different from the back-end of web 2.0 applications, however, most of the technical principles remain the same.

In the blockchain, data processing is carried out by smart contracts - a code that is automatically executed in a decentralized network, according to algorithms of predetermined conditions (if-then).

TON smart contracts are written in [FunC https://ton.org/docs/#/func/overview] and [Fift https://test.ton.org/fiftbase.pdf] languages, and executed on the TON virtual machine - [TVM https://ton.org/docs/#/smart-contracts/tvm_overview?id=tvm-is-stack-machine] (Telegram Open Network Virtual Machine).

To interact with the blockchain, you must use the lite-client (guide for its installation). https://ton.org/docs/#/howto/getting-started

Interaction with the blockchain occurs through the API and SDK. https://ton.org/docs/#/apis/

Useful apps and tools:

To write a smart contract, you will need the TON Development [https://plugins.jetbrains.com/plugin/18541-ton-development] plugin. — IDEA, Sublime Text, VS Code.

API bridges for functional integration — Free HTTP API — Toncenter.

Tools for working with smart contracts in the browser — Tonsc.

Smart Contract Development Toolkit — toncli.

Catalog of applications and tools -  — Ton App.

You can run a local blockchain directly on your computer via  MyLocalTON, or use a test network.

Materials for study:

— Documentation for TON developers; https://ton.org/docs/#/

— Basic recommendations on smart contracts; https://ton.org/docs/#/howto/smart-contract-guidelines

- A step-by-step example of deploying a smart contract. https://telegra.ph/Hello-World-smart-kontrakt-dlya-TON-za-15-minut-11-19

As examples of smart contracts for TON, you can use repositories from Github:

— Smart contracts; https://github.com/newton-blockchain/ton/tree/master/crypto/smartcont

— Contract simple purse. https://github.com/ton-blockchain/wallet-contract

Developer communities for TON:

— Russian-speaking; https://t.me/tondev - English: https://t.me/tondev_eng

— Question and Answer repository: https://stackoverflow.com/questions/tagged/ton

— Unofficial about the development of smart contracts. https://t.me/tonsc_chat