- Phantom Connect is a package 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.
- This package was in active development.
This package has all these provider methods implemented for easy to use:
We need to have deeplink for our application for handling returned data from phantom.
A few resources to get you started:
First and foremost, import the widget.
Initialise the object with required Parameters.
appUrlA url used to fetch app metadata i.e. title, icon.
deepLinkThe 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: "dapp://exampledeeplink.io", );
- An example of how to use this package can be found here.
- A flutter plugin to connect phantom wallet from Mobile Application.