UNPKG

@amfi/connect-wallet

Version:

Connect Crypto Wallet by using CoinbaseWallet (WalletLink), KardiaChain, MetaMask browser extentions or mobile application and WalletConnect service by scanning Wallet Qr-code.

10 lines (9 loc) 397 B
import { Observable } from 'rxjs'; import { IConnectorMessage, IProvider, IEvent, IEventError } from '../interface'; export declare abstract class AbstractConnector { abstract connector: any; constructor(); abstract connect(provider?: IProvider): Promise<IConnectorMessage>; abstract eventSubscriber(): Observable<IEvent | IEventError>; abstract getAccounts(): Promise<any>; }