bip48 0.0.4 copy "bip48: ^0.0.4" to clipboard
bip48: ^0.0.4 copied to clipboard

BIP-0048 "Multi-Script Hierarchy for Multi-Sig Wallets" for Dart.

0
likes
130/ 160
pub points
46
downloads

We analyzed this package 6 days ago, and awarded it 130 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: MIT.

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

11 out of 23 API elements (47.8 %) have documentation comments.

Some symbols that are missing documentation: bip48.Bip48Wallet.Bip48Wallet.new, bip48.Bip48Wallet.account, bip48.Bip48Wallet.canSign, bip48.Bip48Wallet.coinType, bip48.Bip48Wallet.scriptType.

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:bip48/bip48.dart that imports:
  • package:bip48/src/networks/bitcoin.dart that imports:
  • 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: Unnecessary cast.

lib/src/bip48.dart:76:23

   ╷
76 │       final acctKey = masterKey.derivePath(path) as HDPrivateKey;
   │                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/bip48.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
coinlib ^2.2.0 2.2.0 4.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_base_x - 1.0.0 1.0.0
ffi - 2.1.4 2.1.4
hex - 0.2.0 0.2.0
js - 0.6.7 0.7.2 Discontinued
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pointycastle - 3.9.1 4.0.0
typed_data - 1.4.0 1.4.0
wasm_interop - 2.0.1 2.0.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.2.0` on coinlib does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions coinlib 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:
0
likes
130
points
46
downloads

Publisher

verified publishercypherstack.com

Weekly Downloads

BIP-0048 "Multi-Script Hierarchy for Multi-Sig Wallets" for Dart.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

coinlib

More

Packages that depend on bip48