UNPKG

@funkit/connect

Version:

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

27 lines (24 loc) 843 B
"use client"; import { getInjectedConnector, hasInjectedProvider } from "./chunk-DNSG5Q7V.js"; // src/wallets/walletConnectors/braveWallet/braveWallet.ts var braveWallet = () => ({ id: "brave", name: "Brave Wallet", rdns: "com.brave.wallet", iconUrl: async () => (await import("./braveWallet-T76TVZA6.js")).default, iconBackground: "#fff", installed: hasInjectedProvider({ flag: "isBraveWallet" }), downloadUrls: { // We're opting not to provide a download prompt if Brave isn't the current // browser since it's unlikely to be a desired behavior for users. It's // more of a convenience for users who are already using Brave rather than // an explicit wallet choice for users coming from other browsers. }, createConnector: getInjectedConnector({ flag: "isBraveWallet" }) }); export { braveWallet };