Hook | Description |
---|---|
useDeeplinkWalletConnector | A generic wallet deeplinking connector that you can configure for various wallets |
usePhantomDeeplinkWalletConnector | A pre-configured connector specifically for Phantom wallet |
useBackpackDeeplinkWalletConnector | A pre-configured connector specifically for Backpack wallet |
usePhantomDeeplinkWalletConnector
hook in your component:usePhantomDeeplinkWalletConnector
hook accepts the following configuration:Parameter | Type | Description |
---|---|---|
appUrl | string | The URL of your app that will be displayed in the wallet app as the requesting dapp, for metadata purposes |
redirectUri | string | The path in your app that the wallet should redirect to after completing an action |
connect()
function