@dynamic-labs/sdk-react-core
Version:
A React SDK for implementing wallet web3 authentication and authorization to your website.
10 lines (9 loc) • 568 B
TypeScript
import { WalletConnector } from '@dynamic-labs/wallet-connector-core';
import { UserProfile } from '../../../..';
/**
* This function will use a referenced account to kick off the social wallet
* authentication. This is useful in the multiwallet scenario where the user
* wants to set their disconnected social wallet as their primary wallet, in
* which case the wallet needs to be reconnected
*/
export declare const reconnectSocialWallet: (user: UserProfile | undefined, connector: WalletConnector, walletAddress: string, walletChain: string) => Promise<void>;