Stupid question, can I retain data on the mock network?

Still following the tutorial on https://hub.safedev.org/platform/web/ I have a question:

I’ve noticed how the entries do not retain the moment I leave the page.
Is that due to the mock network or the code?
Would an added entry retain on test network, but not on the mock network?

1 Like

Hey @folaht! It is indeed possible to retain data on the mock network, unless the MockVault file is deleted of course.

In the tutorial the createMutableData() function calls the safeApp.mutableData.newRandomPublic(typeTag) API every time the application starts, thus using a different mutable data every time.

4 Likes