UNPKG

@coin-voyage/paykit

Version:

Seamless crypto payments. Onboard users from any chain, any coin into your app with one click.

12 lines 492 B
export const isETHWalletInstalled = (name) => { if (typeof window === "undefined") { return false; } const { ethereum } = window; return !!(ethereum?.[`is${name}`] || ethereum?.providers?.find((provider) => provider?.[`is${name}`])); }; export const isFamily = () => isETHWalletInstalled("Family"); export const isRainbow = () => isETHWalletInstalled("Rainbow"); export const isZerion = () => isETHWalletInstalled("Zerion"); //# sourceMappingURL=wallets.js.map