komodo_defi_framework 0.3.1+2 copy "komodo_defi_framework: ^0.3.1+2" to clipboard
komodo_defi_framework: ^0.3.1+2 copied to clipboard

A Flutter plugin for the Komodo DeFi Framework, supporting both native (FFI) and web (WASM) platforms.

120/ 160
pub points
1
downloads

We analyzed this package 5 days ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

packages/komodo_defi_framework/pubspec.yaml from the repository URL mismatch: expected https://github.com/KomodoPlatform/komodo-defi-sdk-flutter but got https://github.com/GLEECBTC/komodo-defi-sdk-flutter.

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: komodo_defi_framework,
    • contains a version property, and,
    • does not contain a publish_to property.

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: MIT.

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

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

26 out of 133 API elements (19.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: kdf_plugin_web, kdf_plugin_web.KomodoDefiFrameworkWeb, kdf_plugin_web.KomodoDefiFrameworkWeb.KomodoDefiFrameworkWeb.new, kdf_plugin_web.KomodoDefiFrameworkWeb.registerWith, komodo_defi_framework.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed 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 does not support platform `Web`.

Because:

  • package:komodo_defi_framework/komodo_defi_framework.dart that imports:
  • package:komodo_defi_framework/src/config/kdf_startup_config.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:komodo_defi_framework/komodo_defi_framework.dart that imports:
  • package:komodo_defi_framework/src/services/seed_node_service.dart that imports:
  • package:komodo_defi_types/komodo_defi_types.dart that imports:
  • package:komodo_defi_types/src/types.dart that imports:
  • package:komodo_defi_types/src/withdrawal/withdrawal_types.dart that imports:
  • package:komodo_defi_rpc_methods/komodo_defi_rpc_methods.dart that imports:
  • package:komodo_defi_rpc_methods/src/util/util.dart that imports:
  • package:komodo_defi_rpc_methods/src/util/methods_index_generator.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 52 issues. Showing the first 2:

INFO: To-do comment doesn't follow the Flutter style.

lib/komodo_defi_framework.dart:45:3

   ╷
45 │   /// TODO: Test if this factory method works as expected.
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: To-do comment doesn't follow the Flutter style.

lib/komodo_defi_framework.dart:84:3

   ╷
84 │   //TODO! Figure out best way to handle overlap between startup and host
   │   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
ffi ^2.1.3 2.1.4 2.1.4
http ^1.4.0 1.6.0 1.6.0
komodo_coin_updates ^1.1.1 1.1.1 1.1.1
komodo_coins ^0.3.1+2 0.3.1+2 0.3.1+2
komodo_defi_types ^0.3.2+1 0.3.2+1 0.3.2+1
komodo_wallet_build_transformer ^0.4.0 0.4.0 0.4.0
logging ^1.3.0 1.3.0 1.3.0
mutex ^3.1.0 3.1.0 3.1.0
path ^1.9.1 1.9.1 1.9.1
path_provider ^2.1.4 2.1.5 2.1.5
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
web ^1.1.0 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 9.1.0 9.1.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
decimal - 3.2.4 3.2.4
equatable - 2.0.7 2.0.7
flutter_bloc - 9.1.1 9.1.1
freezed_annotation - 3.1.0 3.1.0
hive_ce - 2.16.0 2.16.0
hive_ce_flutter - 2.3.3 2.3.3
html - 0.15.6 0.15.6
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
isolate_channel - 0.2.2+1 0.2.2+1
json_annotation - 4.9.0 4.9.0
komodo_defi_rpc_methods - 0.3.1+1 0.3.1+1
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
provider - 6.1.5+1 6.1.5+1
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
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

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.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: