bitcoin_base 0.5.0 bitcoin_base: ^0.5.0 copied to clipboard
A comprehensive Bitcoin library for creating/signing and spending P2PK, P2PKH, P2SH, P2WPKH, P2WSH, Taproot ...
We analyzed this package 2 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
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: bitcoin_base
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository URL mismatch: expected https://github.com/MohsenHaydari/bitcoin_base
but got https://github.com/mrtnetwork/bitcoin_base
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting bitcoin_base... Discovering libraries... Linking elements... Precaching local docs for 173217 elements... Initialized dartdoc with 323 libraries Generating docs for library bitcoin.dart from package:bitcoin_base/bitcoin.dart... Generating docs for library bitcoin_base.dart from package:bitcoin_base/bitcoin_base.dart... Documented 2 public libraries in 36.0 seconds ERR: warning: ambiguous reexport of bitcoin_crypto.doubleSh256, canonicalization candidates: (bitcoin, bitcoin) -> bitcoin (confidence 0.000) from bitcoin_crypto.doubleSh256: (file:///tmp/pana_PHRVAH/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 [181 more lines]
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/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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: Unnecessary cast.
lib/src/hd_wallet/hd_wallet.dart:69:29
╷
69 │ 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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 |
pointycastle |
^3.7.3 |
3.9.1 | 3.9.1 |
typed_data |
^1.3.2 |
1.4.0 | 1.4.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
js |
- | 0.7.1 | 0.7.1 |
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
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.