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

Interfaces for interacting with Polkadot JSON RPC interface

4
likes
120/ 140
pub points
69%
popularity

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

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 994 API elements (39.5 %) 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

OK
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
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 36 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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
convert ^3.1.1 3.1.1 3.1.1
hashlib_codecs ^2.2.0 2.2.0 2.2.0
http ^1.1.0 1.2.1 1.2.1
pointycastle ^3.6.2 3.9.0 3.9.0
polkadart_keyring ^0.4.3 0.4.3 0.4.3
polkadart_scale_codec ^1.2.0 1.2.0 1.2.0
ss58 ^1.1.2 1.1.2 1.1.2
substrate_metadata ^1.2.0 1.2.0 1.2.0
web_socket_channel ^2.3.0 2.4.5 2.4.5
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
base_x - 2.0.1 2.0.1
bip39_mnemonic - 3.0.6 3.0.6
boolean_selector - 2.1.1 2.1.1
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
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.5 2.0.5
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
flutter_curve25519 - 0.1.2 0.1.2
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.19.0
js - 0.6.7 0.7.1
json_schema2 - 2.0.4+9 5.1.3
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
merlin - 1.0.3 1.0.3
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
quiver - 3.2.1 3.2.1
rest_client - 2.4.0 2.4.0
ristretto255 - 1.0.2 1.0.2
secp256k1_ecdsa - 0.4.0 0.4.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sr25519 - 0.4.0 0.4.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
strobe - 1.0.4 1.0.4
substrate_bip39 - 0.4.0 0.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.0 0.3.0
uri - 1.0.0 1.0.0
utility - 1.0.3 1.0.3
uuid - 4.4.0 4.4.0
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2
yaon - 1.1.4+8 1.1.4+8

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

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.