moca_chains 1.6.15
moca_chains: ^1.6.15 copied to clipboard
Chains package for Moca App. This library gives the developer common methods for interacting with chains.
We analyzed this package 15 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
510 out of 1460 API elements (34.9 %) have documentation comments.
Some symbols that are missing documentation: moca_chains.APIConfig, moca_chains.APIConfig.APIConfig.fromBlockCypher, moca_chains.APIConfig.APIConfig.mempool, moca_chains.APIConfig.APIConfig.new, moca_chains.APIConfig.APIConfig.selectApi.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ iOS
-
✓ Windows
-
✓ Linux
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:moca_chains/moca_chains.dartthat declares support for platforms:iOS,Windows,Linux.
Package does not support platform `macOS`.
Because:
package:moca_chains/moca_chains.dartthat declares support for platforms:iOS,Windows,Linux.
Package does not support platform `Web`.
Because:
package:moca_chains/moca_chains.dartthat declares support for platforms:iOS,Windows,Linux.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 42 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'String', which is not a subtype of 'Future'.
lib/src/chains/cardano/cardano.dart:91:12
╷
91 │ return await calculateTransactionFee().toString();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chains/cardano/cardano.dart
INFO: Empty catch block.
lib/src/chains/cosmos/maya.dart:84:19
╷
84 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/chains/cosmos/maya.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bech32 |
0.2.2 |
0.2.2 | 0.2.2 | |
bitcoin_base |
4.2.1 |
4.2.1 | 7.0.0 | |
blake2b |
0.2.3 |
0.2.3 | 0.2.3 | |
blockchain_utils |
2.1.2 |
2.1.2 | 5.4.0 | |
convert |
3.1.1 |
3.1.1 | 3.1.2 | |
cosmos_sdk |
0.0.10 |
0.0.10 | 3.0.0 | |
cryptography |
2.7.0 |
2.7.0 | 2.9.0 | |
dart_jsonwebtoken |
2.14.0 |
2.14.0 | 3.3.1 | |
dio |
5.4.3+1 |
5.4.3+1 | 5.9.0 | |
flutter_bitcoin |
1.0.1 |
1.0.1 | 1.0.1 | |
flutter_rust_bridge |
2.3.0 |
2.3.0 | 2.11.1 | |
http |
1.2.2 |
1.2.2 | 1.6.0 | |
on_chain |
3.0.1 |
3.0.1 | 7.1.0 | |
pointycastle |
3.9.1 |
3.9.1 | 4.0.0 | |
tuple |
^2.0.2 |
2.0.2 | 2.0.2 | |
uuid |
4.5.0 |
4.5.0 | 4.5.2 | |
web_socket_channel |
3.0.2 |
3.0.2 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
bip32 |
- | 2.0.0 | 2.0.0 | |
bip39 |
- | 1.0.6 | 1.0.6 | |
bs58check |
- | 1.0.2 | 1.0.2 | |
build_cli_annotations |
- | 2.1.1 | 2.1.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
hex |
- | 0.2.0 | 0.2.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 0.1.6 | 1.0.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 13 issues. Showing the first 2:
The constraint `4.2.1` on bitcoin_base does not support the stable version `4.3.0`.
Try running dart pub upgrade --major-versions bitcoin_base to update the constraint.
The constraint `2.1.2` on blockchain_utils does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions blockchain_utils 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.