diff --git a/src/core/wallets/bbn/index.ts b/src/core/wallets/bbn/index.ts index 86889bb..8ca9096 100644 --- a/src/core/wallets/bbn/index.ts +++ b/src/core/wallets/bbn/index.ts @@ -2,13 +2,14 @@ import { BBNConfig, ChainMetadata } from "@/core/types"; import { BBNProvider } from "./BBNProvider"; import icon from "./babylon.jpeg"; +import injectable from "./injectable"; import keplr from "./keplr"; const metadata: ChainMetadata<"BBN", BBNProvider, BBNConfig> = { chain: "BBN", name: "Babylon Chain", icon, - wallets: [keplr], + wallets: [injectable, keplr], }; export default metadata; diff --git a/src/core/wallets/bbn/injectable/index.ts b/src/core/wallets/bbn/injectable/index.ts new file mode 100644 index 0000000..62f1fcc --- /dev/null +++ b/src/core/wallets/bbn/injectable/index.ts @@ -0,0 +1,15 @@ +import { Network, type BBNConfig, type WalletMetadata } from "@/core/types"; + +import { BBNProvider } from "../BBNProvider"; + +const metadata: WalletMetadata = { + id: "injectable", + name: (wallet) => wallet.getWalletProviderName?.(), + icon: (wallet) => wallet.getWalletProviderIcon?.(), + docs: "", + wallet: "bbnwallet", + createProvider: (wallet) => wallet, + networks: [Network.MAINNET, Network.SIGNET], +}; + +export default metadata;