ssv-keys
Version:
Tool for splitting a validator key into a predefined threshold of shares via Shamir-Secret-Sharing (SSS), and encrypt them with a set of operator keys.
9 lines (8 loc) • 334 B
TypeScript
export declare const fileExistsValidator: (filePath: string, message?: string) => boolean | string;
export declare const jsonFileValidator: (filePath: string, message?: string) => boolean | string;
/**
* Make sure the path contains
* @param path
* @param regex
*/
export declare const sanitizePath: (inputPath: string) => string;