import { AbstractConnector } from '@web3-react/abstract-connector' import INJECTED_ICON_URL from '../assets/images/arrow-right.svg' import COINBASE_ICON_URL from '../assets/images/coinbaseWalletIcon.svg' import METAMASK_ICON_URL from '../assets/images/metamask.png' import { injected } from '../connectors' export interface WalletInfo { connector?: AbstractConnector name: string iconURL: string description: string href: string | null color: string primary?: true mobile?: true mobileOnly?: true } export const SUPPORTED_WALLETS: { [key: string]: WalletInfo } = { INJECTED: { connector: injected, name: 'Injected', iconURL: INJECTED_ICON_URL, description: 'Injected web3 provider.', href: null, color: '#010101', primary: true, }, METAMASK: { connector: injected, name: 'MetaMask', iconURL: METAMASK_ICON_URL, description: 'Easy-to-use browser extension.', href: null, color: '#E8831D', }, COINBASE_LINK: { name: 'Open in Coinbase Wallet', iconURL: COINBASE_ICON_URL, description: 'Open in Coinbase Wallet app.', href: 'https://go.cb-w.com/mtUDhEZPy1', color: '#315CF5', mobile: true, mobileOnly: true, }, }