UNPKG

@web3-wallet/cryptocom-desktop-wallet

Version:
14 lines (10 loc) 472 B
import type { WalletName } from '@web3-wallet/core'; import { Connector } from '@web3-wallet/core'; import { icon } from './assets'; const _walletName = 'Crypto.com DeFi Desktop Wallet'; const walletName = _walletName as WalletName<typeof _walletName>; export class CryptocomDesktopWallet extends Connector { public static walletName: WalletName<string> = walletName; public static walletIcon: string = icon; public walletName: WalletName<string> = walletName; }