@gear-js/wallet-connect
Version:
React library to connect Substrate based wallets to Gear dApps
65 lines (64 loc) • 1.88 kB
TypeScript
import { Wallets } from './types';
declare const IS_MOBILE_DEVICE: boolean;
declare const isNovaWallet: boolean;
declare const WALLET: {
'polkadot-js': {
name: string;
SVG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
title?: string;
titleId?: string;
desc?: string;
descId?: string;
}>;
};
'subwallet-js': {
name: string;
SVG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
title?: string;
titleId?: string;
desc?: string;
descId?: string;
}>;
};
talisman?: undefined;
enkrypt?: undefined;
} | {
'polkadot-js': {
name: string;
SVG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
title?: string;
titleId?: string;
desc?: string;
descId?: string;
}>;
};
'subwallet-js': {
name: string;
SVG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
title?: string;
titleId?: string;
desc?: string;
descId?: string;
}>;
};
talisman: {
name: string;
SVG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
title?: string;
titleId?: string;
desc?: string;
descId?: string;
}>;
};
enkrypt: {
name: string;
SVG: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
title?: string;
titleId?: string;
desc?: string;
descId?: string;
}>;
};
};
declare const WALLETS: Wallets;
export { IS_MOBILE_DEVICE, WALLET, WALLETS, isNovaWallet };