> ## Documentation Index
> Fetch the complete documentation index at: https://companyname-a7d5b98e-653-debug-page-doesnt-open.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs

There are several ways to interact with TON blockchain:

* **HTTP** libraries connect through HTTP JSON APIs to read and write to blockchain. HTTP servers mostly just relay these requests to ADNL network.
* **ADNL** libraries connect to [liteserver](/ecosystem/node/overview).

Here's a small comparison for these protocols:

|                                                      | HTTP            | ADNL            |
| ---------------------------------------------------- | --------------- | --------------- |
| Standardized                                         | No              | Yes             |
| Can connect from a web page                          | Yes             | No              |
| Has free third-party servers                         | Yes             | Yes             |
| Can be self-hosted                                   | Yes             | Yes             |
| Requires trusting third parties                      | Yes<sup>1</sup> | No              |
| First connection takes time for data synchronization | No              | Yes<sup>2</sup> |

<sup>1</sup> Some HTTP servers do provide proofs, but there is no out‑of‑the‑box library that verifies them.
<sup>2</sup> If proofs returned by liteservers are ignored, the first connection skips data synchronization; however, this requires trusting the liteserver.

SDKs might also provide some other functionality:

* **Core** libraries implement standard TON data structures (cell, slice), formats (address, mnemonic), cryptography etc.
* **Wrappers** provide high-level APIs for interacting with standard contracts (Wallet, Jetton, NFT).
* **Emulator** libraries provide an execution environment similar to real blockchain for testing purposes.

|   |                          | HTTP | ADNL | Core | Wrappers | Emulator | Language   |                                                                  |                                                                                    |                                    |
| - | ------------------------ | ---- | ---- | ---- | -------- | -------- | ---------- | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------- |
| ⭐ | `@ton/ton`               | ✅    |      |      | ✅        |          | TypeScript | [Code](https://github.com/ton-org/ton)                           |                                                                                    | [Chat](https://t.me/tondev_eng)    |
| ⭐ | `@ton/core`              |      |      | ✅    |          |          | TypeScript | [Code](https://github.com/ton-org/ton-core)                      | [Docs](https://ton-org.github.io/ton-core/)                                        |                                    |
| ⭐ | `@ton/sandbox`           |      |      |      |          | ✅        | TypeScript | [Code](https://github.com/ton-org/sandbox)                       |                                                                                    |                                    |
| ⭐ | `ton4j`                  | ✅    |      | ✅    |          | ✅        | Java       | [Code](https://github.com/neodix42/ton4j)                        |                                                                                    | [Chat](https://t.me/ton4java)      |
| ⭐ | `tonutils-go`            |      | ✅    |      | ✅        |          | Go         | [Code](https://github.com/xssnick/tonutils-go)                   |                                                                                    | [Chat](https://t.me/tonutils)      |
|   | `adnl`                   |      | ✅    |      |          |          | TypeScript | [Code](https://github.com/tonkite/adnl)                          |                                                                                    |                                    |
|   | `tonutils`               |      | ✅    |      |          |          | TypeScript | [Code](https://github.com/thekiba/tonutils)                      |                                                                                    |                                    |
|   | `tonlib-java`            |      | ✅    |      |          |          | Java       | [Code](https://github.com/ton-blockchain/tonlib-java)            |                                                                                    |                                    |
|   | `tonutils`               | ✅    | ✅    |      | ✅        |          | Python     | [Code](https://github.com/nessshon/tonutils)                     | [Docs](https://tonutils.ness.su/)                                                  | [Chat](https://t.me/pythonnton)    |
|   | `tonlib`                 |      | ✅    |      |          |          | C++        | [Code](https://github.com/ton-blockchain/ton/tree/master/tonlib) | [Docs](https://github.com/ton-blockchain/ton/tree/master/example/cpp)              |                                    |
|   | `ton-kotlin`             |      | ✅    | ✅    |          |          | Kotlin     | [Code](https://github.com/ton-community/ton-kotlin)              | [Docs](https://github.com/ton-blockchain/ton-kotlin/wiki/TON-Kotlin-documentation) |                                    |
|   | `pytonlib`               |      | ✅    |      |          |          | Python     | [Code](https://github.com/toncenter/pytonlib)                    |                                                                                    |                                    |
|   | `pytoniq`                |      | ✅    |      |          |          | Python     | [Code](https://github.com/yungwine/pytoniq)                      | [Docs](https://yungwine.gitbook.io/pytoniq-doc/)                                   | [Chat](https://t.me/pythonnton)    |
|   | `pytoniq-core`           |      |      | ✅    |          |          | Python     | [Code](https://github.com/yungwine/pytoniq-core)                 | [Docs](https://yungwine.gitbook.io/pytoniq-doc/)                                   | [Chat](https://t.me/pythonnton)    |
|   | `mytonlib`               |      | ✅    | ✅    |          |          | Python     | [Code](https://github.com/igroman787/mytonlib)                   |                                                                                    |                                    |
|   | `tonpy`                  |      |      | ✅    |          |          | Python     | [Code](https://github.com/disintar/tonpy)                        | [Docs](https://tonpy.dton.io/)                                                     |                                    |
|   | `tvm_valuetypes`         |      |      | ✅    |          |          | Python     | [Code](https://github.com/toncenter/tvm_valuetypes)              |                                                                                    |                                    |
|   | `pytvm`                  |      |      |      |          | ✅        | Python     | [Code](https://github.com/yungwine/pytvm)                        |                                                                                    |                                    |
|   | `tonlib-go`              |      | ✅    |      |          |          | Go         | [Code](https://github.com/ton-blockchain/tonlib-go)              |                                                                                    |                                    |
|   | `tongo`                  |      | ✅    | ✅    |          |          | Go         | [Code](https://github.com/tonkeeper/tongo)                       |                                                                                    |                                    |
|   | `ton`                    | ✅    |      |      |          |          | PHP        | [Code](https://github.com/olifanton/ton)                         |                                                                                    |                                    |
|   | `interop`                |      |      | ✅    |          |          | PHP        | [Code](https://github.com/olifanton/interop)                     |                                                                                    |                                    |
|   | `tonlib-rs`              |      | ✅    | ✅    | ✅        |          | Rust       | [Code](https://github.com/ston-fi/tonlib-rs)                     |                                                                                    |                                    |
|   | `ton-grpc`               |      | ✅    |      |          |          | Rust       | [Code](https://github.com/getgems-io/ton-grpc)                   |                                                                                    |                                    |
|   | `tonsdk.net`             |      | ✅    | ✅    |          |          | C#         | [Code](https://github.com/continuation-team/TonSdk.NET)          |                                                                                    | [Chat](https://t.me/cont_team/104) |
|   | `tonlib.net`             |      | ✅    | ✅    | ✅        |          | C#         | [Code](https://github.com/justdmitry/TonLib.NET)                 |                                                                                    |                                    |
|   | `ton`                    |      |      | ✅    |          |          | Elixir     | [Code](https://github.com/ayrat555/ton)                          |                                                                                    |                                    |
|   | `tonweb`                 | ✅    |      |      |          |          | JavaScript | [Code](https://github.com/toncenter/tonweb)                      |                                                                                    |                                    |
|   | ~~`node-tonlib`~~        |      | ✅    |      |          |          | JavaScript | [Code](https://github.com/labraburn/node-tonlib)                 |                                                                                    |                                    |
|   | ~~`tontools`~~           | ✅    | ✅    |      |          |          | Python     | [Code](https://github.com/yungwine/TonTools)                     |                                                                                    |                                    |
|   | ~~`swiftyton`~~          |      | ✅    |      |          |          | Swift      | [Code](https://github.com/labraburn/SwiftyTON)                   |                                                                                    |                                    |
|   | ~~`tonlib-xcframework`~~ |      | ✅    |      |          |          | Swift      | [Code](https://github.com/labraburn/tonlib-xcframework)          |                                                                                    |                                    |
