polybrainz_etherscan 1.0.0
polybrainz_etherscan: ^1.0.0 copied to clipboard
A production-ready Dart wrapper for the Etherscan API V2, supporting 60+ EVM chains with a single API key. Features include rate limiting, caching, circuit breaker pattern, and type-safe models.
We analyzed this package 4 hours ago, and awarded it 80 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan/issues was unreachable. Make sure that the website is reachable via HEAD requests.
Documentation URL doesn't exist.
At the time of the analysis https://github.com/mayankjanmejay/Polybrainz_Etherscan#readme was unreachable. Make sure that the website is reachable via HEAD requests.
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.
10/10 points: 20% or more of the public API has dartdoc comments
288 out of 342 API elements (84.2 %) have documentation comments.
Some symbols that are missing documentation: polybrainz_etherscan, polybrainz_etherscan.AbiFunction.AbiFunction.new, polybrainz_etherscan.AbiParameter.AbiParameter.new, polybrainz_etherscan.AccountAction.value, polybrainz_etherscan.AccountApiImpl.AccountApiImpl.new.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 300 issues. Showing the first 2:
ERROR: The getter 'address' isn't defined for the type 'AccountBalance'.
bin/test_api.dart:46:25
╷
46 │ print(' - ${b.address.hex}: ${b.balanceInEther} ETH');
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/test_api.dart
ERROR: The static method 'hash' can't be accessed through an instance.
bin/test_api.dart:64:32
╷
64 │ print(' - Hash: ${tx.hash.hex.substring(0, 20)}...');
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/test_api.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
dio |
^5.4.0 |
5.9.1 | 5.9.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
meta |
- | 1.18.1 | 1.18.1 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 285 errors:
UNDEFINED_GETTER-bin/test_api.dart:46:25- The getter 'address' isn't defined for the type 'AccountBalance'.INSTANCE_ACCESS_TO_STATIC_MEMBER-bin/test_api.dart:64:32- The static method 'hash' can't be accessed through an instance.UNDEFINED_GETTER-bin/test_api.dart:64:37- The getter 'hex' isn't defined for the type 'int Function(Object?, Object?, [Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?, Object?])'.
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.23.8, Dart 3.10.7.
Check the analysis log for details.