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

Interfaces for interacting with Polkadot JSON RPC interface

6
likes
120/ 160
pub points
619
downloads

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

393 out of 993 API elements (39.6 %) have documentation comments.

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 37 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/extrinsic/signature_type.dart:29:7

   ╷
29 │       default:
   │       ^^^^^^^
   ╵

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

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
convert ^3.1.1 3.1.2 3.1.2
hashlib_codecs ^2.2.0 2.6.0 2.6.0
http ^1.1.0 1.2.2 1.2.2
pointycastle ^3.6.2 3.9.1 3.9.1
polkadart_keyring ^0.4.3 0.4.4 0.4.4
polkadart_scale_codec ^1.2.0 1.2.1 1.2.1
ss58 ^1.1.2 1.1.3 1.1.3
substrate_metadata ^1.2.0 1.2.3 1.2.3
web_socket_channel ^2.3.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
base_x - 2.0.1 2.0.1
bip39_mnemonic - 3.0.6 3.0.6
boolean_selector - 2.1.2 2.1.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
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.4 1.0.4
equatable - 2.0.7 2.0.7
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_curve25519 - 0.1.2 0.1.2
http_parser - 4.1.1 4.1.1
intl - 0.18.1 0.20.1
js - 0.6.7 0.7.1
json_schema2 - 2.0.4+9 5.1.3
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
merlin - 1.0.3 1.0.3
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
quiver - 3.2.2 3.2.2
rest_client - 2.4.0 2.4.0
ristretto255 - 1.0.2 1.0.2
secp256k1_ecdsa - 0.4.1 0.4.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sr25519 - 0.4.1 0.4.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
strobe - 1.0.4 1.0.4
substrate_bip39 - 0.4.1 0.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
unorm_dart - 0.2.0 0.3.0
uri - 1.0.0 1.0.0
utility - 1.0.3 1.0.3
uuid - 4.5.1 4.5.1
web - 0.5.1 1.1.0
yaml - 3.1.3 3.1.3
yaon - 1.1.4+10 1.1.4+10

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

The constraint `^2.3.0` on web_socket_channel does not support the stable version `3.0.0`.

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

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, Dart 3.6.0.

Check the analysis log for details.