- 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.
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 | Yes1 | No |
First connection takes time for data synchronization | No | Yes2 |
- 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 | Chat | ||||
⭐ | @ton/core | ✅ | TypeScript | Code | Docs | |||||
⭐ | @ton/sandbox | ✅ | TypeScript | Code | ||||||
⭐ | ton4j | ✅ | ✅ | ✅ | Java | Code | Chat | |||
⭐ | tonutils-go | ✅ | ✅ | Go | Code | Chat | ||||
adnl | ✅ | TypeScript | Code | |||||||
tonutils | ✅ | TypeScript | Code | |||||||
tonlib-java | ✅ | Java | Code | |||||||
tonutils | ✅ | ✅ | ✅ | Python | Code | Docs | Chat | |||
tonlib | ✅ | C++ | Code | Docs | ||||||
ton-kotlin | ✅ | ✅ | Kotlin | Code | Docs | |||||
pytonlib | ✅ | Python | Code | |||||||
pytoniq | ✅ | Python | Code | Docs | Chat | |||||
pytoniq-core | ✅ | Python | Code | Docs | Chat | |||||
mytonlib | ✅ | ✅ | Python | Code | ||||||
tonpy | ✅ | Python | Code | Docs | ||||||
tvm_valuetypes | ✅ | Python | Code | |||||||
pytvm | ✅ | Python | Code | |||||||
tonlib-go | ✅ | Go | Code | |||||||
tongo | ✅ | ✅ | Go | Code | ||||||
ton | ✅ | PHP | Code | |||||||
interop | ✅ | PHP | Code | |||||||
tonlib-rs | ✅ | ✅ | ✅ | Rust | Code | |||||
ton-grpc | ✅ | Rust | Code | |||||||
tonsdk.net | ✅ | ✅ | C# | Code | Chat | |||||
tonlib.net | ✅ | ✅ | ✅ | C# | Code | |||||
ton | ✅ | Elixir | Code | |||||||
tonweb | ✅ | JavaScript | Code | |||||||
node-tonlib | ✅ | JavaScript | Code | |||||||
tontools | ✅ | ✅ | Python | Code | ||||||
swiftyton | ✅ | Swift | Code | |||||||
tonlib-xcframework | ✅ | Swift | Code |