bitcoin_base 2.0.1 copy "bitcoin_base: ^2.0.1" to clipboard
bitcoin_base: ^2.0.1 copied to clipboard

A versatile library for Bitcoin, Dogecoin, Litecoin, Dash, and BCH. Supports P2PKH, P2SH, P2WPKH, P2WSH, Taproot, with advanced creation, signing, and spending capabilities.

13
likes
100/ 160
pub points
85%
popularity

We analyzed this package 2 days ago, and awarded it 100 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.

OK
Provide documentation
20 / 20trigger folding of the section

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

166 out of 493 API elements (33.7 %) have documentation comments.

Some symbols that are missing documentation: bitcoin_base.APIConfig, bitcoin_base.APIConfig.APIConfig, bitcoin_base.APIConfig.APIConfig.fromBlockCypher, bitcoin_base.APIConfig.APIConfig.mempool, bitcoin_base.APIConfig.APIConfig.selectApi.

10/10 points: Package has an example

failed
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

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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

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

Found 38 issues. Showing the first 2:

ERROR: The getter '$1' isn't defined for the type 'Tuple

lib/src/bitcoin/address/segwit_address.dart:49:29

   ╷
49 │     final version = convert.$1;
   │                             ^^
   ╵

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

ERROR: The getter '$2' isn't defined for the type 'Tuple

lib/src/bitcoin/address/segwit_address.dart:53:43

   ╷
53 │     return BytesUtils.toHexString(convert.$2);
   │                                           ^^
   ╵

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

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

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

Package Constraint Compatible Latest
blockchain_utils ^1.1.0 1.6.0 3.4.0

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

The constraint `^1.1.0` on blockchain_utils does not support the stable version `2.0.0`.

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

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.15, Dart 3.5.4.

Check the analysis log for details.

13
likes
100
pub points
85%
popularity

Publisher

unverified uploader

A versatile library for Bitcoin, Dogecoin, Litecoin, Dash, and BCH. Supports P2PKH, P2SH, P2WPKH, P2WSH, Taproot, with advanced creation, signing, and spending capabilities.

Repository (GitHub)
View/report issues

Topics

#bitcoin #dogecoin #litecoin #bitcoincash #dash

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

blockchain_utils

More

Packages that depend on bitcoin_base