plasma_sdk 0.0.0 copy "plasma_sdk: ^0.0.0" to clipboard
plasma_sdk: ^0.0.0 copied to clipboard

Plasma's SDK implemented in Dart for building the next blockchain for good.

90/ 160
pub points
4
downloads

We analyzed this package 2 hours ago, and awarded it 90 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/PlasmaLab/plasma-sdk-dart 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: MPL-2.0.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

424 out of 1199 API elements (35.4 %) have documentation comments.

Some symbols that are missing documentation: plasma_sdk.AddressCodecs, plasma_sdk.AddressCodecs.AddressCodecs.new, plasma_sdk.AggregationOpsDefinition, plasma_sdk.AggregationOpsDefinition.AggregationOpsDefinition.new, plasma_sdk.AndTemplate.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:plasma_sdk/plasma_sdk.dart that imports:
  • package:plasma_sdk/src/sdk/sdk.dart that imports:
  • package:plasma_sdk/src/sdk/utils/grpc/channel_factory.dart that imports:
  • package:plasma_sdk/src/sdk/utils/grpc/channel_factory_web.dart that imports:
  • package:grpc/grpc_connection_interface.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 77 issues. Showing the first 2:

ERROR: The name 'GroupPolicy' is defined in the libraries 'package:plasma_protobuf/src/sdk/models/policies_statements/policy_statement.pb.dart (via package:plasma_protobuf/plasma_protobuf.dart)' and 'package:plasma_sdk/src/sdk/syntax/group_policy_syntax.dart (via package:plasma_sdk/src/sdk/syntax/syntax.dart)'.

lib/src/sdk/builders/transaction_builder_api.dart:206:5

    ╷
206 │     GroupPolicy groupPolicy,
    │     ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/sdk/builders/transaction_builder_api.dart

ERROR: The name 'SeriesPolicy' is defined in the libraries 'package:plasma_protobuf/src/sdk/models/policies_statements/policy_statement.pb.dart (via package:plasma_protobuf/plasma_protobuf.dart)' and 'package:plasma_sdk/src/sdk/syntax/series_policy_syntax.dart (via package:plasma_sdk/src/sdk/syntax/syntax.dart)'.

lib/src/sdk/builders/transaction_builder_api.dart:238:5

    ╷
238 │     SeriesPolicy seriesPolicy,
    │     ^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/sdk/builders/transaction_builder_api.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
collection ^1.17.2 1.19.1 1.19.1
convert ^3.1.1 3.1.2 3.1.2
fast_base58 ^0.2.1 0.2.1 0.2.1
fixnum ^1.1.0 1.1.1 1.1.1
grpc ^4.0.1 4.1.0 5.1.0
hashlib ^1.9.0 1.24.0 2.3.0
meta ^1.9.1 1.18.1 1.18.1
plasma_protobuf ^0.1.0 0.1.5 0.1.5
pointycastle ^3.1.3 3.9.1 4.0.0
protobuf ^3.1.0 3.1.0 6.0.0
uuid ^4.2.1 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
crypto - 3.0.7 3.0.7
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.0.0 2.0.0
hashlib_codecs - 2.6.0 3.0.1
http - 1.6.0 1.6.0
http2 - 2.3.1 2.3.1
http_parser - 4.1.2 4.1.2
js - 0.7.2 0.7.2 Discontinued
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
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.

Found 4 issues. Showing the first 2:

The constraint `^4.0.1` on grpc does not support the stable version `5.0.0`.

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

The constraint `^1.9.0` on hashlib does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions hashlib 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.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
90
points
4
downloads

Publisher

verified publisherplasmalabs.org

Weekly Downloads

Plasma's SDK implemented in Dart for building the next blockchain for good.

Homepage
Repository (GitHub)

Documentation

API reference

License

MPL-2.0 (license)

Dependencies

collection, convert, fast_base58, fixnum, grpc, hashlib, meta, plasma_protobuf, pointycastle, protobuf, uuid

More

Packages that depend on plasma_sdk