vkaxlib 2.0.1 copy "vkaxlib: ^2.0.1" to clipboard
vkaxlib: ^2.0.1 copied to clipboard

A straight-forward, modular library for Vkax and other Satoshi-based UTXO blockchains

1
likes
140/ 160
pub points
25
downloads

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

331 out of 699 API elements (47.4 %) have documentation comments.

Some symbols that are missing documentation: vkaxlib.Address.program, vkaxlib.BadAmountString.BadAmountString.new, vkaxlib.Base58Address.Base58Address.fromString, vkaxlib.Base58Address.hash, vkaxlib.Bech32.bech32CheckConst.

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

Package not compatible with runtime wasm

Because:

  • package:vkaxlib/vkaxlib.dart that imports:
  • package:vkaxlib/src/vkaxlib_base.dart that imports:
  • package:vkaxlib/src/taproot.dart that imports:
  • package:vkaxlib/src/scripts/script.dart that imports:
  • package:vkaxlib/src/scripts/operations.dart that imports:
  • package:vkaxlib/src/tx/inputs/input_signature.dart that imports:
  • package:vkaxlib/src/tx/inputs/input.dart that imports:
  • package:vkaxlib/src/tx/inputs/witness_input.dart that imports:
  • package:vkaxlib/src/tx/inputs/taproot_script_input.dart that imports:
  • package:vkaxlib/src/tx/inputs/raw_input.dart that imports:
  • package:vkaxlib/src/tx/transaction.dart that imports:
  • package:vkaxlib/src/tx/output.dart that imports:
  • package:vkaxlib/src/scripts/program.dart that imports:
  • package:vkaxlib/src/scripts/programs/multisig.dart that imports:
  • package:vkaxlib/src/crypto/ec_public_key.dart that imports:
  • package:vkaxlib/src/secp256k1/secp256k1.dart that imports:
  • package:vkaxlib/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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 72 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

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
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.4 2.1.4
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 4.0.0
wasm_interop ^2.0.1 2.0.1 2.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
convert - 3.1.2 3.1.2
js - 0.6.7 0.7.2 Discontinued
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.

The constraint `^3.7.3` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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:
1
likes
140
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

A straight-forward, modular library for Vkax and other Satoshi-based UTXO blockchains

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, crypto, dart_base_x, ffi, hex, path, pointycastle, wasm_interop

More

Packages that depend on vkaxlib