phantom_connect 0.0.4 copy "phantom_connect: ^0.0.4" to clipboard
phantom_connect: ^0.0.4 copied to clipboard

outdated

A flutter plugin to connect phantom wallet from Mobile Application.

Phantom Connect #

  • Phantom Connect is a package that allows users to connect to Phantom Wallet from their Application.

Features #

This package has all these provider methods implemented for easy to use:

Getting Started #

We need to have deeplink for our application for handling returned data from phantom.

A few resources to get you started:

Usage #

To use this plugin, add phantom_connect as a dependency in your pubspec.yaml file.

First and foremost, import the widget.

import 'package:phantom_connect/phantom_connect.dart';

Initialise the object with required Parameters.

  • appUrl A url used to fetch app metadata i.e. title, icon.
  • deepLink The URI where Phantom should redirect the user upon connection. Deep Link we used in our application.
  final PhantomConnect phantomConnect = PhantomConnect(
    appUrl: "https://solana.com", 
    deepLink: "samepl://exampledeeplink.io",
  );

Example #

  • A full example application will be released soon.
8
likes
0
pub points
36%
popularity

Publisher

verified publisherstrawhat.xyz

A flutter plugin to connect phantom wallet from Mobile Application.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, pinenacl, solana

More

Packages that depend on phantom_connect