The first step to the MPC process is generating key shares, or a wallet, for your users.
portal.createWallet
command initiates the MPC process to create a set of shares for each curve we support (for example, Ethereum uses curve SECP256K1 and Solana uses curve ED25519). The users’ shares are automatically stored in the user’s secure phone storage using your configured mobile storage adapter.
createWallet
function, you will be required to execute the recover
function before you can continue using your Portal wallet.