coinlib 2.2.0 coinlib: ^2.2.0 copied to clipboard
A straight-forward, modular library for Peercoin and other Satoshi-based UTXO blockchains
We analyzed this package 3 days ago, and awarded it 150 pub points (of a possible 160):
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
.
10/10 points: 20% or more of the public API has dartdoc comments
335 out of 677 API elements (49.5 %) have documentation comments.
Some symbols that are missing documentation: coinlib.Address.program
, coinlib.Base58Address.Base58Address.fromString
, coinlib.Base58Address.hash
, coinlib.Bech32.bech32CheckConst
, coinlib.Bech32.bech32mCheckConst
.
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
Package not compatible with runtime wasm
Because:
package:coinlib/coinlib.dart
that imports:package:coinlib/src/coinlib_base.dart
that imports:package:coinlib/src/taproot.dart
that imports:package:coinlib/src/scripts/script.dart
that imports:package:coinlib/src/scripts/operations.dart
that imports:package:coinlib/src/tx/inputs/input_signature.dart
that imports:package:coinlib/src/tx/inputs/input.dart
that imports:package:coinlib/src/tx/inputs/witness_input.dart
that imports:package:coinlib/src/tx/inputs/taproot_script_input.dart
that imports:package:coinlib/src/tx/inputs/raw_input.dart
that imports:package:coinlib/src/tx/transaction.dart
that imports:package:coinlib/src/tx/output.dart
that imports:package:coinlib/src/scripts/program.dart
that imports:package:coinlib/src/scripts/programs/multisig.dart
that imports:package:coinlib/src/crypto/ec_public_key.dart
that imports:package:coinlib/src/secp256k1/secp256k1.dart
that imports:package:coinlib/src/secp256k1/secp256k1_web.dart
that imports:package:wasm_interop/wasm_interop.dart
that imports:package:js/js_util.dart
that imports:dart:js_util
This package is not compatible with runtime wasm
, and will not be rewarded full 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
Found 73 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/scripts/programs/multisig.dart:69:7
╷
69 │ ) throw NoProgramMatch();
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/scripts/programs/multisig.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/scripts/programs/multisig.dart:85:7
╷
85 │ ) throw NoProgramMatch();
│ ^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/scripts/programs/multisig.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.17.1 |
1.19.1 | 1.19.1 |
crypto |
^3.0.2 |
3.0.6 | 3.0.6 |
dart_base_x |
^1.0.0 |
1.0.0 | 1.0.0 |
ffi |
^2.1.0 |
2.1.3 | 2.1.3 |
hex |
^0.2.0 |
0.2.0 | 0.2.0 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
pointycastle |
^3.7.3 |
3.9.1 | 3.9.1 |
wasm_interop |
^2.0.1 |
2.0.1 | 2.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
convert |
- | 3.1.2 | 3.1.2 |
js |
- | 0.6.7 | 0.7.1 |
meta |
- | 1.16.0 | 1.16.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
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.17
, Dart 3.6.0
.
Check the analysis log for details.