tKey js initializing

I am using tKey js module to create private key and its shares. In an exceptional case , i have the private key that is generated but i have lost the shares. So i wish to initialize tKey using this final private key that i get and then create additional shares. Is it possible ? How can i do this? Can someone point me to any sample code that i can refer to regarding this case ?

@abhisheksagu Thanks for your question.

Your issue has been forwarded to our Dev team and we will get back with further updates.

Hello @abhisheksagu
If you already initialized the tkey but lost the shares, you can’t recover your final key unless you set 2fa with additional share.
you need to reset your account once you can’t get back the share.

try looking at our quick start example over here. Thanks

hi @pepper ,
But i have the final private key. Can’t i initialize tKey with this private key and then since i would have access to the private key , i should be able to create more shares , right? Is there any code sample for that ?

hi @pepper , any updates on this ? I see there are method called importPrivateKey or _setPrivateKey and i tried to use them but i am still unable to initialize tKey using the private key of the user.

Hello @abhisheksagu
try using importKey? parameter when you initialize.
this parameter imports a key into tkey for initialisation.
check this documentation for more details.