onchainlabs_flutter 2.0.1 copy "onchainlabs_flutter: ^2.0.1" to clipboard
onchainlabs_flutter: ^2.0.1 copied to clipboard

Polygon EVM wallet helper for Flutter. Creates a wallet with mnemonic phrase and private key, registers it with https://ga-api.onchainlabs.ch, and stores the mnemonic locally.

140/ 160
pub points
266
downloads

We analyzed this package 5 days ago, and awarded it 140 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/your-org/onchainlabs_flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/your-org/onchainlabs_flutter was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/your-org/onchainlabs_flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

24 out of 46 API elements (52.2 %) have documentation comments.

Some symbols that are missing documentation: onchainlabs_flutter, onchainlabs_flutter.OnchainLabsApi, onchainlabs_flutter.OnchainLabsApi.OnchainLabsApi.new, onchainlabs_flutter.OnchainLabsApi.base, onchainlabs_flutter.OnchainLabsApi.getRandomMessage.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:onchainlabs_flutter/onchainlabs_flutter.dart that imports:
  • package:onchainlabs_flutter/src/wallet_manager.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:onchainlabs_flutter/onchainlabs_flutter.dart that imports:
  • package:onchainlabs_flutter/src/wallet_manager.dart that imports:
  • package:flutter_secure_storage/flutter_secure_storage.dart that imports:
  • package:flutter_secure_storage_platform_interface/flutter_secure_storage_platform_interface.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

/tmp/pana_TTMWGY/lib/src/api_onchainlabs.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_TTMWGY/lib/src/eip7702_execute.dart doesn't match the Dart formatter.

To format your files run: dart format .

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
bip32_plus ^1.0.0 1.0.0 1.0.0
bip39_plus ^1.1.1 1.1.1 1.1.1
flutter_secure_storage ^9.2.2 9.2.4 9.2.4
hex ^0.2.0 0.2.0 0.2.0
http ^1.2.0 1.6.0 1.6.0
pointycastle ^4.0.0 4.0.0 4.0.0
web3dart ^3.0.1 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
bs58check - 1.0.2 1.0.2
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.3 1.0.3
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 3.1.3 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 3.1.2 4.0.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
json_rpc_2 - 4.0.0 4.0.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sec - 1.1.1 1.1.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.2 4.5.2
vector_math - 2.2.0 2.2.0
wallet - 0.0.18 0.0.18
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0

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

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

Passed check 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.2, Dart 3.10.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
266
downloads

Publisher

unverified uploader

Weekly Downloads

Polygon EVM wallet helper for Flutter. Creates a wallet with mnemonic phrase and private key, registers it with https://ga-api.onchainlabs.ch, and stores the mnemonic locally.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bip32_plus, bip39_plus, flutter, flutter_secure_storage, hex, http, pointycastle, web3dart

More

Packages that depend on onchainlabs_flutter