Once you have a Portal instance, you can now create a wallet for your user.
Portal
instance already, we recommend reading this page first.
In the MPC wallet creation process, two sets of key shares are generated. The signing key shares are used for signing transactions, and the backup key shares are used for recovery if the device storing a signing key share is lost.
The portal.createWallet
command initiates the MPC process to create a set of shares. The users’ signing shares are automatically stored in the user’s secure phone storage.
generate
function, you will be required to execute the recover
function before you can continue using your Portal wallet.