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.

120/ 160
pub points
472
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 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 172808 elements... Initialized dartdoc with 326 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 41.2 seconds ERR: warning: ambiguous reexport of bitcoin_crypto.doubleSh256, canonicalization candidates: (bitcoin, bitcoin) -> bitcoin (confidence 0.000) from bitcoin_crypto.doubleSh256: (file:///tmp/pana_PNDTHC/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]

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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

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

INFO: Missing type annotation.

lib/src/crypto/ec/ec_encryption.dart:90:20

   ╷
90 │ bool isOrderScalar(x) {
   │                    ^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
convert ^3.1.1 3.1.2 3.1.2
pointycastle ^3.7.3 3.9.1 4.0.0
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 Notes
collection - 1.19.1 1.19.1
js - 0.7.2 0.7.2 Discontinued

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

The constraint `^3.7.3` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
472
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