sr25519 0.7.1
sr25519: ^0.7.1 copied to clipboard
A sr25519 cryptography library in pure Dart
We analyzed this package 19 hours ago, and awarded it 40 pub points (of a possible 160):
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 50 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
.
0/10 points: 20% or more of the public API has dartdoc comments
Dependency resolution failed, unable to run dartdoc
.
10/10 points: Package has an example
0/20 points: Platform support detection failed
Could not determine supported platforms as package resolution failed.
Run dart pub get
for more information.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
- Running
dart pub outdated
failed with the following output:
Because polkadart_scale_codec >=1.6.0 depends on substrate_metadata ^1.6.0 which depends on polkadart ^0.7.2, polkadart_scale_codec >=1.6.0 requires polkadart ^0.7.2.
And because polkadart >=0.7.2 depends on polkadart_keyring ^0.7.1 which depends on secp256k1_ecdsa ^0.6.0, polkadart_scale_codec >=1.6.0 requires secp256k1_ecdsa ^0.6.0.
0/10 points: All of the package dependencies are supported in the latest version
- Could not run
dart pub outdated
:dart pub get
failed:
OUT:
Resolving dependencies...
ERR:
Because polkadart_scale_codec >=1.6.0 depends on substrate_metadata ^1.6.0 which depends on polkadart ^0.7.2, polkadart_scale_codec >=1.6.0 requires polkadart ^0.7.2.
And because polkadart >=0.7.2 depends on polkadart_keyring ^0.7.1 which depends on secp256k1_ecdsa ^0.6.0, polkadart_scale_codec >=1.6.0 requires secp256k1_ecdsa ^0.6.0.
And because every version of secp256k1_ecdsa depends on pointycastle ^3.7.4 and substrate_bip39 >=0.7.1 depends on pointycastle ^4.0.0, polkadart_scale_codec >=1.6.0 is incompatible with substrat[...]
So, because sr25519 depends on substrate_bip39 ^0.7.1 which depends on polkadart_scale_codec ^1.6.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on substrate_bip39: dart pub add substrate_bip39:^0.7.0
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
dart pub downgrade
failed with:
OUT:
Resolving dependencies...
ERR:
Because polkadart_scale_codec >=1.6.0 depends on substrate_metadata ^1.6.0 which depends on polkadart ^0.7.2, polkadart_scale_codec >=1.6.0 requires polkadart ^0.7.2.
And because polkadart >=0.7.2 depends on polkadart_keyring ^0.7.1 which depends on secp256k1_ecdsa ^0.6.0, polkadart_scale_codec >=1.6.0 requires secp256k1_ecdsa ^0.6.0.
And because every version of secp256k1_ecdsa depends on pointycastle ^3.7.4 and substrate_bip39 >=0.7.1 depends on pointycastle ^4.0.0, polkadart_scale_codec >=1.6.0 is incompatible with substrat[...]
So, because sr25519 depends on substrate_bip39 ^0.7.1 which depends on polkadart_scale_codec ^1.6.0, version solving failed.
You can try the following suggestion to make the pubspec resolve:
* Consider downgrading your constraint on substrate_bip39: dart pub add substrate_bip39:^0.1.1
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.22.23
, Dart 3.9.3
.
Check the analysis log for details.