There are a few things that need to be done before Generating MPC Keys. First, you must ensure you initialize the SDK if you are using the ncw-js SDK or iOS SDK.
Scroll down on this developer guide on initializing the SDK Initializing the SDK
If you have already done so, please tell me which SDK you are using so I can better help here.
These are the logs when generateMPCKeys is called … don’t understand why this stop_mpc_key_setup is called just after getting MPC setup already in progress and then it throws that Unsupported Operation for stop_mpc_key_setup
and then after these calls i also do status update using keysStatus?.MPC_CMP_ECDSA_SECP256K1?.keyStatus
So keystatus goes to 73% i.e SETUP_COMPLETE status but then later on it fails and never becomes READY status , as shown in the below log it throws an error again
Thank you for sharing this info, I want to check if you are on latest version of the ncw js SDK(v12.4.1). This error could be related to how state is being managed on the front-end
I recommend taking a look at the code examples on how to complete the setup with a react demo
Updated the sdks to latest versions … and the function to call the mpc generateKey was doing it 2 times instead of one … so on the second call i think the sdk is trying to stop_mpc_key_setup which resulted in that Unsuported operation (i think sdk should handle that function also) and thats why whole key generation process was failing