@jovijovi/ether-keystore
Version:
A keystore toolkit for Ethereum ecosystem
15 lines (14 loc) • 930 B
TypeScript
import { Wallet } from 'ethers';
import { Options } from './options';
export declare function GetWallet(cipherText: string, passphrase: string): Promise<Wallet>;
export declare function InspectKeystoreWallet(address: string, keystoreType: string, passphrase: string, opts?: Options): Promise<Wallet>;
export declare function GetPK(cipherText: string, passphrase: string): Promise<string>;
export declare function InspectKeystorePK(address: string, keystoreType: string, passphrase: string, opts?: Options): Promise<string>;
export declare function InspectKeystorePKWithoutPrefix(address: string, keystoreType: string, passphrase: string, opts?: Options): Promise<string>;
export declare function ClearCache(): void;
export * as ksUtil from './ksutil';
export * as types from './types';
export { ksCache } from './cache';
export * as errors from './errors';
export * as params from './params';
export { Options } from './options';