dart_bitcoin 0.0.0-dev copy "dart_bitcoin: ^0.0.0-dev" to clipboard
dart_bitcoin: ^0.0.0-dev copied to clipboard

A Bitcoin package for Flutter and Dart Apps. With this package, a transaction can be created and signed, and an address can be created.

0
likes
80/ 140
pub points
22%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.github.com/dart-bitcoin-lib/dart_bitcoin was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

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: dart_bitcoin,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

182 out of 194 API elements (93.8 %) have documentation comments.

Some symbols that are missing documentation: dart_bitcoin.Payment.m, dart_bitcoin.Payment.n, dart_bitcoin.PaymentArg.m, dart_bitcoin.PaymentArg.n, dart_bitcoin.Script.number.

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

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

Found 43 issues. Showing the first 2:

ERROR: The property 'script' can't be unconditionally accessed because the receiver can be 'null'.

lib/src/block/block.dart:135:40

    ╷
135 │         .where((out) => hex.encode(out.script.sublist(0, 6)) == '6a24aa21a9ed')
    │                                        ^^^^^^
    ╵

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

ERROR: The property 'script' can't be unconditionally accessed because the receiver can be 'null'.

lib/src/block/block.dart:136:27

    ╷
136 │         .map((out) => out.script.sublist(6, 38))
    │                           ^^^^^^
    ╵

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

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

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

Package Constraint Compatible Latest
convert ^3.0.1 3.1.1 3.1.1
dart_bech32 ^2.0.0 2.0.0 2.0.0
dart_bip32 ^2.0.2 2.0.5 2.0.5
dart_bip66 ^2.0.1 2.0.1 2.0.1
dart_bitcoin_ops ^1.0.0 1.0.2 1.0.2
dart_bitcoin_pushdata ^1.0.4 1.0.4 1.0.4
dart_bs58 ^1.0.1 1.0.1 1.0.1
dart_bs58check ^3.0.2 3.0.2 3.0.2
dart_buffer ^2.0.2 2.0.2 2.0.2
dart_ecpair ^1.0.0 1.0.2 1.0.2
dart_merkle_lib ^1.0.0 1.0.1 1.0.1
dart_minimaldata ^1.0.0 1.0.0 1.0.0
dart_varuint_bitcoin ^1.0.1 1.0.3 1.0.3
dart_wif ^2.1.0 2.1.1 2.1.1
pointycastle ^3.3.4 3.9.0 3.9.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
dart_base_x - 1.0.0 1.0.0
hex - 0.2.0 0.2.0
js - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

0
likes
80
pub points
22%
popularity

Publisher

unverified uploader

A Bitcoin package for Flutter and Dart Apps. With this package, a transaction can be created and signed, and an address can be created.

Homepage

Documentation

API reference

License

MIT (LICENSE)

Dependencies

convert, dart_bech32, dart_bip32, dart_bip66, dart_bitcoin_ops, dart_bitcoin_pushdata, dart_bs58, dart_bs58check, dart_buffer, dart_ecpair, dart_merkle_lib, dart_minimaldata, dart_varuint_bitcoin, dart_wif, pointycastle

More

Packages that depend on dart_bitcoin