coinlib 2.1.0 copy "coinlib: ^2.1.0" to clipboard
coinlib: ^2.1.0 copied to clipboard

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

2
likes
150/ 160
pub points
52%
popularity

We analyzed this package 30 hours ago, and awarded it 150 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

332 out of 670 API elements (49.6 %) 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

failed
Platform support
20 / 20trigger folding of the section

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 69 issues. Showing the first 2:

/tmp/pana_GYHCPE/bin/build_linux.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_GYHCPE/bin/build_macos.dart doesn't match the Dart formatter.

To format your files run: dart format .

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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.15, Dart 3.5.4.

Check the analysis log for details.

2
likes
150
pub points
52%
popularity

Publisher

verified publisherpeercoin.net

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

Repository (GitHub)
View/report issues

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 coinlib