@getalby/bitcoin-connect
Version:
Web components to connect to a lightning wallet and power a website with WebLN
28 lines (27 loc) • 980 B
TypeScript
import { ConnectorFilter } from './ConnectorFilter';
import { WebLNProviderConfig } from './WebLNProviderConfig';
export declare type BitcoinConnectConfig = {
/**
* Name of the application that the user is interacting with.
* May be passed to the connector the user chooses to connect with (e.g. NWC)
*/
appName?: string;
/**
* Icon of the application that the user is interacting with.
* May be passed to the connector the user chooses to connect with (e.g. NWC)
*/
appIcon?: string;
/**
* Limit which connectors are shown in the connect flow
*/
filters?: ConnectorFilter[];
/**
* Set to false to not request or show the user's wallet balance
*/
showBalance?: boolean;
/**
* Customize individual providers (NWC, LNC, LNbits etc)
*/
providerConfig?: WebLNProviderConfig;
};
export declare const DEFAULT_BITCOIN_CONNECT_CONFIG: BitcoinConnectConfig;