UNPKG

@funkit/connect

Version:

Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.

11 lines (10 loc) 667 B
import type { TFunction } from 'i18next'; import type { FunkitTextCustomizationsConfig } from '../providers/FunkitConfigContext'; export declare const getWalletLabel: (t: TFunction, textCustomizations: FunkitTextCustomizationsConfig, walletAddress?: string) => string; export declare function isAddressSupported(address: string): boolean; /** * Check if the recipient address is compatible with selected chain * Will need to update this as we enable additional chains in the future. * This currently works as we only support evm and solana chains for withdrawal. */ export declare function isAddressCompatibleWithChain(address: string, chainId: number): boolean;