polkadart 0.7.1 copy "polkadart: ^0.7.1" to clipboard
polkadart: ^0.7.1 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.

9
likes
140/ 160
pub points
1.07k
downloads

We analyzed this package 47 hours ago, and awarded it 140 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

396 out of 1048 API elements (37.8 %) have documentation comments.

Some symbols that are missing documentation: abstract_payload, abstract_payload.Payload, abstract_payload.Payload.Payload.new, abstract_payload.Payload.blockNumber, abstract_payload.Payload.customSignedExtensions.

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:polkadart/polkadart.dart that imports:
  • package:polkadart/primitives/primitives.dart that imports:
  • package:polkadart/substrate/substrate.dart that imports:
  • package:polkadart/substrate/hash/block_hash.dart that imports:
  • package:polkadart/substrate/hash/hash_base.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:polkadart/polkadart.dart that imports:
  • package:polkadart/primitives/primitives.dart that imports:
  • package:polkadart/substrate/substrate.dart that imports:
  • package:polkadart/substrate/hash/block_hash.dart that imports:
  • package:polkadart/substrate/hash/hash_base.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 28 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
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
convert ^3.1.1 3.1.2 3.1.2
hashlib_codecs ^2.2.0 2.6.0 3.0.1
http ^1.2.2 1.4.0 1.4.0
pointycastle ^3.6.2 3.9.1 4.0.0
polkadart_keyring ^0.7.0 0.7.0 0.7.0
polkadart_scale_codec ^1.5.0 1.5.0 1.5.0
ss58 ^1.3.0 1.3.1 1.3.1
substrate_metadata ^1.5.0 1.5.0 1.5.0
web_socket_client ^0.2.0 0.2.1 0.2.1
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
bip39_mnemonic - 3.0.9 3.0.9
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
cryptography - 2.7.0 2.7.0
ed25519_edwards - 0.3.1 0.3.1
edwards25519 - 1.0.5 1.0.5
equatable - 2.0.7 2.0.7
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_curve25519 - 0.1.2 0.1.2
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_schema - 5.2.1 5.2.1
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
merlin - 1.0.3 1.0.3
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.0 0.2.0
ristretto255 - 1.0.2 1.0.2
secp256k1_ecdsa - 0.6.1 0.6.1
source_span - 1.10.1 1.10.1
sr25519 - 0.7.0 0.7.0
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.0 0.7.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.6
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.1+1 0.3.1+1
uri - 1.0.0 1.0.0
utility - 1.0.3 1.0.3
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
web_socket_channel - 3.0.3 3.0.3

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

The constraint `^2.2.0` on hashlib_codecs does not support the stable version `3.0.0`, that was published 23 days ago.

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

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

The constraint `^3.6.2` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle 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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
9
likes
140
points
1.07k
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)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

convert, hashlib_codecs, http, pointycastle, polkadart_keyring, polkadart_scale_codec, ss58, substrate_metadata, web_socket_client

More

Packages that depend on polkadart