Storage
Browser
The Storage.browser()
adapter uses the browser’s localStorage
API to store data.
This adapter should be used by dApps that run in the browser. For browser extensions,
use the Storage.extension() adapter.
Example
Limitations
The localStorage
API limits the amount of data that can be stored to 5MB. We recommend
using the quota
option to limit the amount of data that is stored to avoid hitting
this limit, especially if you are storing other data in localStorage
as well.