XRPL Key Derivation from TSS Key

When asking for help in this category, please make sure to provide the following details:

  • SDK Version: Web3SwiftMpcProvider 2.0.1
  • Platform: iOS

I utilize TSS key creation / signing in my SwiftUI iOS application. The Web3SwiftMpcProvider provides an EthereumTssAccount object for signing data.

Is there a straight forward way to include XRPL accounts in my application? Currently, the only way I can think of is to write an XRPLTssAccount package that mirrors the EthereumTssAccount. In order to do this I would need to fully understand the inner workings of how the TSS key is used to sign transactions.

Are there already plans to provide an XRPLTssAccount package in order to allow for TSS interaction with the XRPL?

Hey @nlobue. Yes, your interpretation is correct, Web3SwiftMPCProvider provides an EthereumTssAccount for signing.

There’s no straight forward way as of now. There are two options as of now, either write XRPLTssAccount, or use third party package to serialize transactions and generate EOA address.

For instance:

  • EOA address: You can get the extendedPubKey, and then use third party package which accepts the extendedPubKey to derive an EOA address.
  • For transactions: You can use the third party package to create transaction objects, serialize the transaction and use tssSign method to sign. Once you have signature, it can be used to broadcast the transaction.

We don’t have any plans for adding XRPLTssAccount, although I’ll confirm with team and update.

1 Like

Thanks for the reply @Ayush. Sounds good, I would appreciate the confirmation!

Hey @nlobue I had a talk with the team, we don’t have any plan to add the XRPL MPC Provider support at this moment.

1 Like

Sounds good, thanks @Ayush

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