Skip to content

Commit

Permalink
fix: browser wallets info
Browse files Browse the repository at this point in the history
  • Loading branch information
Argeare5 committed Feb 13, 2023
1 parent d4117e0 commit 0b67f15
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 23 deletions.
16 changes: 7 additions & 9 deletions src/utils/wallets/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export enum WalletIdentityFlag {
BlockWallet = 'isBlockWallet',
Coinbase = 'isToshi',
CoinbaseExtension = 'isCoinbaseWallet',
Detected = 'request',
Dcent = 'isDcentWallet',
Exodus = 'isExodus',
Frontier = 'isFrontier',
Expand Down Expand Up @@ -57,29 +56,28 @@ export enum WalletLabel {
Bitpie = 'Bitpie Wallet',
Bitski = 'Bitski Wallet',
BlockWallet = 'Block Wallet',
Brave = 'Brave Wallet',
Brave = 'Brave',
Coinbase = 'Coinbase',
Dcent = `D'CENT Wallet`,
Detected = 'Detected Wallet',
Exodus = 'Exodus',
Frame = 'Frame',
Frontier = 'Frontier',
HuobiWallet = 'Huobi Wallet',
HyperPay = 'HyperPay',
ImToken = 'imToken Wallet',
ImToken = 'imToken',
Liquality = 'Liquality',
MeetOne = 'MeetOne',
MetaMask = 'MetaMask',
MyKey = 'MyKey Wallet',
Opera = 'Opera Wallet',
MyKey = 'MyKey',
Opera = 'Opera',
OwnBit = 'OwnBit',
Status = 'Status Wallet',
Status = 'Status',
Trust = 'Trust Wallet',
TokenPocket = 'TokenPocket',
TP = 'TP Wallet',
WalletIo = 'Wallet.io',
XDEFI = 'XDEFI Wallet',
OneInch = '1inch Wallet',
OneInch = '1inch',
Tokenary = 'Tokenary Wallet',
Tally = 'Tally Ho Wallet',
Rabby = 'Rabby',
Expand All @@ -90,7 +88,7 @@ export enum WalletLabel {
Core = 'Core Wallet',
Enkrypt = 'Enkrypt',
Zeal = 'Zeal Wallet',
Phantom = 'Phantom Wallet',
Phantom = 'Phantom',
OKXWallet = 'OKX Wallet',
Zerion = 'Zerion',
Rainbow = 'Rainbow',
Expand Down
2 changes: 0 additions & 2 deletions src/utils/wallets/wallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { coinbase } from './wallets/coinbase';
import { core } from './wallets/core';
import { dcent } from './wallets/dcent';
import { defiwallet } from './wallets/defiwallet';
import { detected } from './wallets/detected';
import { enkrypt } from './wallets/enkrypt';
import { exodus } from './wallets/exodus';
import { frame } from './wallets/frame';
Expand Down Expand Up @@ -57,7 +56,6 @@ export const wallets = [
core,
dcent,
defiwallet,
detected,
enkrypt,
exodus,
frame,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/wallets/wallets/blockwallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const blockwallet = {
identityFlag: WalletIdentityFlag.BlockWallet,
label: WalletLabel.BlockWallet,
icon: `<svg width="100%" height="100%" viewBox="0 0 30 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30ZM23.125 6.875H6.875V23.125H23.125V6.875Z" fill="currentColor"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M15 30C23.2843 30 30 23.2843 30 15C30 6.71573 23.2843 0 15 0C6.71573 0 0 6.71573 0 15C0 23.2843 6.71573 30 15 30ZM23.125 6.875H6.875V23.125H23.125V6.875Z" fill="#000"/>
</svg>
`,
};
10 changes: 0 additions & 10 deletions src/utils/wallets/wallets/detected.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/utils/wallets/wallets/mykey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { WalletIdentityFlag, WalletLabel } from '../types';
export const mykey = {
identityFlag: WalletIdentityFlag.MyKey,
label: WalletLabel.MyKey,
icon: `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" viewBox="0 0 960 960" enable-background="new 0 0 960 960" xml:space="preserve">
icon: `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" width="100%" height="100%" viewBox="0 0 960 960" enable-background="new 0 0 960 960" xml:space="preserve">
<path fill="#50C3AF" opacity="1.000000" stroke="none" d=" M785.468628,961.000000 C776.803894,959.350159 768.496338,958.118530 760.432739,955.971130 C737.250488,949.797668 716.125916,939.468445 698.020691,923.490479 C692.671936,918.770203 687.442322,913.896301 682.395874,908.854797 C616.745117,843.266968 551.136902,777.636475 485.520416,712.014282 C484.106964,710.600708 482.722595,709.158081 481.444214,707.259094 C482.530060,705.871887 483.517731,704.975952 484.459564,704.034180 C557.723572,630.776062 630.984497,557.514832 704.239502,484.247742 C705.297485,483.189606 706.277893,482.053986 707.423828,480.958252 C707.553162,480.961945 707.809265,480.998962 707.990601,481.287781 C775.072266,548.508240 841.983154,615.429382 908.851868,682.392639 C913.892395,687.440186 918.767273,692.668884 923.487549,698.017761 C939.466125,716.123962 949.795227,737.250122 955.971069,760.432556 C958.119202,768.496033 959.350159,776.803772 961.000000,785.000000 C961.000000,795.354248 961.000000,805.708435 960.699646,816.807007 C959.422241,823.744873 958.855591,830.036621 957.400391,836.115784 C949.051819,870.992554 931.642883,900.314941 904.048035,923.586609 C885.595703,939.148010 864.749512,949.808289 841.565186,955.972229 C833.501221,958.116089 825.195374,959.350342 817.000000,961.000000 C806.645752,961.000000 796.291565,961.000000 785.468628,961.000000 z"/>
<path fill="#50C3AF" opacity="1.000000" stroke="none" d=" M176.531342,1.000000 C185.194641,2.649679 193.499466,3.884716 201.563019,6.027626 C224.746811,12.188758 245.591248,22.849539 264.042572,38.408669 C291.636627,61.677402 309.100433,90.983574 317.410706,125.868103 C321.594574,143.430908 321.943298,161.249191 320.105255,179.202133 C317.414551,205.483795 308.272461,229.383118 293.471558,251.029968 C268.320282,287.814575 233.442276,310.649811 189.819946,318.655823 C146.733795,326.563416 106.332184,317.889099 70.118965,292.944305 C33.756706,267.896759 12.014362,232.939423 3.159775,189.844971 C2.330838,185.810608 2.106062,181.652100 1.300389,177.275620 C1.000000,166.645767 1.000000,156.291550 1.300389,145.193039 C2.577754,138.255310 3.143812,131.963455 4.599560,125.884666 C12.951509,91.009346 30.358313,61.686413 57.952297,38.411667 C76.404732,22.847561 97.255745,12.199543 120.435776,6.028357 C128.498611,3.881797 136.804901,2.649729 145.000000,1.000000 C155.354233,1.000000 165.708450,1.000000 176.531342,1.000000 z"/>
<path fill="#0091E6" opacity="1.000000" stroke="none" d=" M0.999999,784.468628 C2.641399,776.346985 4.051217,768.635437 5.967208,761.051819 C11.939896,737.411560 22.963074,716.400940 38.695362,697.713562 C57.767250,675.059265 81.335739,659.161682 109.192093,649.483643 C121.545135,645.191833 134.339737,643.314514 147.335327,641.750305 C163.236053,639.836548 178.889999,641.364380 194.149643,644.431396 C219.517746,649.530029 242.528580,660.540039 262.666443,677.168213 C286.693878,697.008179 303.771606,721.748230 313.200623,751.282776 C316.970459,763.091064 318.008820,775.800598 319.967407,788.151123 C322.842377,806.280212 320.046448,824.157166 315.821350,841.657715 C310.352722,864.308838 299.620636,884.557190 284.808563,902.626526 C265.044159,926.737183 240.207031,943.592224 210.749634,953.260620 C200.035690,956.777100 188.581055,958.036743 177.232178,960.663086 C166.645767,961.000000 156.291550,961.000000 145.231537,960.660767 C141.430939,959.892578 138.330750,959.499023 135.242142,959.029236 C104.858765,954.407715 78.214096,941.485107 55.276588,921.389648 C29.661320,898.947937 12.954733,870.796692 5.049047,837.589050 C3.430426,830.790100 2.336047,823.866272 1.000004,817.000000 C1.000000,806.312439 1.000000,795.624878 0.999999,784.468628 z"/>
Expand Down

0 comments on commit 0b67f15

Please sign in to comment.