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

A minimal library to validate Bitcoin mainnet and testnet addresses

2
likes
110/ 140
pub points
72%
popularity

We analyzed this package 9 days ago, and awarded it 110 pub points (of a possible 140):

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.

Some symbols that are missing documentation: btc_address_validate_swan, btc_address_validate_swan.Address, btc_address_validate_swan.Address.Address, btc_address_validate_swan.Address.network, btc_address_validate_swan.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 / 20trigger 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.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
meta - 1.14.0 1.14.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

Analyzed with Pana 0.22.3, Dart 3.3.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