dart_bitcoin 0.0.0-dev
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.
We analyzed this package 4 days ago, and awarded it 75 pub points (of a possible 160):
10/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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.0-dev").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
182 out of 209 API elements (87.1 %) have documentation comments.
Some symbols that are missing documentation: dart_bitcoin.Base58Check.Base58Check.new, dart_bitcoin.Bech32.Bech32.new, dart_bitcoin.Block.Block.new, dart_bitcoin.Network.Network.new, dart_bitcoin.P2Data.P2Data.new.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 70 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
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.0.1 |
3.1.2 | 3.1.2 | |
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.1 | 4.0.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
dart_base_x |
- | 1.0.0 | 1.0.0 | |
hex |
- | 0.2.0 | 0.2.0 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.3.4` on pointycastle does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions pointycastle to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 46 errors:
UNDEFINED_METHOD-lib/src/block/block.dart:116:22- The method 'fastRoot' isn't defined for the type 'Block'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/block/block.dart:135:40- The property 'script' can't be unconditionally accessed because the receiver can be 'null'.UNCHECKED_USE_OF_NULLABLE_VALUE-lib/src/block/block.dart:136:27- The property 'script' can't be unconditionally accessed because the receiver can be 'null'.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.9, Dart 3.11.0.
Check the analysis log for details.