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.

24
likes
100/ 160
pub points
2.11k
downloads

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

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

166 out of 506 API elements (32.8 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Failed 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

Failed check 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 report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 45 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 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
blockchain_utils ^1.1.0 1.6.0 4.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.

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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
24
likes
100
points
2.11k
downloads

Publisher

unverified uploader

Weekly Downloads

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