defindex_sdk 1.0.1 copy "defindex_sdk: ^1.0.1" to clipboard
defindex_sdk: ^1.0.1 copied to clipboard

This package provides a Dart interface to interact with the Defindex Smart Contract on Soroban in the Stellar network. It simplifies the process of sending transactions and querying contract state, ma [...]

115/ 160
pub points
46
downloads

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

Failed report section
Follow Dart file conventions
15 / 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

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.1").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

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

19 out of 41 API elements (46.3 %) have documentation comments.

Some symbols that are missing documentation: custom_soroban_server, custom_soroban_server.CustomSorobanServer, custom_soroban_server.CustomSorobanServer.CustomSorobanServer.new, custom_soroban_server.CustomSorobanServer.enableLogging, custom_soroban_server.CustomSorobanServer.sendRawTransaction.

Passed check 10/10 points: Package has an example

Failed 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:defindex_sdk/defindex_sdk.dart that imports:
  • package:defindex_sdk/custom_soroban_server.dart that imports:
  • package:stellar_flutter_sdk/stellar_flutter_sdk.dart that imports:
  • package:stellar_flutter_sdk/src/soroban/soroban_passkey.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_type.dart that imports:
  • package:stellar_flutter_sdk/src/key_pair.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_data_entry.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_account.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_other.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_transaction.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_asset.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_ledger.dart that imports:
  • package:stellar_flutter_sdk/src/util.dart that imports:
  • package:stellar_flutter_sdk/src/requests/request_builder.dart that imports:
  • package:stellar_flutter_sdk/src/stellar_sdk.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:defindex_sdk/defindex_sdk.dart that imports:
  • package:defindex_sdk/custom_soroban_server.dart that imports:
  • package:stellar_flutter_sdk/stellar_flutter_sdk.dart that imports:
  • package:stellar_flutter_sdk/src/soroban/soroban_passkey.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_type.dart that imports:
  • package:stellar_flutter_sdk/src/key_pair.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_data_entry.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_account.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_other.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_transaction.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_asset.dart that imports:
  • package:stellar_flutter_sdk/src/xdr/xdr_ledger.dart that imports:
  • package:stellar_flutter_sdk/src/util.dart that imports:
  • package:stellar_flutter_sdk/src/requests/request_builder.dart that imports:
  • package:stellar_flutter_sdk/src/stellar_sdk.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/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 6 issues. Showing the first 2:

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

lib/defindex_sdk.dart:231:73

    ╷
231 │         XdrSCVal xdrSCVal = XdrSCVal.fromBase64EncodedXdrString(xdrValue!);
    │                                                                         ^
    ╵

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

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

lib/defindex_sdk.dart:275:73

    ╷
275 │         XdrSCVal xdrSCVal = XdrSCVal.fromBase64EncodedXdrString(xdrValue!);
    │                                                                         ^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/defindex_sdk.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
dio ^5.4.3+1 5.9.0 5.9.0
stellar_flutter_sdk ^1.8.0 1.9.4 2.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
decimal - 3.2.4 3.2.4
dio_web_adapter - 2.1.1 2.1.1
fixnum - 1.1.1 1.1.1
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.1
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.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
toml - 0.16.0 0.16.0
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.2 0.3.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^1.8.0` on stellar_flutter_sdk does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions stellar_flutter_sdk 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.22.24, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
115
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides a Dart interface to interact with the Defindex Smart Contract on Soroban in the Stellar network. It simplifies the process of sending transactions and querying contract state, making it easier for developers to integrate Defindex into their Dart or Flutter applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, stellar_flutter_sdk

More

Packages that depend on defindex_sdk