Having keystore private key build final transaction payload for list of operators.
Example:
const privateKey = await ssvKeys.getPrivateKeyFromKeystoreFile(keystoreFilePath, keystorePassword); const encryptedShares = await ssvKeys.encryptShares(operatorsPublicKeys, shares); await ssvKeys.buildPayload(privateKey, encryptedShares)
Build threshold using private key for number of participants and failed participants. TODO: make it possible to choose how many fails can be in threshold
Encrypt operators shares using operators public keys.
Extract private key from keystore data using keystore password. Generally can be used in browsers when the keystore data has been provided by browser.
Generated using TypeDoc
Encode with Web3 eth abi method any fields of shares array required for transaction.