polkadart 1.1.0 copy "polkadart: ^1.1.0" to clipboard
polkadart: ^1.1.0 copied to clipboard

Polkadart is a set of packages that provides a high-level interface for interacting with Polkadot, you can query storage, submit extrinsics, make RPC calls and much more.

130/ 160
pub points
2.49k
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-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

1416 out of 2528 API elements (56.0 %) have documentation comments.

Some symbols that are missing documentation: apis, apis.AuthorApi.AuthorApi.new, apis.ChainApi.ChainApi.new, apis.ChainDataFetcher.ChainDataFetcher.new, apis.ChainDataFetcher.provider.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional 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 60 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/apis/author.dart:1:1

  ╷
1 │ part of apis;
  │ ^^^^^^^^^^^^^
  ╵

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

INFO: The part-of directive uses a library name.

lib/apis/chain.dart:1:1

  ╷
1 │ part of apis;
  │ ^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
convert ^3.1.1 3.1.2 3.1.2
equatable ^2.0.8 2.0.8 2.0.8
http ^1.4.0 1.6.0 1.6.0
json_annotation ^4.10.0 4.10.0 4.10.0
json_serializable ^6.11.4 6.12.0 6.12.0
polkadart_scale_codec ^2.0.0 2.0.1 2.0.1
ss58 ^2.0.0 2.0.1 2.0.1
substrate_metadata ^2.0.0 2.1.0 2.1.0
web_socket_client ^0.2.1 0.2.1 0.2.1
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 94.0.0 94.0.0
analyzer - 10.0.2 10.0.2
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
base_x - 2.0.1 2.0.1
boolean_selector - 2.1.2 2.1.2
build - 4.0.4 4.0.4
build_config - 1.2.0 1.2.0
checked_yaml - 2.0.4 2.0.4
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
cryptography - 2.9.0 2.9.0
dart_style - 3.1.5 3.1.5
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hashlib_codecs - 3.0.1 3.0.1
http_parser - 4.1.2 4.1.2
json_schema - 5.2.2 5.2.2
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
meta - 1.18.1 1.18.1
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pointycastle - 4.0.0 4.0.0
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
source_gen - 4.2.0 4.2.0
source_helper - 1.3.10 1.3.10
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
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
watcher - 1.2.1 1.2.1
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3
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

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

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_CLASS - lib/extrinsic_builder/extension_builder.dart:31:52 - Undefined class 'TransactionExtensionMetadata'.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/extrinsic_builder/extension_builder.dart:47:20 - The name 'ExtrinsicMetadataV16' isn't defined, so it can't be used in an 'is' expression.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/extrinsic_builder/extension_builder.dart:71:20 - The name 'ExtrinsicMetadataV16' isn't defined, so it can't be used in an 'is' expression.

Run dart pub downgrade and then dart 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.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
9
likes
130
points
2.49k
downloads

Publisher

verified publisherpolkadart.dev

Weekly Downloads

Polkadart is a set of packages that provides a high-level interface for interacting with Polkadot, you can query storage, submit extrinsics, make RPC calls and much more.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

convert, equatable, http, json_annotation, json_serializable, polkadart_scale_codec, ss58, substrate_metadata, web_socket_client

More

Packages that depend on polkadart