@rainbow-me/rainbowkit
Version:
The best way to connect a wallet
55 lines (52 loc) • 1.55 kB
JavaScript
"use client";
import {
getInjectedConnector,
hasInjectedProvider
} from "./chunk-O2RJXDTM.js";
// src/wallets/walletConnectors/wigwamWallet/wigwamWallet.ts
var wigwamWallet = () => {
return {
id: "wigwam",
name: "Wigwam",
rdns: "com.wigwam.wallet",
iconBackground: "#80EF6E",
iconUrl: async () => (await import("./wigwamWallet-JFVOU3BA.js")).default,
downloadUrls: {
chrome: "https://chromewebstore.google.com/detail/wigwam-%E2%80%94-web3-wallet/lccbohhgfkdikahanoclbdmaolidjdfl",
browserExtension: "https://wigwam.app"
},
installed: hasInjectedProvider({
namespace: "wigwamEthereum",
flag: "isWigwam"
}),
extension: {
instructions: {
learnMoreUrl: "https://wigwam.app/",
steps: [
{
description: "wallet_connectors.wigwam.extension.step1.description",
step: "install",
title: "wallet_connectors.wigwam.extension.step1.title"
},
{
description: "wallet_connectors.wigwam.extension.step2.description",
step: "create",
title: "wallet_connectors.wigwam.extension.step2.title"
},
{
description: "wallet_connectors.wigwam.extension.step3.description",
step: "refresh",
title: "wallet_connectors.wigwam.extension.step3.title"
}
]
}
},
createConnector: getInjectedConnector({
namespace: "wigwamEthereum",
flag: "isWigwam"
})
};
};
export {
wigwamWallet
};