coral_xyz 1.0.0-beta.9 copy "coral_xyz: ^1.0.0-beta.9" to clipboard
coral_xyz: ^1.0.0-beta.9 copied to clipboard

A universal Dart client for Solana programs — Anchor, Quasar, and Pinocchio. Provides dynamic IDL-based program interactions, zero-copy account decoding, multi-framework discriminator support, and sea [...]

130/ 160
pub points
184
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

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

1302 out of 2037 API elements (63.9 %) have documentation comments.

Some symbols that are missing documentation: coral_xyz.AccountAlreadyInitialized, coral_xyz.AccountAlreadyInitialized.AccountAlreadyInitialized.new, coral_xyz.AccountBorrowFailed, coral_xyz.AccountBorrowFailed.AccountBorrowFailed.new, coral_xyz.AccountClient.AccountClient.new.

Passed check 10/10 points: Package has an example

Passed 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:coral_xyz/coral_xyz.dart that imports:
  • package:coral_xyz/src/provider/anchor_provider.dart that imports:
  • package:coral_xyz/src/types/transaction.dart that imports:
  • package:coral_xyz/src/types/keypair.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 19 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/error/program_error.dart:44:57

   ╷
44 │     if (_programErrorStack == null || _programErrorStack!.isEmpty) {
   │                                                         ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/error/program_error.dart

WARNING: The '!' will have no effect because the receiver can't be null.

lib/src/error/program_error.dart:47:30

   ╷
47 │     return _programErrorStack!.currentProgram;
   │                              ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/error/program_error.dart

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

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

Package Constraint Compatible Latest Notes
borsh_annotation ^0.3.2 0.3.2 0.3.2
convert ^3.1.1 3.1.2 3.1.2
crypto ^3.0.3 3.0.7 3.0.7
ffi ^2.2.0 2.2.0 2.2.0
logging ^1.3.0 1.3.0 1.3.0
meta ^1.16.0 1.18.2 1.18.2
path ^1.9.0 1.9.1 1.9.1
solana ^0.32.0 0.32.0+1 0.32.0+1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
bip39 - 1.0.6 1.0.6
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cryptography - 2.9.0 2.9.0
decimal - 3.2.4 3.2.4
ed25519_hd_key - 2.3.0 2.3.0
freezed_annotation - 3.1.0 3.1.0
hex - 0.2.0 0.2.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
json_annotation - 4.11.0 4.11.0
pinenacl - 0.6.0 0.6.0
pointycastle - 3.9.1 4.0.0
rational - 2.2.3 2.2.3
source_span - 1.10.2 1.10.2
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
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3

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

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.23.12, Dart 3.11.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
184
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A universal Dart client for Solana programs — Anchor, Quasar, and Pinocchio. Provides dynamic IDL-based program interactions, zero-copy account decoding, multi-framework discriminator support, and seamless integration with the Solana ecosystem.

Repository (GitHub)
View/report issues
Contributing

Topics

#solana #anchor #quasar #blockchain #web3

License

MIT (license)

Dependencies

borsh_annotation, convert, crypto, ffi, logging, meta, path, solana

More

Packages that depend on coral_xyz