flutter_phantom 1.0.3-dev.1
flutter_phantom: ^1.0.3-dev.1 copied to clipboard
A new Flutter for connect phantom wallet.
flutter_phantom #
- flutter_phantomt is a package based on react native phantom wallet example that allows users to connect to Phantom Wallet from their Application.
- This package is used to generate deeplink urls for Phantom Wallet to connect to your 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.
Usage #
add flutter_phantom
to pubspec.yaml
import 'package:flutter_phantom/flutter_phantom.dart';
initialise 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)
final FlutterPhantom phantom = FlutterPhantom(
appUrl: "https://phantom.app",
deepLink: "app://mydeapp",
);
Example #
- An example of how to use this package here.