Skip to main content
Function Signature
Parameters
  • usingProgressCallback: An optional callback for tracking the progress of wallet creation. It receives an MpcStatus object with the following
    • statuses:
      • generatingShare: Creating the initial share
      • parsingShare: Processing the share data
      • storingShare: Saving the encrypted share
      • done: Process completed
    • done: Boolean indicating whether the whole operation is complete
Returns
  • PortalCreateWalletResponse: Contains the following:
    • ethereum: Generated Ethereum address
    • solana: Generated Solana address
    Throws
    • PortalClassError.cannotCreateWallet: If the wallet creation process fails.
    Example Usage