TON Connect for Developers
SDK LIst
This page contents the list of useful libraries for TON Connect.
TON Connect JS SDK
If possible, it is recommended to use the @tonconnect/ui-react kit for your dApps. Only switch to lower levels of the SDK or reimplement your version of the protocol if it is really necessary for your product.
The TON Connect repository contains following main packages:
- @tonconnect/ui-react - TON Connect User Interface (UI) for React applications
- @tonconnect/ui - TON Connect User Interface (UI)
- @tonconnect/sdk - TON Connect SDK
- @tonconnect/protocol - TON Connect protocol specifications
TON Connect UI React
TonConnect UI React is a React UI kit for TonConnect SDK. Use it to connect your app to TON wallets via TonConnect protocol in React apps.
- Example of a dApp with @tonconnect/ui-react: GitHub
- Example of deployed demo-dapp-with-react-ui: GitHub
TON Connect UI
TonConnect UI is a UI kit for TonConnect SDK. Use it to connect your app to TON wallets via TonConnect protocol. It allows you to integrate TonConnect to your app easier using our UI elements such as "connect wallet button", "select wallet dialog" and confirmation modals.
The TON Connect User Interface (UI) is a framework that allows developers to improve the user experience (UX) for application users. TON Connect can easily be integrated with apps using simple UI elements such as the "connect wallet button", "select wallet dialog" and confirmation modals. Here are three main examples of how TON Connect improves UX in apps:
Example of app functionality in the dApp browser: GitHub
Example of a backend partition of the dApp above: GitHub
Bridge server using Go: GitHub
This kit will simplify the implementation of TON Connect in apps built for TON Blockchain. Standard frontend frameworks are supported, as well as applications that don’t use predetermined frameworks
TON Connect SDK
The first of the three frameworks that helps developers integrate TON Connect into their applications is the TON Connect SDK. It is primarily used to connect apps to TON Wallets via the TON Connect protocol.
TON Connect protocol models
This package contains protocol requests, protocol responses, event models and encoding and decoding functions. It can be used to integrate TON Connect to wallet apps written in TypeScript. In order to integrate TON Connect into a dApp the @tonconnect/sdk should be used.
TON Connect Python
Python SDK for TON Connect 2.0
Analogue of the @tonconnect/sdk library.
Use it to connect your app to TON wallets via TonConnect protocol.
pip3 install pytonconnect
TON Connect Dart
Dart SDK for TON Connect 2.0
Analogue of the @tonconnect/sdk library.
Use it to connect your app to TON wallets via TonConnect protocol.
$ dart pub add darttonconnect
General Questions and Concerns
If any of our developers or community members encounter any additional issues during the implementation of TON Connect 2.0, please contact the Tonkeeper developer channel.
If you experience any additional issues, or would like to present a proposal on how to improve TON Connect 2.0, please contact us directly through the appropriate GitHub directory.