etherscan_api 1.0.0-beta copy "etherscan_api: ^1.0.0-beta" to clipboard
etherscan_api: ^1.0.0-beta copied to clipboard

A dart library to access the etherscan.io apis.

5
likes
110/ 140
pub points
15%
popularity

We analyzed this package 21 hours ago, and awarded it 110 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.

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: etherscan_api,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository has a repository or homepage field "https://www.example.com" but cannot be parsed as a repository URL: Invalid repository URL: URL path is not normalized: `` != ./

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

38 out of 60 API elements (63.3 %) have documentation comments.

Some symbols that are missing documentation: etherscan_api, etherscan_api.DescribeEnum.str, etherscan_api.EthAccount, etherscan_api.EthBlock, etherscan_api.EthChainString.

10/10 points: Package has 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:etherscan_api/etherscan_api.dart that imports:
  • package:etherscan_api/src/core/apis/transaction.dart that imports:
  • package:etherscan_api/src/core/helper/get_request.dart that imports:
  • package:etherscan_api/src/core/utils/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 17 issues. Showing the first 2:

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

lib/src/core/apis/log.dart:35:13

   ╷
35 │     String? topic0_1_opr,
   │             ^^^^^^^^^^^^
   ╵

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

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

lib/src/core/apis/log.dart:37:13

   ╷
37 │     String? topic1_2_opr,
   │             ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/core/apis/log.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
dartz ^0.10.0-nullsafety.1 0.10.1 0.10.1
dio ^4.0.0-prev3 4.0.6 5.4.3+1
equatable ^2.0.0 2.0.5 2.0.5
logger ^1.0.0 1.4.0 2.2.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.18.0 1.18.0
http_parser - 4.0.2 4.0.2
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
source_span - 1.10.0 1.10.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

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

The constraint `^4.0.0-prev3` on dio does not support the stable version `5.0.0`.

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

The constraint `^1.0.0` on logger does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

5
likes
110
pub points
15%
popularity

Publisher

verified publishercodenka.com

A dart library to access the etherscan.io apis.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dartz, dio, equatable, logger

More

Packages that depend on etherscan_api