difcli
Version:
CLI tool for Diffuse Prime
16 lines • 722 B
TypeScript
import { ChainType } from '../config';
export declare class SecureStorage {
private static ensureConfigDir;
private static encrypt;
private static decrypt;
static setPrivateKey(privateKey: string): Promise<void>;
static getPrivateKey(): Promise<string | null>;
static removePrivateKey(): Promise<boolean>;
static hasPrivateKey(): Promise<boolean>;
static setSelectedChain(chain: ChainType): Promise<void>;
static setVaultAddress(chain: ChainType, vaultAddress: string): Promise<void>;
static getVaultAddress(chain: ChainType): Promise<string | null>;
static getSelectedChain(): Promise<ChainType>;
private static getWalletData;
}
//# sourceMappingURL=secure-storage.d.ts.map