@sixnetwork/klip-connector
Version:
A simple, maximally extensible, dependency minimized framework for building modern Klaytn dApps
21 lines (20 loc) • 645 B
TypeScript
export default class KlipProvider {
constructor();
private isAuth;
private requestKey;
private responseData;
private intervalCheckResult?;
private account;
initData: () => void;
login: () => void;
logout: () => void;
getAuth: () => boolean;
genQRcode: (showModal: () => void) => void;
getResult: () => Promise<void>;
getAccount: () => string;
getRequestKey: () => string;
checkResponse: () => Promise<string>;
genQRcodeContactInteract: (contractAddress: string, abi: string, input: string) => void;
openDeeplink: (url: string) => void;
Popup(): void;
}