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

A collection of utility functions for cryptocurrencies.

110/ 160
pub points
424
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/fxwalletOfficial/fx-wallet-packages/tree/main/packages/wallet_crypto_util was unreachable. Make sure that the website is reachable via HEAD requests.

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

4870 out of 8859 API elements (55.0 %) have documentation comments.

Some symbols that are missing documentation: config.ALEOChain.ALEOChain.new, config.ALGOChain.ALGOChain.new, config.ALPHChain.ALPHChain.new, config.APTOSChain.APTOSChain.new, config.ATOMChain.ATOMChain.new.

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: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/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: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/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 1178 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 'ED25519_OID' isn't a lowerCamelCase identifier.

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

   ╷
13 │ final ED25519_OID = Uint8List.fromList([
   │       ^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
base32 ^2.1.3 2.2.0 2.2.0
bech32m_i ^0.2.2 0.2.2 0.2.2
bip32 ^2.0.0 2.0.0 2.0.0
bip340 ^0.2.0 0.2.0 0.3.1
bip39 ^1.0.6 1.0.6 1.0.6
blockchain_utils ^1.4.1 1.6.0 5.2.0
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.15.0 1.15.0
crypto ^3.0.3 3.0.6 3.0.6
decimal ^3.1.0 3.2.4 3.2.4
ed25519_hd_key ^2.2.1 2.3.0 2.3.0
equatable ^2.0.5 2.0.7 2.0.7
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 4.0.0
protobuf ^4.2.0 4.2.0 4.2.0
secp256k1_ecdsa ^0.4.0 0.4.1 0.6.1
sr25519 ^0.1.0 0.1.1 0.7.1
ss58 ^1.1.2 1.3.1 1.3.1
substrate_bip39 ^0.2.0 0.2.0 0.7.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
base_x - 2.0.1 2.0.1
bip39_mnemonic - 3.0.10 4.0.1
boolean_selector - 2.1.2 2.1.2
cli_config - 0.2.0 0.2.0
clock - 1.1.2 1.1.2
cryptography - 2.7.0 2.7.0
edwards25519 - 1.0.5 1.0.5
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
intl - 0.20.2 0.20.2
js - 0.6.7 0.7.2 Discontinued
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
polkadart_scale_codec - 1.3.0 1.6.0
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
ristretto255 - 1.0.2 1.0.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
strobe - 1.0.5 1.0.5
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
yaml - 3.1.3 3.1.3

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

Found 6 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 `^1.4.1` on blockchain_utils does not support the stable version `2.0.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 20 errors:

  • UNDEFINED_METHOD - lib/src/forked_lib/xrpl_dart/src/keypair/xrpl_private_key.dart:141:10 - The method 'bytesEqual' isn't defined for the type 'XrpSeedUtils'.
  • UNDEFINED_METHOD - lib/src/forked_lib/xrpl_dart/src/keypair/xrpl_private_key.dart:278:11 - The method 'bytesEqual' isn't defined for the type 'XRPPrivateKey'.
  • UNDEFINED_METHOD - lib/src/forked_lib/xrpl_dart/src/keypair/xrpl_private_key.dart:280:18 - The method 'bytesEqual' isn't defined for the type 'XRPPrivateKey'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: