defindex_sdk 1.0.1 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 [...]
We analyzed this package 8 days ago, and awarded it 130 pub points (of a possible 160):
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.
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: MIT
.
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
, custom_soroban_server.CustomSorobanServer.enableLogging
, custom_soroban_server.CustomSorobanServer.sendRawTransaction
.
10/10 points: Package has an example
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
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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
dio |
^5.4.3+1 |
5.7.0 | 5.7.0 |
flutter |
flutter |
0.0.0 | 0.0.0 |
stellar_flutter_sdk |
^1.8.0 |
1.9.2 | 1.9.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.0 | 1.19.1 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
decimal |
- | 3.1.0 | 3.1.0 |
dio_web_adapter |
- | 2.0.0 | 2.0.0 |
fixnum |
- | 1.1.1 | 1.1.1 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
intl |
- | 0.20.1 | 0.20.1 |
js |
- | 0.7.1 | 0.7.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 6.0.2 | 6.0.2 |
pinenacl |
- | 0.6.0 | 0.6.0 |
pointycastle |
- | 3.9.1 | 3.9.1 |
rational |
- | 2.2.3 | 2.2.3 |
sky_engine |
- | 0.0.0 | 0.0.0 |
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.0 | 0.3.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
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
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.