@rainbow-me/rainbowkit
Version:
The best way to connect a wallet
51 lines (48 loc) • 1.47 kB
JavaScript
"use client";
import {
getInjectedConnector,
hasInjectedProvider
} from "./chunk-O2RJXDTM.js";
// src/wallets/walletConnectors/ctrlWallet/ctrlWallet.ts
var ctrlWallet = () => {
return {
id: "ctrl",
name: "CTRL Wallet",
rdns: "xyz.ctrl",
installed: hasInjectedProvider({ namespace: "ctrl.ethereum" }),
iconUrl: async () => (await import("./ctrlWallet-FI2YA4PW.js")).default,
iconBackground: "#fff",
downloadUrls: {
chrome: "https://chromewebstore.google.com/detail/ctrl-wallet/hmeobnfnfcmdkdcmlblgagmfpfboieaf",
browserExtension: "https://ctrl.xyz"
},
extension: {
instructions: {
learnMoreUrl: "https://ctrl.xyz",
steps: [
{
description: "wallet_connectors.ctrl.extension.step1.description",
step: "install",
title: "wallet_connectors.ctrl.extension.step1.title"
},
{
description: "wallet_connectors.ctrl.extension.step2.description",
step: "create",
title: "wallet_connectors.ctrl.extension.step2.title"
},
{
description: "wallet_connectors.ctrl.extension.step3.description",
step: "refresh",
title: "wallet_connectors.ctrl.extension.step3.title"
}
]
}
},
createConnector: getInjectedConnector({ namespace: "xfi.ethereum" })
};
};
var xdefiWallet = ctrlWallet;
export {
ctrlWallet,
xdefiWallet
};