web3 1.0.5 copy "web3: ^1.0.5" to clipboard
web3: ^1.0.5 copied to clipboard

web3dart wrapper.

9
likes
90/ 140
pub points
55%
popularity

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

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.

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

70 out of 136 API elements (51.5 %) have documentation comments.

Some symbols that are missing documentation: web3, web3.ABI, web3.ABI.ABI, web3.ABI.get, web3.BetterPrettyPrinter.bottomLeftCorner.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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:web3/web3.dart that imports:
  • package:web3/src/index.dart that imports:
  • package:kit/kit.dart that imports:
  • package:kit/src/index.dart that imports:
  • package:kit/src/log/log_printer.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 28 issues. Showing the first 2:

WARNING: The value of the field '_sdkFuse' isn't used.

lib/src/client.dart:5:7

  ╷
5 │   var _sdkFuse;
  │       ^^^^^^^^
  ╵

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

WARNING: The value of the field '_sdkWeb3' isn't used.

lib/src/client.dart:6:7

  ╷
6 │   var _sdkWeb3;
  │       ^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 20trigger 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 ^1.2.0 1.5.0 2.3.3
fixnum ^1.0.0 1.1.0 1.1.0
flutter flutter 0.0.0 0.0.0
hex ^0.2.0 0.2.0 0.2.0
http ^0.13.3 0.13.6 1.2.1
kit ^1.0.2 1.0.2 1.0.2
meta ^1.3.0 1.11.0 1.12.0
protobuf ^2.0.0 2.1.0 3.1.0
web3dart ^2.1.4 2.6.1 2.7.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bs58check - 1.0.2 1.0.2
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dio - 4.0.6 5.4.2+1
eip1559 - 0.6.1 0.6.2
eip55 - 1.0.2 1.0.2
http_parser - 4.0.2 4.0.2
intl - 0.17.0 0.19.0
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.2 3.0.2
logger - 1.4.0 2.2.0
material_color_utilities - 0.8.0 0.11.1
path - 1.9.0 1.9.0
petitparser - 5.4.0 6.0.2
pointycastle - 3.7.4 3.7.4
rational - 1.2.1 2.2.2
sec - 1.1.0 1.1.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.3.3
vector_math - 2.1.4 2.1.4
wallet - 0.0.13 0.0.13
webfeed - 0.7.0 0.7.0
xml - 5.4.1 6.5.0

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

Found 3 issues. Showing the first 2:

The constraint `^1.2.0` on decimal does not support the stable version `2.0.0`.

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

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

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

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

Analyzed with Pana 0.22.2, Flutter 3.19.2, Dart 3.3.0.

Check the analysis log for details.