UNPKG

@getalby/bitcoin-connect

Version:

Web components to connect to a lightning wallet and power a website with WebLN

9 lines (8 loc) 321 B
import { WebLNProvider } from '@webbtc/webln-types'; import { ConnectorConfig } from '../types/ConnectorConfig'; export declare abstract class Connector { protected _config: ConnectorConfig; constructor(config: ConnectorConfig); abstract init(): Promise<WebLNProvider>; unload(): Promise<void>; }