> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ton.org/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.ton.org/feedback

```json
{
  "path": "/ecosystem/sdks",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# SDKs

There are several ways to interact with TON blockchain:

* **HTTP** libraries connect through HTTP JSON APIs to read and write to the blockchain. HTTP servers mostly relay these requests to the ADNL network.
* **ADNL** libraries connect to [liteserver](/ecosystem/nodes/overview#interacting-with-ton-nodes).

Here's a small comparison of 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. <br />
<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 a 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)      |
| ⭐ | `tonutils`                         | ✅    | ✅    | ✅    | ✅        |          | Python     | [Code](https://github.com/nessshon/tonutils)                     | [Docs](https://tonutils.ness.su/)                                                            | [Chat](https://t.me/pythonnton)    |
|   | `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)            |                                                                                              |                                    |
|   | `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)                        |                                                                                              |                                    |
|   | `tongo`                            |      | ✅    | ✅    | ✅        | ✅        | Go         | [Code](https://github.com/tonkeeper/tongo)                       |                                                                                              |                                    |
|   | `ton`                              | ✅    |      |      |          |          | PHP        | [Code](https://github.com/olifanton/ton)                         |                                                                                              |                                    |
|   | `interop`                          |      |      | ✅    |          |          | PHP        | [Code](https://github.com/olifanton/interop)                     |                                                                                              |                                    |
|   | `ton-rs`                           |      | ✅    | ✅    | ✅        | ✅        | Rust       | [Code](https://github.com/ston-fi/ton-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)                          |                                                                                              |                                    |
|   | `@tetherto/wdk-wallet-ton`         | ✅    |      |      | ✅        |          | JavaScript | [Code](https://github.com/tetherto/wdk-wallet-ton)               | [Docs](https://github.com/tetherto/wdk-docs/tree/main/sdk/wallet-modules/wallet-ton)         |                                    |
|   | `@tetherto/wdk-wallet-ton-gasless` | ✅    |      |      | ✅        |          | JavaScript | [Code](https://github.com/tetherto/wdk-wallet-ton-gasless)       | [Docs](https://github.com/tetherto/wdk-docs/tree/main/sdk/wallet-modules/wallet-ton-gasless) |                                    |
|   | ~~`tonlib-go`~~                    |      | ✅    |      |          |          | Go         | [Code](https://github.com/ton-blockchain/tonlib-go)              |                                                                                              |                                    |
|   | ~~`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)          |                                                                                              |                                    |
|   | ~~`tonlib-rs`~~                    |      | ✅    | ✅    | ✅        | ✅        | Rust       | [Code](https://github.com/ston-fi/ton-rs)                        |                                                                                              |                                    |

See also:

* [WDK Core](https://github.com/tetherto/wdk-core), JavaScript - Modular library from Tether, which supports wallet management and various swap, bridge, and lending services for many blockchains at once.
