Skip to content

Commit

Permalink
fix: remove blankwallet
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Dec 1, 2022
1 parent 3a5ac47 commit d62c35d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 30 deletions.
4 changes: 0 additions & 4 deletions packages/wallet-management/src/walletIcons/blankwallet.svg

This file was deleted.

20 changes: 9 additions & 11 deletions packages/wallet-management/src/walletIcons/index.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
import metamask from './metaMask.svg';
import alphawallet from './alphawallet.svg';
import atoken from './atoken.svg';
import blockwallet from './blockwallet.svg';
import binance from './binance.svg';
import bitpie from './bitpie.svg';
import blankwallet from './blankwallet.svg';
import mykey from './mykey.svg';
import blockwallet from './blockwallet.svg';
import brave from './brave.svg';
import coinbase from './coinbase.svg';
import dcent from './dcent.svg';
import detected from './detected.svg';
import frame from './frame.svg';
import huobiwallet from './huobiwallet.svg';
import hyperpay from './hyperpay.svg';
import liquality from './liquality.svg';
import imtoken from './imtoken.svg';
import liquality from './liquality.svg';
import mathwallet from './mathWallet.svg';
import meetone from './meetone.svg';
import metamask from './metaMask.svg';
import mykey from './mykey.svg';
import oneInch from './oneInch.svg';
import opera from './opera.svg';
import ownbit from './ownbit.svg';
import status from './status.svg';
import tallyho from './tallyho.svg';
import tokenary from './tokenary.svg';
import detected from './detected.svg';
import tokenpocket from './tokenpocket.svg';
import tp from './tp.svg';
import trust from './trust.svg';
import walletConnect from './walletConnect.svg';
import walletio from './walletio.svg';
import tp from './tp.svg';
import xdefi from './xdefi.svg';
import mathwallet from './mathWallet.svg';
import walletConnect from './walletConnect.svg';
import tallyho from './tallyho.svg';

export const walletIcons = {
mathwallet,
Expand All @@ -38,7 +37,6 @@ export const walletIcons = {
blockwallet,
binance,
bitpie,
blankwallet,
brave,
coinbase,
dcent,
Expand Down
11 changes: 0 additions & 11 deletions packages/wallet-management/src/walletProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ export enum ProviderIdentityFlag {
BlockWallet = 'isBlockWallet',
Binance = 'bbcSignTx',
Bitpie = 'isBitpie',
BlankWallet = 'isBlank',
Coinbase = 'isToshi',
CoinbaseExtension = 'isCoinbaseWallet',
Detected = 'request',
Expand Down Expand Up @@ -184,15 +183,6 @@ const bitpie: Wallet = {
web3react: createMetamaskConnector(),
};

const blankwallet: Wallet = {
name: 'BlankWallet',
checkProviderIdentity: ({ provider }) =>
provider?.[ProviderIdentityFlag.BlankWallet],
icon: walletIcons.blankwallet,
platforms: ['desktop'],
web3react: createMetamaskConnector(),
};

const dcent: Wallet = {
name: 'Dcent',
checkProviderIdentity: ({ provider }) =>
Expand Down Expand Up @@ -334,7 +324,6 @@ export const supportedWallets = [
atoken,
blockWallet,
bitpie,
blankwallet,
brave,
dcent,
frame,
Expand Down
4 changes: 0 additions & 4 deletions packages/wallet-management/src/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ export const wallets = {
name: 'Bitpie',
icon: walletIcons.bitpie,
},
blankwallet: {
name: 'BlankWallet',
icon: walletIcons.blankwallet,
},
blockwallet: {
name: 'BlockWallet',
icon: walletIcons.blockwallet,
Expand Down

0 comments on commit d62c35d

Please sign in to comment.