ton_dart
3.0.0, released 4 days ago by an unverified publisher
TON SDK for Dart: wallets, Jettons, NFTs, BOC, TonConnect, and autogenerated API clients.
What it does
Provides a comprehensive Dart SDK for interacting with the TON blockchain. It supports building, signing, and sending transactions, managing versioned wallet contracts (v1-v5, highload), handling Jettons and NFTs, BOC serialization, and TonConnect sessions.
AI-written summary of version 3.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a Flutter or Dart application that interacts with the TON network.
- You need to manage TON wallet contracts, Jettons, or NFTs.
- You require TonConnect session integration and autogenerated TonAPI or TonCenter clients.
Skip it when
- Your project works with a blockchain other than TON (e.g., Ethereum, Bitcoin).
- You only need basic general cryptographic utilities without TON-specific primitives.
Strengths
- Comprehensive coverage of TON network features including wallets, Jettons, NFTs, and BOC serialization.
- Dual crypto engine backend supporting pure Dart and optional Rust for performance.
- Autogenerated API clients for TonAPI and TonCenter.
Weaknesses
- Breaking changes can be significant (e.g., moving all exception handling to `BuError` in version 3.0.0).
- Niche ecosystem focused purely on the TON blockchain.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 1
Optionally configure the Rust backend via blockchainUtils.setRustApi() if high-performance crypto routing is desired.
// No minimal snippet provided in README outside of general setup instructions.Alternatives
Packages that do the same job and could replace ton_dart.
Works with
Packages commonly used together with ton_dart: ones it builds on, ones built on it, and its own family.