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.
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.
The MetaMask connector provides several useful properties:
Copy
Ask AI
// Check if connected to MetaMasklet isConnected = metaMaskConnector.isConnected// Get list of connected accountslet accounts = metaMaskConnector.accounts// Get current chain ID (e.g., "0x1" for Ethereum mainnet)let chainId = metaMaskConnector.chainId