How to retrieve account?

  • SDK Version: “@web3auth/mpc-core-kit”: “^1.2.0”
  • Platform: macBook pro M1
  • Browser Console Screenshots:

    The error in the screenshot occurred when I logged in with my google account, it seems that one share is required but it doesn’t exist.
    Before that happened, I have called enableMFA interface, so I stored one share(share A) in my pc. Besides, I have also copied another share(share B) which is stored in the browser local storage.
    I tried to retrieve the missing share by calling
 const DeviceKeyBN = new BN(DeviceKey, "hex");
 await coreKitInstance.inputFactorKey(DeviceKeyBN);

but get an error as below whether I use share A or share B.


My question is how to retrieve my account with share A and share B?

@binwang.neu Welcome Aboard!

Your request has been forwarded to our Dev team and we will get back with an update.

Thank you for your reply, my problem has been solved, so I close the post.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.