UNPKG

@funkit/connect

Version:

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

56 lines (53 loc) 1.81 kB
"use client"; import { getInjectedConnector, hasInjectedProvider } from "./chunk-DNSG5Q7V.js"; // src/wallets/walletConnectors/phantomWallet/phantomWallet.ts var phantomWallet = () => { return { id: "phantom", name: "Phantom", rdns: "app.phantom", iconUrl: async () => (await import("./phantomWallet-LZDJJ5XR.js")).default, iconBackground: "#9A8AEE", installed: hasInjectedProvider({ namespace: "phantom.ethereum" }), downloadUrls: { android: "https://play.google.com/store/apps/details?id=app.phantom", ios: "https://apps.apple.com/app/phantom-solana-wallet/1598432977", mobile: "https://phantom.app/download", qrCode: "https://phantom.app/download", chrome: "https://chrome.google.com/webstore/detail/phantom/bfnaelmomeimhlpmgjnjophhpkkoljpa", firefox: "https://addons.mozilla.org/firefox/addon/phantom-app/", browserExtension: "https://phantom.app/download" }, extension: { instructions: { steps: [ { description: "wallet_connectors.phantom.extension.step1.description", step: "install", title: "wallet_connectors.phantom.extension.step1.title" }, { description: "wallet_connectors.phantom.extension.step2.description", step: "create", title: "wallet_connectors.phantom.extension.step2.title" }, { description: "wallet_connectors.phantom.extension.step3.description", step: "refresh", title: "wallet_connectors.phantom.extension.step3.title" } ], learnMoreUrl: "https://help.phantom.app" } }, createConnector: getInjectedConnector({ namespace: "phantom.ethereum" }) }; }; export { phantomWallet };