fairDataSociety / fdp-storage

Serverless Web3 filesystem for organizing users' personal data implemented in Typescript.

Home Page:https://www.npmjs.com/package/@fairdatasociety/fdp-storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use case for "reuploadPortableAccount" unclear

rampall opened this issue · comments

// If necessary, the account can be re-uploaded to Swarm.
await fdp.personalStorage.reuploadPortableAccount('username', 'password')

From the readme it is unclear why this "reuploadPortableAccount" would be necessary.
Is it temporary for migration?
Is it mandatory to call this after registration?
When or how often should one reupload a portable account? And why is it needed?

@IgorShadurin can probably give the info.

// If necessary, the account can be re-uploaded to Swarm.
await fdp.personalStorage.reuploadPortableAccount('username', 'password')

From the readme it is unclear why this "reuploadPortableAccount" would be necessary. Is it temporary for migration? Is it mandatory to call this after registration? When or how often should one reupload a portable account? And why is it needed?

This feature is not required for registration or migration. It is needed for some cases when data may disappear from the storage (for example, the stamp has expired)