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

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

120/ 160
pub points
14
downloads

We analyzed this package 17 hours ago, and awarded it 120 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

Homepage URL doesn't exist.

At the time of the analysis https://www.stratalab.xyz was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/StrataLab/strata-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.

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

420 out of 1191 API elements (35.3 %) have documentation comments.

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

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

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:strata_sdk/strata_sdk.dart that imports:
  • package:strata_sdk/src/sdk/sdk.dart that imports:
  • package:strata_sdk/src/sdk/utils/grpc/channel_factory.dart that imports:
  • package:strata_sdk/src/sdk/utils/grpc/channel_factory_web.dart that imports:
  • package:grpc/grpc_web.dart that imports:
  • package:grpc/src/shared/api.dart that imports:
  • package:grpc/src/auth/auth.dart that imports:
  • package:googleapis_auth/googleapis_auth.dart that imports:
  • package:googleapis_auth/src/service_account_credentials.dart that imports:
  • package:googleapis_auth/src/auth_client.dart that imports:
  • package:googleapis_auth/auth_io.dart that imports:
  • package:googleapis_auth/src/impersonated_auth_client.dart that imports:
  • package:googleapis_auth/src/iam_signer.dart that imports:
  • package:google_cloud/general.dart that imports:
  • package:google_cloud/src/metadata.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:strata_sdk/strata_sdk.dart that imports:
  • package:strata_sdk/src/sdk/sdk.dart that imports:
  • package:strata_sdk/src/sdk/utils/grpc/channel_factory.dart that imports:
  • package:strata_sdk/src/sdk/utils/grpc/channel_factory_non_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

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

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 24 issues. Showing the first 2:

WARNING: The declaration '_sec256AsScala' isn't referenced.

lib/src/crypto/signing/extended_ed25519/extended_ed25519.dart:312:13

    ╷
312 │   Uint8List _sec256AsScala(BigInt p) {
    │             ^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/crypto/signing/extended_ed25519/extended_ed25519.dart

WARNING: This default clause is covered by the previous cases.

lib/src/sdk/validation/transaction_cost_calculator_interpreter.dart:105:7

    ╷
105 │       default:
    │       ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/sdk/validation/transaction_cost_calculator_interpreter.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
pointycastle ^3.1.3 3.9.1 4.0.0
protobuf ^3.1.0 3.1.0 6.0.0
strata_protobuf ^0.1.0 0.1.0 0.1.0
uuid ^4.2.1 4.5.3 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
clock - 1.1.2 1.1.2
crypto - 3.0.7 3.0.7
google_cloud - 0.3.0 0.3.0
google_identity_services_web - 0.3.3+1 0.3.3+1
googleapis_auth - 2.1.0 2.1.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
io - 1.0.5 1.0.5
js - 0.7.2 0.7.2 Discontinued
path - 1.9.1 1.9.1
shelf - 1.4.2 1.4.2
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.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
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.10, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
14
downloads

Publisher

verified publisherstratalab.xyz

Weekly Downloads

Strata'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, pointycastle, protobuf, strata_protobuf, uuid

More

Packages that depend on strata_sdk