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.

12 lines (10 loc) 319 B
export class SSVKeysException extends Error { public trace: any; constructor(message: string) { super(message); this.name = this.constructor.name; Error.captureStackTrace(this, this.constructor); this.trace = this.stack; this.stack = `${this.name}: ${this.message}`; // Customizing stack } }