crypto_wallet_util 1.0.10 copy "crypto_wallet_util: ^1.0.10" to clipboard
crypto_wallet_util: ^1.0.10 copied to clipboard

A collection of utility functions for cryptocurrencies.

3
likes
120/ 160
pub points
60%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/fxwalletOfficial/crypto_utils was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: crypto_wallet_util,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

226 out of 831 API elements (27.2 %) have documentation comments.

Some symbols that are missing documentation: config.FILECOIN_TESTNET_REG, crypto_utils.TRANSACTION_TYPE, crypto_utils.TRANSACTION_TYPE_BUFFER, crypto_utils.TxData.isSigned, crypto_utils.TxData.message.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:crypto_wallet_util/config.dart that imports:
  • package:crypto_wallet_util/src/config/chain/chains.dart that imports:
  • package:crypto_wallet_util/src/config/chain/regular/icp.dart that imports:
  • package:crypto_wallet_util/crypto_utils.dart that imports:
  • package:crypto_wallet_util/src/wallet.dart that imports:
  • package:crypto_wallet_util/wallets.dart that imports:
  • package:crypto_wallet_util/src/wallets/icp.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:crypto_wallet_util/config.dart that imports:
  • package:crypto_wallet_util/src/config/chain/chains.dart that imports:
  • package:crypto_wallet_util/src/config/chain/regular/icp.dart that imports:
  • package:crypto_wallet_util/crypto_utils.dart that imports:
  • package:crypto_wallet_util/src/wallet.dart that imports:
  • package:crypto_wallet_util/wallets.dart that imports:
  • package:crypto_wallet_util/src/wallets/icp.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.

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

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

Found 740 issues. Showing the first 2:

INFO: The variable name 'SECP256K1_OID' isn't a lowerCamelCase identifier.

lib/src/config/constants/icp_constants.dart:5:7

  ╷
5 │ final SECP256K1_OID = Uint8List.fromList([
  │       ^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config/constants/icp_constants.dart

INFO: The variable name 'ENCODING_CONST' isn't a lowerCamelCase identifier.

lib/src/forked_lib/bitcoin_flutter/src/bech32/bech32.dart:162:9

    ╷
162 │   final ENCODING_CONST = encoding == 'bech32' ? 1 : 0x2bc830a3;
    │         ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/forked_lib/bitcoin_flutter/src/bech32/bech32.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
base32 ^2.1.3 2.1.3 2.1.3
bip32 ^2.0.0 2.0.0 2.0.0
bip340 ^0.2.0 0.2.0 0.3.0
bip39 ^1.0.6 1.0.6 1.0.6
bs58check ^1.0.2 1.0.2 1.0.2
buffer ^1.2.3 1.2.3 1.2.3
collection ^1.18.0 1.19.1 1.19.1
convert ^3.0.1 3.1.2 3.1.2
coverage ^1.7.2 1.10.0 1.10.0
crypto ^3.0.3 3.0.6 3.0.6
ed25519_hd_key ^2.2.1 2.3.0 2.3.0
equatable ^2.0.5 2.0.5 2.0.5
fixnum ^1.1.0 1.1.1 1.1.1
hex ^0.2.0 0.2.0 0.2.0
json_annotation ^4.9.0 4.9.0 4.9.0
pinenacl ^0.6.0 0.6.0 0.6.0
pointycastle ^3.4.0 3.9.1 3.9.1
protobuf ^2.0.0 2.1.0 3.1.0
secp256k1_ecdsa ^0.4.0 0.4.1 0.4.1
sr25519 ^0.1.0 0.1.1 0.4.1
ss58 ^1.1.2 1.1.3 1.1.3
substrate_bip39 ^0.2.0 0.2.0 0.4.1
xrp_dart ^3.0.1 3.0.3 4.0.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
base_x - 2.0.1 2.0.1
bip39_mnemonic - 3.0.6 3.0.6
blockchain_utils - 1.6.0 3.4.0
boolean_selector - 2.1.1 2.1.1
cryptography - 2.7.0 2.7.0
edwards25519 - 1.0.4 1.0.4
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
js - 0.6.7 0.7.1
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
merlin - 1.0.3 1.0.3
meta - 1.16.0 1.16.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
polkadart_scale_codec - 1.2.1 1.2.1
quiver - 3.2.2 3.2.2
ristretto255 - 1.0.2 1.0.2
source_maps - 0.10.12 0.10.12
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
strobe - 1.0.4 1.0.4
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.0
vm_service - 14.3.0 14.3.0

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

Found 5 issues. Showing the first 2:

The constraint `^0.2.0` on bip340 does not support the stable version `0.3.0`.

Try running dart pub upgrade --major-versions bip340 to update the constraint.

The constraint `^2.0.0` on protobuf does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions protobuf to update the constraint.

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.13, Dart 3.5.3.

Check the analysis log for details.