generateSolanaWallet

suspend fun generateSolanaWallet(progress: (status: MpcStatus) -> Unit = {}): Result<String>

Generates a new Solana wallet for the client, ensuring that an Ethereum wallet already exists.

Return

A Result containing the Solana wallet address as a string, or an exception if the operation fails.

Parameters

progress

A lambda function to track the progress of wallet generation.

Throws

If no Ethereum wallet is found, if a wallet modification is already in progress, or if there are issues generating or storing the Solana wallet.