Function splitPrivateKeyForSigners
- splitPrivateKeyForSigners(__namedParameters): Pick<ImportWalletBody, "curve" | "protocol" | "minSigners" | "encryptedKeyShares">
-
Parameters
-
__namedParameters: {
keyCurve: "ed25519" | "secp256k1" | "stark";
privateKey: Uint8Array | Buffer;
signers: {
encryptionKey: string;
signerId: string;
}[];
}
-
keyCurve: "ed25519" | "secp256k1" | "stark"
-
privateKey: Uint8Array | Buffer
-
signers: {
encryptionKey: string;
signerId: string;
}[]
Returns Pick<ImportWalletBody, "curve" | "protocol" | "minSigners" | "encryptedKeyShares">