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.

6
likes
130/ 160
pub points
0%
popularity

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

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

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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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 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
30 / 40trigger 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.7.0
equatable ^2.0.0 2.0.7 2.0.7
logger ^1.0.0 1.4.0 2.5.0
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
http_parser - 4.1.1 4.1.1
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.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

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

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.

6
likes
130
pub points
0%
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