btc_address_validate_swan 1.2.0 copy "btc_address_validate_swan: ^1.2.0" to clipboard
btc_address_validate_swan: ^1.2.0 copied to clipboard

A minimal library to validate Bitcoin mainnet and testnet addresses

2
likes
110/ 160
pub points
72%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: btc_address_validate_swan,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: btc_address_validate_swan.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

5 out of 26 API elements (19.2 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: btc_address_validate, btc_address_validate.Address, btc_address_validate.Address.Address, btc_address_validate.Address.network, btc_address_validate.Address.segwit.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
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.5 2.0.5
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
meta - 1.15.0 1.15.0
typed_data - 1.3.2 1.3.2

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.dart:85:3 - Undefined class 'Decoded'.
  • UNDEFINED_FUNCTION - lib/src/btc_address_validate.dart:90:15 - The function 'Decoded' isn't defined.
  • UNDEFINED_FUNCTION - lib/src/btc_address_validate.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.22.6, Dart 3.4.3.

Check the analysis log for details.

2
likes
110
pub points
72%
popularity

Publisher

unverified uploader

A minimal library to validate Bitcoin mainnet and testnet addresses

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

base58check, bech32, dart_bech32, equatable

More

Packages that depend on btc_address_validate_swan