@iexec/iapp
Version:
A CLI to guide you through the process of building an iExec iApp
25 lines (24 loc) • 800 B
TypeScript
import { Wallet } from 'ethers';
export declare const KEYSTORE_PATH: string;
export declare function saveWalletToKeystore({ wallet, password, }: {
wallet: Wallet;
password: string;
}): Promise<string>;
export declare function loadWalletFromKeystore({ walletFileName, password, }: {
walletFileName: string;
password: string;
}): Promise<Wallet | import("ethers").HDNodeWallet>;
export declare function loadWalletInfoFromKeystore({ walletFileName, }: {
walletFileName: string;
}): Promise<{
address: string;
isEncrypted: boolean;
}>;
export declare function walletFileExistsInKeystore({ wallet, }: {
wallet: Wallet;
}): Promise<boolean>;
export declare function listWalletsFromKeystore(): Promise<{
address: string;
file: string;
isEncrypted: boolean;
}[]>;