mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
* redesign "add chain" button * fix wallet detection * [skip ci] update default value for ENV * fix tests * return button to the footer and add source to mixpanel event * regcred from helmfile for review * [skip ci] remove wallets env from values for demo stand * use react-query to cache detection result * add cookie to hide button in the topbar * add prefix to svg ids to fix rabby icon * update screenshot * remove unnecessary comment --------- Co-authored-by: Nick Zenchik <[email protected]>
35 lines
708 B
TypeScript
35 lines
708 B
TypeScript
import type { WalletType, WalletInfo } from 'types/client/wallets';
|
|
|
|
export const WALLETS_INFO: Record<Exclude<WalletType, 'none'>, WalletInfo> = {
|
|
metamask: {
|
|
name: 'MetaMask',
|
|
icon: 'wallets/metamask',
|
|
color: '#FF8D5D',
|
|
},
|
|
coinbase: {
|
|
name: 'Coinbase Wallet',
|
|
icon: 'wallets/coinbase',
|
|
color: '#0052FF',
|
|
},
|
|
token_pocket: {
|
|
name: 'TokenPocket',
|
|
icon: 'wallets/token-pocket',
|
|
color: '#2980FE',
|
|
},
|
|
rabby: {
|
|
name: 'Rabby',
|
|
icon: 'wallets/rabby',
|
|
color: '#8798FF',
|
|
},
|
|
okx: {
|
|
name: 'OKX Wallet',
|
|
icon: 'wallets/okx',
|
|
color: '#6DB809',
|
|
},
|
|
trust: {
|
|
name: 'Trust Wallet',
|
|
icon: 'wallets/trust',
|
|
color: '#2D77FF',
|
|
},
|
|
};
|