Skip to main content

Progress Callback Support

The portal.createWallet(), portal.backupWallet(), and portal.recoverWallet() functions all support an optional argument for a progress callback. This is a function that will be triggered at key points within these respective MPC operations to provide incremental updates, These incremental updates enable you to update your UI as the MPC operation progresses.

Using Progress Callbacks

MPC Statuses

These are all the possible statuses that will be returned through the callbacks on the MPC operations.

Generate Status Flow

Backup Status Flow

Recover Status Flow