@rainbow-me/rainbowkit
Version:
The best way to connect a wallet
50 lines (47 loc) • 1.57 kB
JavaScript
"use client";
import {
getInjectedConnector,
hasInjectedProvider
} from "./chunk-MBBGZGXF.js";
// src/wallets/walletConnectors/compassWallet/compassWallet.ts
var compassWallet = () => {
const isCompassInjected = hasInjectedProvider({ namespace: "compassEvm" });
return {
id: "compass",
name: "Compass Wallet",
installed: isCompassInjected,
rdns: "io.leapwallet.CompassWallet",
iconUrl: async () => (await import("./compassWallet-3LBTWCKI.js")).default,
iconBackground: "#fff",
downloadUrls: {
chrome: "https://chromewebstore.google.com/detail/compass-wallet-for-sei/anokgmphncpekkhclmingpimjmcooifb",
browserExtension: "https://compasswallet.io/download"
},
extension: {
instructions: {
learnMoreUrl: "https://compasswallet.io/download",
steps: [
{
description: "wallet_connectors.compass.extension.step1.description",
step: "install",
title: "wallet_connectors.compass.extension.step1.title"
},
{
description: "wallet_connectors.compass.extension.step2.description",
step: "create",
title: "wallet_connectors.compass.extension.step2.title"
},
{
description: "wallet_connectors.compass.extension.step3.description",
step: "refresh",
title: "wallet_connectors.compass.extension.step3.title"
}
]
}
},
createConnector: getInjectedConnector({ namespace: "compassEvm" })
};
};
export {
compassWallet
};