@sodot/sodot-react-native-sdk • Docs
@sodot/sodot-react-native-sdk / Common
new Common():
Common
staticimportMultiplePrivateKeyShares(rawBackup):Promise<void>
Import all private key shares to be saved into the secure storage.
This function is used to restore all private key shares from a backup (created by retrieveAllPrivateKeySharesForBackup).
After this, all the private key shares will be stored in the secure storage of the device, and can be used with the other functions.
• rawBackup: string
Promise<void>
staticretrieveAllPrivateKeySharesForBackup():Promise<string>
Retrieve all private key shares saved on the device. The returned value is a hex string that encodes all the key materials. Notice: This value must be kept secret!
Promise<string>