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
140/ 160
pub points
823
downloads

We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

185 out of 209 API elements (88.5 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:solana_jsonrpc/jsonrpc.dart that imports:
  • package:solana_jsonrpc/src/jsonrpc/websocket_client.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
http ^1.0.0 1.4.0 1.4.0
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.4.0 3.4.0
web_socket_channel ^2.3.0 2.4.5 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
base_codecs - 1.0.1 1.0.1
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 0.5.1 1.1.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`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
140
points
823
downloads

Publisher

verified publishermerigolabs.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, json_annotation, solana_common, synchronized, web_socket_channel

More

Packages that depend on solana_jsonrpc