blockchain_utils 0.4.0
blockchain_utils: ^0.4.0 copied to clipboard
Simplify blockchain dev with Base58, Bech32, BIP39 mnemonics, Web3 storage, and BIP32 HD wallets in one package.
We analyzed this package 6 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
124 out of 199 API elements (62.3 %) have documentation comments.
Some symbols that are missing documentation: bech32.Bech32Result
, bech32.Bech32Result.Bech32Result.new
, bech32.Bech32Result.data
, bech32.Bech32Result.hrp
, bech32.Bech32Result.version
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: Unnecessary cast.
lib/hd_wallet/hd_wallet.dart:158:29
╷
158 │ final hash = hmacSHA512(utf8.encode(key) as Uint8List, seed);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/hd_wallet/hd_wallet.dart
INFO: Dangling library doc comment.
lib/base58/impl/bacse58_check.dart:1:1
╷
1 │ /// Decode a base58check-encoded string into a Uint8List payload.
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/base58/impl/bacse58_check.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
pointycastle |
^3.7.3 |
3.9.1 | 4.0.0 | |
typed_data |
^1.3.2 |
1.4.0 | 1.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.7.3` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle
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.20
, Dart 3.7.2
.
Check the analysis log for details.