Backup and Restore RootIdentity
RootIdentity is created based on a set of mnemonics. With mnemonics, the private and public keys of RootIdentity can be recovered. Then, the published DID identity is synchronized by RootIdentity, and the corresponding private key is created. This method is applicable to creating paper keys backed up by users.
Export Mnemonic
Applications and users should safely store the exported mnemonic. If the mnemonic is exposed, the RootIdentity corresponding to the mnemonic and the private keys of all DIDs created by its derivatives will be leaked.
Restore RootIdentity from Mnemonic
Restore the RootIdentity from mnemonic
Generally, after restoring the creation of RootIdentity through mnemonics, the synchronization method of the RootIdentity object will be used to synchronize the DIDs that have been created and published by this root identity to the local store for convenience. When synchronizing DIDs, the default private keys corresponding to these DIDs will be automatically generated.
Last updated