-
Notifications
You must be signed in to change notification settings - Fork 201
Description
I tried to integrate this to Phantom Mobile Wallet in Flutter App. But i got stuck when init DriftClient instance because it required a Wallet with private key, which i cant retrieve.
On the website, i can get the wallet adapter by using @solana/wallet-adapter-react to create DriftClient instance easily like this:
To integrate this lib on mobile, i built a Web project, then import the dist folder into Flutter project and run it locally by show in a Webview.
With Phantom Mobile Wallet, i already connected, sign message from my Flutter App to Phantom Mobile Wallet by using Deeplink.
Every thing worked, but i found a problem that i cant find a way get the wallet in Phantom Mobile Wallet to inject into DriftClient in the code above.
Could you help me in this case?