This guide outlines how to integrate and use external cryptocurrency wallets with our Flutter SDK. It covers the setup,
deep-linking protocols, authentication, and transaction signing processes for wallets such as MetaMask and Phantom.
Our Flutter SDK communicates with other apps via URL schemes. To enable this for your application, you will need
to modify the AndroidManifest.xml for android and Info.plist for iOS.For Android, add an intent filter, which should look like this.
For iOS go to TARGETS > App Name > Info > URL Types and add a new URL type. In the URL Schemes field, add your scheme.
This can be any string you want, but it must be unique to your app.
metamaskConnector .signMessage( "Message to sign! Hello World", metamaskConnector.accounts.first) // you can select whichever account if multiple .then((onValue) => { print(onValue); // Do whatever you want with the signed message });