btc_address_validate_swan 1.2.1
btc_address_validate_swan: ^1.2.1 copied to clipboard
A minimal library to validate Bitcoin mainnet and testnet addresses
We analyzed this package 2 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: btc_address_validate_swan.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: btc_address_validate_swan, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.2.1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
5 out of 24 API elements (20.8 %) have documentation comments.
Some symbols that are missing documentation: btc_address_validate_swan, btc_address_validate_swan.Address, btc_address_validate_swan.Address.Address.new, btc_address_validate_swan.Address.network, btc_address_validate_swan.Address.segwit.
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.cn/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
base58check |
^2.0.0 |
2.0.0 | 2.0.0 | |
bech32 |
^0.2.1 |
0.2.2 | 0.2.2 | |
dart_bech32 |
^1.0.0 |
1.0.1 | 2.0.0 | |
equatable |
^2.0.3 |
2.0.8 | 2.0.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
meta |
- | 1.17.0 | 1.17.0 | |
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 `^1.0.0` on dart_bech32 does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions dart_bech32 to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_CLASS-lib/src/btc_address_validate_swan.dart:85:3- Undefined class 'Decoded'.UNDEFINED_FUNCTION-lib/src/btc_address_validate_swan.dart:90:15- The function 'Decoded' isn't defined.UNDEFINED_FUNCTION-lib/src/btc_address_validate_swan.dart:97:30- The function 'Encoded' isn't defined.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.5, Dart 3.10.7.
Check the analysis log for details.