sui 0.4.0 copy "sui: ^0.4.0" to clipboard
sui: ^0.4.0 copied to clipboard

A cross-platform SDK for Sui blockchain, supporting Mobile, Web and Desktop.

130/ 160
pub points
203
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

7862 out of 14086 API elements (55.8 %) have documentation comments.

Some symbols that are missing documentation: address, address.computeZkLoginAddressFromSeed, any.pb, any.pb.Any.Any.fromBuffer, any.pb.Any.Any.fromJson.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:sui/sui.dart that imports:
  • package:sui/zklogin/zklogin.dart that imports:
  • package:sui/zklogin/signature.dart that imports:
  • package:sui/cryptography/signature.dart that imports:
  • package:sui/signers/signer_with_provider.dart that imports:
  • package:sui/signers/txn_data_serializers/rpc_txn_data_serializer.dart that imports:
  • package:sui/rpc/client.dart that imports:
  • package:sui/http/http.dart that imports:
  • package:sui/http/http_native.dart that imports:
  • package:dio/io.dart that imports:
  • package:dio/src/dio/dio_for_native.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. 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 85 issues. Showing the first 2:

INFO: The variable name 'U8' isn't a lowerCamelCase identifier.

lib/bcs/sui_bcs.dart:11:16

   ╷
11 │   static final U8 = Bcs.u8();
   │                ^^
   ╵

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

INFO: The variable name 'U16' isn't a lowerCamelCase identifier.

lib/bcs/sui_bcs.dart:12:16

   ╷
12 │   static final U16 = Bcs.u16();
   │                ^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/bcs/sui_bcs.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
bcs ^0.1.2 0.1.2 0.2.0
bs58check ^1.0.2 1.0.2 1.0.2
crypto ^3.0.7 3.0.7 3.0.7
dio ^5.10.0 5.10.0 5.10.0
ed25519_edwards ^0.3.1 0.3.1 0.3.1
fixnum ^1.1.1 1.1.1 1.1.1
freezed_annotation ^3.1.0 3.1.0 3.1.0
hex ^0.2.0 0.2.0 0.2.0
json_annotation ^4.9.0 4.12.0 4.12.0
pointycastle ^4.0.0 4.0.0 4.0.0
protobuf ^4.1.0 4.2.0 6.0.0
web_socket_channel ^3.0.3 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
dio_web_adapter - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.19.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
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
vector_math - 2.2.0 2.4.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1

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

The constraint `^0.1.2` on bcs does not support the stable version `0.2.0`, that was published 0 days ago.

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

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

The constraint `^4.1.0` on protobuf does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions protobuf 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.23.14, Flutter 3.44.4, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
130
points
203
downloads

Documentation

API reference

Publisher

verified publishermofalabs.com

Weekly Downloads

A cross-platform SDK for Sui blockchain, supporting Mobile, Web and Desktop.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

bcs, bs58check, crypto, dio, ed25519_edwards, fixnum, flutter, freezed_annotation, hex, json_annotation, pointycastle, protobuf, web_socket_channel

More

Packages that depend on sui