Skip to content

Commit

Permalink
feat: add bitkeep wallet (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Addminus authored Aug 31, 2023
1 parent 80ba984 commit ae83ae6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/wallet-management/src/walletIcons/bitkeep.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions packages/wallet-management/src/walletIcons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ import trust from './trust.svg';
import walletConnect from './walletConnect.svg';
import walletio from './walletio.svg';
import xdefi from './xdefi.svg';
import bitkeep from './bitkeep.svg';

export const walletIcons = {
mathwallet,
walletConnect,
alphawallet,
frontier,
blockwallet,
bitkeep,
binance,
placeholder,
bitpie,
Expand Down
11 changes: 11 additions & 0 deletions packages/wallet-management/src/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ const walletConnect: Wallet = new WalletConnectConnector({
},
});

const bitKeep: Wallet = new InjectedConnector(
{
name: 'BitKeep',
installed: async () =>
(window as any).bitkeep && (window as any).bitkeep?.ethereum,
icon: walletIcons.bitkeep,
},
(window as any).bitkeep?.ethereum,
);

const frontier: Wallet = new InjectedConnector(
{
name: 'Frontier',
Expand Down Expand Up @@ -261,6 +271,7 @@ export const supportedWallets = [
safe,
metamask,
walletConnect,
bitKeep,
exodus,
tallyho,
binance,
Expand Down

0 comments on commit ae83ae6

Please sign in to comment.