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.
22 lines (21 loc) • 640 B
TypeScript
import { OperatorData } from './OperatorData';
import { IKeySharesData, IKeySharesPartialData } from './IKeySharesData';
export declare class KeySharesData implements IKeySharesData {
ownerNonce?: number | null;
ownerAddress?: string | null;
publicKey?: string | null;
operators?: OperatorData[] | null;
update(data: IKeySharesPartialData): void;
/**
* Do all possible validations.
*/
validate(): Promise<any>;
/**
* Get the list of operators IDs.
*/
get operatorIds(): number[];
/**
* Get the list of operators public keys.
*/
get operatorPublicKeys(): string[];
}