status-go icon indicating copy to clipboard operation
status-go copied to clipboard

Fetching data from Waku

Open saledjenic opened this issue 2 years ago • 0 comments

As can be seen in this screen if an old Status user is running the app for the first time (new app installation), he should be able to login in any of 3 ways displayed in that screen.

Now if we follow in related figma Enter a seed phrase flow, we see that after user enters his seed phrase we should start fetching user's data process from the Waku and while that's running in the background, since that take for a while, to display Securely transferring data... screen. Now after data are fetched we should proceed to the app.

For this feature we need to fetch all user's related data like display name, user photo, user's settings, created wallet's accounts and everything else we need to configure the app properly for the user.

Would be great to have status-go endpoints like fetchDataBySeedPhrase(seedPhrase) and once that process is done, regardless the data are fetched or not in 100% cases to receive a signal like dataSuccessfullyFetched() or failedToFetchData(errorDescription).

saledjenic avatar Aug 08 '22 12:08 saledjenic