I’m currently integrating both EVM and Solana wallets using your MPC Core Kit, and I’m using different TSS libraries:
@toruslabs/tss-dkls-lib for EVM (DKLS)
@toruslabs/tss-frost-lib for Solana (FROST)
I want to clarify the correct handling of tokenId and verifierId when initializing both instances for the same Google account.
Based on testing and documentation, my current understanding is:
tokenId (Google id_token) must be different for each TSS instance (i.e., one for DKLS and another for FROST), otherwise I get a “duplicate share” error.
verifierId can remain the same (e.g., the user’s email) across both instances, since the TSS libraries have different internal tssTags to distinguish key shares.
Could you please confirm if this is the correct and recommended approach when using MPC-TSS across chains?
Always generate a new Google idToken for each login/init per TSS instance.
Use the same verifierId (email) for both.
If you need more implementation details or run into issues, feel free to share your initialization/login code snippets or any error messages/screenshots for further assistance!
Let me know if you have any other questions or if you need sample code for this flow.
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.
Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours