UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

21 lines (20 loc) 577 B
import { Wallet } from '@dynamic-labs/wallet-connector-core'; export type FundingEvents = { /** * Triggered when a wallet is connected for funding */ walletConnectedForFunding: (props: { /** * Wallet that was connected */ wallet: Wallet; /** * Whether the wallet was connected via Phantom redirect */ isPhantomRedirect: boolean; /** * Whether this connection was initiated by the widget UI or headless code */ initiatedByWidget: boolean; }) => void; };