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.

0
likes
90/ 160
pub points
74
downloads

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

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/PlasmaLab/plasma-sdk-dart 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: plasma_sdk,
    • 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: MPL-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

423 out of 1158 API elements (36.5 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 55 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

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

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

Package Constraint Compatible Latest
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.0.1 4.0.1
hashlib ^1.9.0 1.21.1 1.21.1
meta ^1.9.1 1.16.0 1.16.0
plasma_protobuf ^0.1.0 0.1.5 0.1.5
pointycastle ^3.1.3 3.9.1 3.9.1
protobuf ^3.1.0 3.1.0 3.1.0
uuid ^4.2.1 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
google_identity_services_web - 0.3.3 0.3.3
googleapis_auth - 1.6.0 1.6.0
hashlib_codecs - 2.6.0 2.6.0
http - 1.2.2 1.2.2
http2 - 2.3.0 2.3.0
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
90
points
74
downloads

Publisher

verified publisherplasmalabs.org

Weekly Downloads

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

Homepage
Repository (GitHub)
View/report issues

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