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

115/ 160
pub points
1.18k
downloads

We analyzed this package 2 days ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 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:

  • 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.

Passed check 5/5 points: Provide a valid README.md

Failed check 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.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

Failed check 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.

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

Failed check 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.

Weekly downloads

Display as:
By versions:
2
likes
115
points
1.18k
downloads

Publisher

unverified uploader

Weekly Downloads

A minimal library to validate Bitcoin mainnet and testnet addresses

Documentation

API reference

License

MIT (license)

Dependencies

base58check, bech32, dart_bech32, equatable

More

Packages that depend on btc_address_validate_swan