π How to Get Started Developing on TON?
We're posting this as a contribution to anyone who is sincere and wants to contribute to improving upon viral uptake of TON.
If your motivations are for profit, then please also make a donation here.
Development of applications and web services includes front-end (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/
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 β Toncenter.
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.
β 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
- FunC contest tasks - from simple to complex. https://github.com/ton-blockchain/func-contest1
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