Creates a new wallet and generates addresses for supported chains.
usingProgressCallback
: An optional callback for tracking the progress of wallet creation. It receives an MpcStatus
object with the following
statuses
:
generatingShare
: Creating the initial shareparsingShare
: Processing the share datastoringShare
: Saving the encrypted sharedone
: Process completeddone
: Boolean indicating whether the whole operation is completePortalCreateWalletResponse
: Contains the following:
ethereum
: Generated Ethereum addresssolana
: Generated Solana addressPortalClassError.cannotCreateWallet
: If the wallet creation process fails.