bc_ur_dart 0.1.20 copy "bc_ur_dart: ^0.1.20" to clipboard
bc_ur_dart: ^0.1.20 copied to clipboard

A dart plugin for Uniform Resources(URs) decode/encode. URs are URI-encoded CBOR structures developed by Blockchain Commons.

130/ 160
pub points
213
downloads

We analyzed this package 3 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.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

126 out of 459 API elements (27.5 %) have documentation comments.

Some symbols that are missing documentation: bc_ur_dart, bc_ur_dart.BIP32.BIP32.fromBase58, bc_ur_dart.BIP32.BIP32.fromPrivateKey, bc_ur_dart.BIP32.BIP32.fromPublicKey, bc_ur_dart.BIP32.BIP32.fromSeed.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:bc_ur_dart/bc_ur_dart.dart that imports:
  • package:bc_ur_dart/src/models/btc/psbt_signature.dart that imports:
  • package:bc_ur_dart/src/models/btc/psbt_sign_request.dart that imports:
  • package:crypto_wallet_util/utils.dart that imports:
  • package:crypto_wallet_util/src/utils/mnemonic.dart that imports:
  • package:crypto_wallet_util/src/utils/utils.dart that imports:
  • package:crypto_wallet_util/src/utils/address.dart that imports:
  • package:crypto_wallet_util/crypto_utils.dart that imports:
  • package:crypto_wallet_util/transaction.dart that imports:
  • package:crypto_wallet_util/src/transaction/eth/lib/eth_lib.dart that imports:
  • package:crypto_wallet_util/src/transaction/eth/lib/eth_data_decoder.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:bc_ur_dart/bc_ur_dart.dart that imports:
  • package:bc_ur_dart/src/models/btc/psbt_signature.dart that imports:
  • package:bc_ur_dart/src/models/btc/psbt_sign_request.dart that imports:
  • package:crypto_wallet_util/utils.dart that imports:
  • package:crypto_wallet_util/src/utils/mnemonic.dart that imports:
  • package:crypto_wallet_util/src/utils/utils.dart that imports:
  • package:crypto_wallet_util/src/utils/address.dart that imports:
  • package:crypto_wallet_util/crypto_utils.dart that imports:
  • package:crypto_wallet_util/transaction.dart that imports:
  • package:crypto_wallet_util/src/transaction/eth/lib/eth_lib.dart that imports:
  • package:crypto_wallet_util/src/transaction/eth/lib/eth_data_decoder.dart that imports:
  • dart:io

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 18 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/utils/crc32.dart:6:26

  ╷
6 │   static int compute(var input, [int crc = 0]) {
  │                          ^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/utils/crc32.dart

/tmp/pana_ANGOEQ/lib/bc_ur_dart.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
bip32 ^2.0.0 2.0.0 2.0.0
cbor ^6.3.3 6.3.7 6.3.7
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.3 3.0.6 3.0.6
crypto_wallet_util ^1.1.13 1.1.14 1.1.14
uuid ^4.4.0 4.5.1 4.5.1
web3dart ^2.7.3 2.7.3 3.0.1
xrandom ^0.7.2 0.7.2 0.7.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
base32 - 2.2.0 2.2.0
base_x - 2.0.1 2.0.1
bech32m_i - 0.2.2 0.2.2
bip340 - 0.3.0 0.3.1
bip39 - 1.0.6 1.0.6
bip39_mnemonic - 3.0.10 4.0.1
blockchain_utils - 1.6.0 5.2.0
boolean_selector - 2.1.2 2.1.2
bs58check - 1.0.2 1.0.2
buffer - 1.2.3 1.2.3
characters - 1.4.1 1.4.1
cli_config - 0.2.0 0.2.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
coverage - 1.15.0 1.15.0
cryptography - 2.7.0 2.7.0
decimal - 3.2.4 3.2.4
ed25519_hd_key - 2.3.0 2.3.0
edwards25519 - 1.0.5 1.0.5
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.3
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.1.3 2.1.3
hex - 0.2.0 0.2.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
ieee754 - 1.0.3 1.0.3
intl - 0.20.2 0.20.2
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
json_rpc_2 - 3.0.3 4.0.0
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
merlin - 1.0.3 1.0.3
meta - 1.17.0 1.17.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pinenacl - 0.6.0 0.6.0
pointycastle - 3.9.1 4.0.0
polkadart_scale_codec - 1.3.0 1.5.1
protobuf - 4.2.0 4.2.0
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
ristretto255 - 1.0.2 1.0.2
sec - 1.1.0 1.1.1
secp256k1_ecdsa - 0.4.1 0.6.1
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sr25519 - 0.1.1 0.7.0
ss58 - 1.3.1 1.3.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
strobe - 1.0.5 1.0.5
substrate_bip39 - 0.2.0 0.7.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1
vm_service - 15.0.2 15.0.2
wallet - 0.0.13 0.0.18
web - 1.1.1 1.1.1
yaml - 3.1.3 3.1.3

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

The constraint `^2.7.3` on web3dart does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions web3dart 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.23, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
130
points
213
downloads

Publisher

verified publisherfxwallet.com

Weekly Downloads

A dart plugin for Uniform Resources(URs) decode/encode. URs are URI-encoded CBOR structures developed by Blockchain Commons.

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

bip32, cbor, convert, crypto, crypto_wallet_util, uuid, web3dart, xrandom

More

Packages that depend on bc_ur_dart