@kaiachain/ethers-ext
Version:
ethers.js extension for kaia blockchain
10 lines (9 loc) • 488 B
TypeScript
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;