UNPKG

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.

15 lines (13 loc) 293 B
export interface IKeySharesPayload { sharesData: string; publicKey: string; operatorIds: number[]; update(data: any): any; validate(): void; build(data: any): any; } export interface IKeySharesPartialPayload { sharesData: string; publicKey: string; operatorIds: number[]; }