solana_jsonrpc 0.0.1 copy "solana_jsonrpc: ^0.0.1" to clipboard
solana_jsonrpc: ^0.0.1 copied to clipboard

A HTTP and Websocket client for Solana's JSON RPC API methods.

1
likes
120/ 140
pub points
40%
popularity

We analyzed this package 39 hours ago, and awarded it 120 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/merigo-labs/solana-jsonrpc 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/merigo-labs/solana-jsonrpc/issues/new/choose was unreachable. Make sure that the website is reachable via HEAD requests.

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

Unable to access git repository: Failed to run remote show origin.

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

187 out of 210 API elements (89.0 %) have documentation comments.

Some symbols that are missing documentation: jsonrpc, jsonrpc.JsonRpcExceptionCode.invalidParams, jsonrpc.JsonRpcExceptionCode.methodNotFound, jsonrpc.JsonRpcExceptionCode.scanError, jsonrpc.JsonRpcExceptionCode.serverErrorBlockCleanedUp.

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:solana_jsonrpc/jsonrpc.dart that imports:
  • package:solana_jsonrpc/src/jsonrpc/websocket_client.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 55 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/models.dart:3:1

  ╷
3 │ /// Exports
  │ ^^^^^^^^^^^
  ╵

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

INFO: Dangling library doc comment.

lib/src/converters/json_to_bytes_codec.dart:1:1

  ╷
1 │ /// Imports
  │ ^^^^^^^^^^^
  ╵

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
http ^1.0.0 1.2.1 1.2.1
json_annotation ^4.8.0 4.9.0 4.9.0
solana_common ^0.1.0+1 0.1.0+1 0.1.0+1
synchronized ^3.0.1 3.1.0+1 3.1.0+1
web_socket_channel ^2.3.0 2.4.5 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
base_codecs - 1.0.1 1.0.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.12.0 1.15.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1

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

The constraint `^2.3.0` on web_socket_channel does not support the stable version `3.0.0`, that was published 8 days ago.

When web_socket_channel is 30 days old, this package will no longer be awarded points in this category.

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

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

Analyzed with Pana 0.22.3, Flutter 3.22.0, Dart 3.4.0.

Check the analysis log for details.