algorand_dart 1.0.3 copy "algorand_dart: ^1.0.3" to clipboard
algorand_dart: ^1.0.3 copied to clipboard

Unofficial community SDK to interact with the Algorand network, for Dart & Flutter

34
likes
130/ 160
pub points
70%
popularity

We analyzed this package 15 hours ago, and awarded it 130 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.algorand.com was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/RootSoft/algorand-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

562 out of 1119 API elements (50.2 %) have documentation comments.

Some symbols that are missing documentation: algorand_dart, algorand_dart.Account, algorand_dart.Account.address, algorand_dart.Account.keyPair, algorand_dart.Account.publicKey.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:algorand_dart/algorand_dart.dart that imports:
  • package:algorand_dart/src/utils/utils.dart that imports:
  • package:algorand_dart/src/utils/fee_calculator.dart that imports:
  • package:algorand_dart/src/models/models.dart that imports:
  • package:algorand_dart/src/models/transactions/types/transaction_types.dart that imports:
  • package:algorand_dart/src/models/transactions/types/raw_transaction_model.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:algorand_dart/algorand_dart.dart that imports:
  • package:algorand_dart/src/utils/utils.dart that imports:
  • package:algorand_dart/src/utils/fee_calculator.dart that imports:
  • package:algorand_dart/src/models/models.dart that imports:
  • package:algorand_dart/src/models/transactions/types/transaction_types.dart that imports:
  • package:algorand_dart/src/models/transactions/types/raw_transaction_model.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 75 issues. Showing the first 2:

WARNING: Unused import: 'package:algorand_dart/src/utils/serializers/bigint_serializer.dart'.

lib/src/models/assets/asset_parameters_model.dart:1:8

  ╷
1 │ import 'package:algorand_dart/src/utils/serializers/bigint_serializer.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/assets/asset_parameters_model.dart

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: SignedTransaction.authAddress

lib/src/models/transactions/signed_transaction_model.dart:19:7

   ╷
19 │ class SignedTransaction extends Equatable implements MessagePackable {
   │       ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/transactions/signed_transaction_model.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
algorand_kmd ^1.0.0 1.0.0 1.0.0
base32 ^2.1.1 2.1.3 2.1.3
buffer ^1.1.1 1.2.3 1.2.3
built_collection >=5.0.0 <6.0.0 5.1.1 5.1.1
built_value >=8.0.4 <9.0.0 8.9.2 8.9.2
collection ^1.15.0 1.19.1 1.19.1
convert ^3.0.1 3.1.2 3.1.2
crypto ^3.0.1 3.0.6 3.0.6
cryptography ^2.0.2 2.7.0 2.7.0
dio ^4.0.1 4.0.6 5.7.0
equatable ^2.0.3 2.0.7 2.0.7
json_annotation ^4.3.0 4.9.0 4.9.0
msgpack_dart ^1.0.0 1.0.1 1.0.1
Transitive dependencies
Package Constraint Compatible Latest
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^4.0.1` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.