algorand_dart
1.0.3, released 5 years ago by kotapp.io
Community SDK for interacting with the Algorand blockchain in Dart and Flutter.
What it does
Allows Dart and Flutter applications to connect to the Algorand blockchain, manage accounts, send payments, create and manage assets, and execute smart contracts. It provides support for Algod, Indexer, and KMD clients.
AI-written summary of version 1.0.3, 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 Algorand blockchain.
- You need to handle Algorand transactions, atomic transfers, and account management.
- You want to manage Algorand Standard Assets (ASAs) and stateless smart contracts.
Skip it when
- You are targeting a different blockchain network other than Algorand.
- You do not need blockchain integration in your application.
Strengths
- Comprehensive coverage of Algorand features including Algod, Indexer, and KMD.
- Supports transactions, atomic transfers, asset management, and smart contracts.
- Includes helpful transaction builders and helper functions.
Weaknesses
- It is an unofficial community SDK.
- Documentation outside of the README and code samples is sparse.
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- Yes (build_runner)
- Direct dependencies
- 13
Not documented
final account = await algorand.createAccount();
algorand.sendPayment(
account: account,
recipient: newAccount.address,
amount: Algo.toMicroAlgos(5),
);Works with
Packages commonly used together with algorand_dart: ones it builds on, ones built on it, and its own family.
- cryptoalgorand_dart depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- built_valuealgorand_dart depends on itImmutable value types with builders, enum classes and JSON serialization for Dart.
- json_annotationalgorand_dart depends on itProvides annotations for json_serializable to generate JSON (de)serialization code.
- built_collectionalgorand_dart depends on itImmutable collections based on SDK collections with builder pattern.
- convertalgorand_dart depends on itEncoders and decoders for converting between different data representations.
- equatablealgorand_dart depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- dioalgorand_dart depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- cryptographyalgorand_dart depends on itCross‑platform cryptographic algorithms for Dart and Flutter.