Overview
This guide outlines how to integrate and use external cryptocurrency wallets with the ParaSwift SDK. It covers setup, deep-linking protocols, authentication, and transaction signing processes for wallets such as MetaMask.Deep Linking
The ParaSwift SDK communicates with other apps via deep linking. To enable deep linking for your application, you’ll need to configure your app appropriately.Configure URL Schemes
First, you need to configure your app to handle custom URL schemes:- Open your app’s Info.plist file
- Add a new entry for
LSApplicationQueriesSchemesas an array - Add the URL schemes of supported wallets as strings to this array
Configure URL Types
Next, you need to set up URL Types to handle callbacks from external wallets:- In Xcode, select your app target
- Go to “Info” tab
- Expand “URL Types”
- Click the ”+” button to add a new URL Type
- Set the “Identifier” to your app’s bundle identifier
- Set the “URL Schemes” to a unique scheme for your app