In the MPC wallet generation 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 shares is lost. TheDocumentation Index
Fetch the complete documentation index at: https://docs.portalhq.io/llms.txt
Use this file to discover all available pages before exploring further.
generate command initiates the MPC process to create a set of shares. The users share and the wallet address is automatically stored in the user’s secure phone storage.
Once you have a Portal instance, you can now generate a wallet. In the example below, we create a Generate Wallet button:
WARNING: To create a wallet with the Portal SDK, your device must be configured to use passcode authentication. If you change your passcode, your Portal wallet will continue to operate as expected. However, if you disable passcode authentication after running the
generate function, you will be required to execute the recover function before you can continue using your Portal wallet.