magic_ext_solana 0.3.5 copy "magic_ext_solana: ^0.3.5" to clipboard
magic_ext_solana: ^0.3.5 copied to clipboard

A Magic extension to enable signing with Solana on Flutter. Magic SDK is your entry-point to integrating passwordless authentication inside your application.

1
likes
120/ 160
pub points
87
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: Apache-2.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

6 out of 42 API elements (14.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: magic_ext_solana, magic_ext_solana.SolanaExtension.solana, magic_ext_solana.SolanaMethod, magic_ext_solana.SolanaSigner.blockchainName, magic_ext_solana.SolanaSigner.instance.

10/10 points: Package has an example

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/webview.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/webview.dart that imports:
  • package:magic_sdk/relayer/url_builder.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/types/DPop.dart that imports:
  • package:secp256r1/secp256r1.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:magic_ext_solana/magic_ext_solana.dart that imports:
  • package:magic_sdk/provider/rpc_provider.dart that imports:
  • package:magic_sdk/relayer/types/DPop.dart that imports:
  • package:secp256r1/secp256r1.dart that imports:
  • package:agent_dart/agent_dart.dart that imports:
  • package:agent_dart_base/agent_dart_base.dart that imports:
  • package:agent_dart_base/wallet/wallet.dart that imports:
  • package:agent_dart_base/wallet/pem.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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
json_annotation ^4.5.0 4.9.0 4.9.0
magic_sdk ^6.0.0 6.0.1 6.0.1
solana ^0.30.0 0.30.4 0.31.0+1
Transitive dependencies
Package Constraint Compatible Latest
agent_dart - 1.0.0-dev.32 1.0.0-dev.32
agent_dart_base - 1.0.0-dev.32 1.0.0-dev.32
agent_dart_ffi - 1.0.0-dev.32 1.0.0-dev.32
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
bip32 - 2.0.0 2.0.0
bip39 - 1.0.6 1.0.6
blockchain_signer - 0.1.0 0.1.0
borsh_annotation - 0.3.1+5 0.3.1+5
bs58check - 1.0.2 1.0.2
build_cli_annotations - 2.1.0 2.1.0
cbor - 4.1.0 6.3.3
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
cryptography - 2.7.0 2.7.0
decimal - 2.3.3 3.1.0
ed25519_hd_key - 2.3.0 2.3.0
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.2
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_rust_bridge - 2.5.0 2.7.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.4 2.4.4
hex - 0.2.0 0.2.0
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
json_rpc_2 - 3.0.3 3.0.3
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
package_info_plus - 4.2.0 8.1.2
package_info_plus_platform_interface - 2.0.1 3.0.2
path - 1.9.1 1.9.1
pinenacl - 0.6.0 0.6.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
protobuf - 3.1.0 3.1.0
rational - 2.2.3 2.2.3
recase - 4.1.0 4.1.0
sec - 1.1.0 1.1.0
secp256r1 - 0.1.0-dev.8 0.1.0-dev.8
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
tuple - 2.0.2 2.0.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.1
validators - 3.0.0 3.0.0
vector_math - 2.1.4 2.1.4
wallet - 0.0.13 0.0.13
web - 1.1.0 1.1.0
web3dart - 2.7.0 2.7.3
web_socket_channel - 2.4.0 3.0.1
webview_flutter - 4.9.0 4.10.0
webview_flutter_android - 3.16.9 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
win32 - 5.9.0 5.9.0

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

The constraint `^0.30.0` on solana does not support the stable version `0.31.0`.

Try running dart pub upgrade --major-versions solana 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

1
likes
120
points
87
downloads

Publisher

verified publishermagic.link

Weekly Downloads

A Magic extension to enable signing with Solana on Flutter. Magic SDK is your entry-point to integrating passwordless authentication inside your application.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, json_annotation, magic_sdk, solana

More

Packages that depend on magic_ext_solana