Overview
The best place to start is a TON Hello World guide of how to create your first Web App:
Tools
Here you can see links to the most important resources for you to get started with TON:
- Wallets — a list of popular wallets for TON.
- Explorers — to track transactions in the blockchain.
- Testnet — info about the testnet and how to use it.
- Unfreezer - Unfreeze a TON contract that ran out of gas for rent.
Examples
If you are a web or bot developer, you may find the following repositories useful:
JavaScript
- Payment processing using JavaScript:
- Create a key pair and a wallet (tonweb)
- Accepting deposits to a single wallet (tonweb)
- Accepting deposits to multiple wallets (tonweb)
- Withdrawal process (tonweb)
- Payment channel example (tonweb)
- TON Bridge front-end (Vue.js, no comments)
- Web Wallet source code (tonweb, no comments)
- Bot for sales of dumplings
Python
- psylopank/pytonlib examples
- Transfer NFT & Jettons by creating a transfer message from the owner wallet
- Create mnemonic, init wallet class, create an external message to deploy the wallet
- Storefront bot with payments in TON
- Bot with own balance
Go
TON SDKs
Learn the complete list of The Open Network SDKs from the SDKs page:
Telegram WebApps (TWA)
- Telegram WebApps Documentation — full description on Telegram website.
TWA SDKs
- ton-defi-org/tonstarter-twa — template for new TWA interaction with TON
- twa-dev/boilerplate — another boilerplate for a new TWA.
- twa-dev/sdk — NPM package for TWA SDK
- twa-dev/Mark42 — Mark42 is a simple lightweight tree-shakable UI library for TWA
Community
Join a special Telegram Community Chat for TWA developers if you're interested.
Authorization SDK
To add login button to your website or web app use the following:
TON Connect
ton-connect is a unified authorization standard for every wallet in the TON ecosystem. It's supported and developed by Tonkeeper team with tech advisors from TON Community.
Documentation
- Introducing TON Connect
- TON Connect for Developers
- TON Connect 2.0 vs 1.0
- ton-connect/wallets-list — list of supported wallets (add yours!)
Usage examples
- Desktop standard wallet (C++ and Qt)
- Android standard wallet (Java)
- iOS standard wallet (Swift)
- TonLib CLI (C++)
APIs
- Go to API section to read more about APIs in TON