wallet_core 0.4.1 copy "wallet_core: ^0.4.1" to clipboard
wallet_core: ^0.4.1 copied to clipboard

discontinuedreplaced by: fuse_wallet_sdk

Fuse wallet core Dart library to interact with Ethereum based networks and APIs.

7
likes
140/ 160
pub points
29%
popularity

We analyzed this package 32 hours ago, and awarded it 140 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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

256 out of 433 API elements (59.1 %) have documentation comments.

Some symbols that are missing documentation: crypto, crypto.hexZeroPad, crypto.hexlify, variables, variables.Variables.

10/10 points: Package has 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:wallet_core/wallet_core.dart that imports:
  • package:wallet_core/src/studio_api.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:wallet_core/wallet_core.dart that imports:
  • package:wallet_core/src/studio_api.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 12 issues. Showing the first 2:

INFO: Uses 'await' on an instance of 'EthPrivateKey', which is not a subtype of 'Future'.

lib/src/web3.dart:68:20

   ╷
68 │     _credentials = await EthPrivateKey.fromHex(privateKey);
   │                    ^^^^^
   ╵

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

INFO: Uses 'await' on an instance of 'EthereumAddress', which is not a subtype of 'Future'.

lib/src/web3.dart:72:13

   ╷
72 │     return (await _credentials.address).toString();
   │             ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/web3.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
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
decimal ^2.1.0 2.3.3 3.0.2
dio ^4.0.6 4.0.6 5.7.0
gql ^0.13.1 0.13.1 1.0.0+1
graphql ^5.1.1 5.1.1 5.1.3
hex ^0.2.0 0.2.0 0.2.0
http ^0.13.3 0.13.6 1.2.2
path ^1.8.0 1.9.1 1.9.1
web3dart ^2.3.5 2.6.1 2.7.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
bs58check - 1.0.2 1.0.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
eip1559 - 0.6.1 0.6.2
eip55 - 1.0.2 1.0.2
gql_dedupe_link - 2.0.2 2.0.3+1
gql_error_link - 0.2.2 1.0.0+1
gql_exec - 0.4.0 1.0.0+1
gql_http_link - 0.4.2 1.1.0
gql_link - 0.4.2 1.0.0+1
gql_transform_link - 0.2.2 1.0.0
hive - 2.2.3 2.2.3
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.3 3.0.3
meta - 1.16.0 1.16.0
normalize - 0.6.0+1 0.9.1
pointycastle - 3.9.1 3.9.1
rational - 2.2.3 2.2.3
rxdart - 0.27.7 0.28.0
sec - 1.1.0 1.1.0
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
wallet - 0.0.13 0.0.13
web - 0.5.1 1.1.0
web_socket_channel - 2.4.5 3.0.1

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

Found 4 issues. Showing the first 2:

The constraint `^2.1.0` on decimal does not support the stable version `3.0.0`.

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

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions dio 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.15, Dart 3.5.4.

Check the analysis log for details.

7
likes
140
pub points
29%
popularity

Publisher

verified publisherfuse.io

Fuse wallet core Dart library to interact with Ethereum based networks and APIs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bip32, bip39, decimal, dio, gql, graphql, hex, http, path, web3dart

More

Packages that depend on wallet_core