@rainbow-me/rainbowkit
Version:
The best way to connect a wallet
51 lines (48 loc) • 1.56 kB
JavaScript
"use client";
import {
getInjectedConnector,
hasInjectedProvider
} from "./chunk-MBBGZGXF.js";
// src/wallets/walletConnectors/magicEdenWallet/magicEdenWallet.ts
var magicEdenWallet = () => {
return {
id: "magicEden",
name: "Magic Eden Wallet",
rdns: "io.magiceden.wallet",
iconUrl: async () => (await import("./magicEden-PKT2ZXEQ.js")).default,
iconBackground: "#36114D",
installed: hasInjectedProvider({ namespace: "magicEden.ethereum" }),
downloadUrls: {
chrome: "https://chromewebstore.google.com/detail/magic-eden-wallet/mkpegjkblkkefacfnmkajcjmabijhclg",
browserExtension: "https://wallet.magiceden.io/"
},
extension: {
instructions: {
steps: [
{
description: "wallet_connectors.magicEden.extension.step1.description",
step: "install",
title: "wallet_connectors.magicEden.extension.step1.title"
},
{
description: "wallet_connectors.magicEden.extension.step2.description",
step: "create",
title: "wallet_connectors.magicEden.extension.step2.title"
},
{
description: "wallet_connectors.magicEden.extension.step3.description",
step: "refresh",
title: "wallet_connectors.magicEden.extension.step3.title"
}
],
learnMoreUrl: "https://wallet.magiceden.io/support"
}
},
createConnector: getInjectedConnector({
namespace: "magicEden.ethereum"
})
};
};
export {
magicEdenWallet
};