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 4 hours 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
508 out of 1458 API elements (34.8 %) 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.dart
that declares support for platforms:iOS
,Windows
,Linux
.
Package does not support platform `macOS`.
Because:
package:moca_chains/moca_chains.dart
that declares support for platforms:iOS
,Windows
,Linux
.
Package does not support platform `Web`.
Because:
package:moca_chains/moca_chains.dart
that declares support for platforms:iOS
,Windows
,Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:moca_chains/moca_chains.dart
that imports:package:moca_chains/src/swaps/index.dart
that imports:package:moca_chains/src/swaps/swapper.dart
that imports:package:dio/dio.dart
that imports:package:dio/src/transformers/sync_transformer.dart
that imports:package:dio/src/utils.dart
that imports:package:dio/src/parameter.dart
that imports:package:dio/src/options.dart
that imports:package:dio/src/transformer.dart
that imports:package:dio/src/adapter.dart
that imports:package:dio/src/adapters/io_adapter.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 30 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 | 6.6.0 | |
blake2b |
0.2.3 |
0.2.3 | 0.2.3 | |
blockchain_utils |
2.1.2 |
2.1.2 | 5.1.0 | |
convert |
3.1.1 |
3.1.1 | 3.1.2 | |
cosmos_sdk |
0.0.10 |
0.0.10 | 2.8.0 | |
cryptography |
2.7.0 |
2.7.0 | 2.7.0 | |
dart_jsonwebtoken |
2.14.0 |
2.14.0 | 3.2.0 | |
dio |
5.4.3+1 |
5.4.3+1 | 5.8.0+1 | |
flutter_bitcoin |
1.0.1 |
1.0.1 | 1.0.1 | |
flutter_rust_bridge |
2.3.0 |
2.3.0 | 2.11.0 | |
http |
1.2.2 |
1.2.2 | 1.4.0 | |
on_chain |
3.0.1 |
3.0.1 | 6.8.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.1 | |
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.0 | 2.1.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
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 12 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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.