UNPKG

@pushchain/ui-kit

Version:

Push Chain is a true universal L1 that is 100% EVM compatible. It allows developers to deploy once and make their apps instantly compatible with users from all other L1s (Ethereum, Solana, etc) with zero on-chain code change.

11 lines (10 loc) 712 B
import { ChainType } from '../../../types/wallet.types'; export declare const PHANTOM_PROVIDER_NAME = "Phantom"; export declare const PHANTOM_MOBILE_CONNECT_PARAM = "pua_phantom_mobile_connect"; export declare const isMobileDevice: () => boolean; export declare const hasPhantomSolanaProvider: () => boolean; export declare const shouldOpenPhantomMobileBrowser: (chainType?: ChainType) => boolean; export declare const hasPhantomMobileConnectRequest: () => boolean; export declare const consumePhantomMobileConnectRequest: () => ChainType | null; export declare const buildPhantomMobileBrowseUrl: (chainType?: ChainType) => string; export declare const openPhantomMobileBrowser: (chainType?: ChainType) => void;