bitcoin_base_i 0.5.0 copy "bitcoin_base_i: ^0.5.0" to clipboard
bitcoin_base_i: ^0.5.0 copied to clipboard

A comprehensive Bitcoin library, adjusted to support Dart 2.

1
likes
130/ 160
pub points
55
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting bitcoin_base_i... Discovering libraries... Linking elements... Precaching local docs for 172442 elements... Initialized dartdoc with 325 libraries Generating docs for library bitcoin.dart from package:bitcoin_base_i/bitcoin.dart... Generating docs for library bitcoin_base_i.dart from package:bitcoin_base_i/bitcoin_base_i.dart... Documented 2 public libraries in 35.9 seconds ERR: warning: ambiguous reexport of bitcoin_crypto.doubleSh256, canonicalization candidates: (bitcoin, bitcoin) -> bitcoin (confidence 0.000) from bitcoin_crypto.doubleSh256: (file:///tmp/pana_EECABK/lib/src/crypto/crypto.dart:12:11) bitcoin: 0.01100 - (_Reason.longName (+0.01000), _Reason.locationPartStart (+0.001000)) bitcoin: 0.01100 - (_Reason.longName (+0.01000), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor bitcoin_crypto.doubleSh256} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [190 more lines]

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

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.

failed
Pass static analysis
30 / 50trigger folding of the section

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

WARNING: Unnecessary cast.

lib/src/hd_wallet/hd_wallet.dart:70:29

   ╷
70 │     final hash = hmacSHA512(utf8.encode(key) as Uint8List, seed);
   │                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hd_wallet/hd_wallet.dart

/tmp/pana_EECABK/lib/src/formating/bytes_num_formating.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest
convert ^3.1.1 3.1.2 3.1.2
pointycastle ^3.7.3 3.9.1 3.9.1
tuple ^2.0.2 2.0.2 2.0.2
typed_data ^1.3.2 1.4.0 1.4.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
js - 0.7.1 0.7.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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.17, Dart 3.6.0.

Check the analysis log for details.

1
likes
130
points
55
downloads

Publisher

verified publisherirulast.com

Weekly Downloads

A comprehensive Bitcoin library, adjusted to support Dart 2.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

convert, pointycastle, tuple, typed_data

More

Packages that depend on bitcoin_base_i