@airgap/beacon-dapp
Version:
Use this package on your dApp to instanciate a DAppClient object and communicate to wallets.
5 lines (4 loc) • 400 B
TypeScript
import { DAppClient } from '../dapp-client/DAppClient';
import { DAppClientOptions } from '../dapp-client/DAppClientOptions';
/** Get a DAppClient instance. Will make sure only one dAppClient exists. After the first instance has been created, the config will be ignored, unless "reset" is set */
export declare const getDAppClientInstance: (config: DAppClientOptions, reset?: boolean) => DAppClient;