UNPKG

@kaiachain/ethers-ext

Version:
10 lines (9 loc) 488 B
import { Bytes } from "@ethersproject/bytes"; import { ProgressCallback } from "@ethersproject/json-wallets"; export interface KeystoreAccountList { address: string; privateKey: string; privateKeyList: string[]; } export declare function decryptKeystoreList(json: string, password: Bytes | string, progressCallback?: ProgressCallback): Promise<KeystoreAccountList>; export declare function decryptKeystoreListSync(json: string, password: Bytes | string): KeystoreAccountList;