Skip to content

Commit

Permalink
bbn injectable
Browse files Browse the repository at this point in the history
  • Loading branch information
gbarkhatov committed Dec 11, 2024
1 parent 7d00803 commit 7dcb483
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/wallets/bbn/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
15 changes: 15 additions & 0 deletions src/core/wallets/bbn/injectable/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { Network, type BBNConfig, type WalletMetadata } from "@/core/types";

import { BBNProvider } from "../BBNProvider";

const metadata: WalletMetadata<BBNProvider, BBNConfig> = {
id: "injectable",
name: (wallet) => wallet.getWalletProviderName?.(),
icon: (wallet) => wallet.getWalletProviderIcon?.(),
docs: "",
wallet: "bbnwallet",
createProvider: (wallet) => wallet,
networks: [Network.MAINNET, Network.SIGNET],
};

export default metadata;

0 comments on commit 7dcb483

Please sign in to comment.