durt2 0.5.2 copy "durt2: ^0.5.2" to clipboard
durt2: ^0.5.2 copied to clipboard

Dart library for interacting with Duniter v2s blockchains. Provides wallet management, transaction signing, Squid GraphQL requests, and more

115/ 160
pub points
143
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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 ("0.5.2").

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: GPL-3.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

1123 out of 5317 API elements (21.1 %) have documentation comments.

Some symbols that are missing documentation: durt2, durt2.$ApiVersionCodec, durt2.$ApiVersionCodec.$ApiVersionCodec.new, durt2.$ApiVersionCodec.decode, durt2.$ChainType.$ChainType.new.

Passed check 10/10 points: Package has an example

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

Because:

  • package:durt2/durt2.dart that imports:
  • package:durt2/src/services/network_config_service.dart that imports:
  • package:durt2/src/services/bootstrap_node_service.dart that imports:
  • package:durt2/objectbox.g.dart that imports:
  • package:objectbox_flutter_libs/objectbox_flutter_libs.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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 2191 issues. Showing the first 2:

INFO: Dangling library doc comment.

lib/src/models/certification_filters.dart:1:1

  ╷
1 │ /// Server-side certification filter models for Durt2
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The variable name '$__typename' isn't a lowerCamelCase identifier.

lib/src/models/graphql/squid/get_account_history.graphql.dart:152:49

    ╷
152 │   Query$GetAccountHistory({this.transfers, this.$__typename = 'Query'});
    │                                                 ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/graphql/squid/get_account_history.graphql.dart

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

Partially passed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
base_codecs ^1.0.0 1.0.1 1.0.1
bip39_mnemonic ^4.0.1 4.0.1 4.0.1
convert ^3.1.1 3.1.2 3.1.2
flat_buffers ^23.5.26 23.5.26 25.9.23
flutter_secure_storage ^9.0.0 9.2.4 10.0.0
gql ^1.0.0 1.0.1 1.0.1
graphql ^5.1.0 5.2.3 5.2.3
http ^1.2.0 1.6.0 1.6.0
logger ^2.2.0 2.6.2 2.6.2
multiformats ^1.0.0 1.0.2 1.0.2
objectbox ^5.0.0 5.0.4 5.1.0
objectbox_flutter_libs ^5.0.0 5.0.4 5.1.0
pointycastle ^4.0.0 4.0.0 4.0.0
polkadart ^0.7.1 0.7.3 1.0.0
polkadart_keyring ^0.7.0 0.7.1 0.7.2
quiver ^3.2.2 3.2.2 3.2.2
ss58 ^1.1.2 1.3.1 2.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
async - 2.13.0 2.13.0
base_x - 2.0.1 2.0.1
boolean_selector - 2.1.2 2.1.2
buffer - 1.2.3 1.2.3
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
cross_file - 0.3.5+1 0.3.5+1
crypto - 3.0.7 3.0.7
cryptography - 2.9.0 2.9.0
dart_multihash - 1.0.1 1.0.1
ed25519_edwards - 0.3.1 0.3.1
edwards25519 - 1.0.5 1.0.5
equatable - 2.0.8 2.0.8
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_curve25519 - 0.1.2 0.1.2
flutter_secure_storage_linux - 1.2.3 3.0.0
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.1.0
flutter_secure_storage_windows - 3.1.2 4.1.0
gql_dedupe_link - 2.0.4-alpha+1715521079596 4.0.0
gql_error_link - 1.0.1 1.0.1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.2.0 1.2.0
gql_link - 1.1.0 1.1.0
gql_transform_link - 1.0.1 1.0.1
hashlib_codecs - 3.0.1 3.0.1
hive_ce - 2.16.0 2.16.0
http_parser - 4.1.2 4.1.2
isolate_channel - 0.2.2+1 0.2.2+1
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.9.0 4.9.0
json_schema - 5.2.2 5.2.2
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
merlin - 1.0.3 1.0.3
meta - 1.17.0 1.17.0
normalize - 0.9.1 0.10.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
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
plugin_platform_interface - 2.1.8 2.1.8
polkadart_scale_codec - 1.6.0 2.0.0
rfc_6901 - 0.2.1 0.2.1
ristretto255 - 1.0.2 1.0.2
rxdart - 0.28.0 0.28.0
secp256k1_ecdsa - 0.6.3 0.6.3
source_span - 1.10.1 1.10.1
sr25519 - 0.7.1 0.7.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
strobe - 1.0.5 1.0.5
substrate_bip39 - 0.7.1 0.7.2
substrate_metadata - 1.6.0 2.0.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.8 0.7.8
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.2 0.3.2
uri - 1.0.0 1.0.0
utility - 1.0.3 1.0.3
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
web_socket_client - 0.2.1 0.2.1
win32 - 5.15.0 5.15.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.

Found 4 issues. Showing the first 2:

The constraint `^23.5.26` on flat_buffers does not support the stable version `25.9.23`.

Try running dart pub upgrade --major-versions flat_buffers to update the constraint.

The constraint `^9.0.0` on flutter_secure_storage does not support the stable version `10.0.0`, that was published 25 days ago.

When flutter_secure_storage is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions flutter_secure_storage to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/src/services/squid/squid_client_manager.dart:377:69 - The named parameter 'queryRequestTimeout' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/src/services/squid/squid_sync_validator.dart:155:71 - The named parameter 'queryRequestTimeout' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

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:
1
likes
115
points
143
downloads

Publisher

verified publisheraxiom-team.fr

Weekly Downloads

Dart library for interacting with Duniter v2s blockchains. Provides wallet management, transaction signing, Squid GraphQL requests, and more

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

base_codecs, bip39_mnemonic, convert, flat_buffers, flutter, flutter_secure_storage, gql, graphql, http, logger, multiformats, objectbox, objectbox_flutter_libs, pointycastle, polkadart, polkadart_keyring, quiver, ss58

More

Packages that depend on durt2