Wander Knowledge Base

What is Browser Storage? And how does Wander Connect use it?

Browser storage refers to client-side mechanisms that allow websites to store data directly on the user's computer within their web browser. This data is typically stored in key-value pairs and can be accessed by the website or other websites that share the same origin. Browser storage offers a persistent way to store data, even when the browser is closed or the user navigates to different pages.

Types of Browser Storage

Local Storage: Allows websites to store data with no expiration date. This data persists until the user manually clears it, or the browser is completely uninstalled.

Session Storage: Stores data for the duration of a user's browsing session. This data is lost when the user closes the browser tab or window.

Cookies: Small text files that are sent from a website to the user's browser. They are primarily used for tracking and authentication, and have size limitations.

IndexedDB: A more complex API for storing structured data, similar to a database, which allows for more complex data structures to be stored.

Benefits of Browser Storage

Improved User Experience: Allows websites to personalize content, remember user preferences, and provide a more seamless browsing experience.

Enhanced Performance: By storing data locally, websites can reduce the need to constantly query the server, leading to faster loading times.

Offline Access: Allows users to access certain website functionality even when they are not connected to the internet.

How does Wander Connect use Browser Storage

Wander Connect uses Shamir Secret Sharing to split users' private keys in 2 shares, one stored in the users' device aka Browser Storage and one stored in our servers. In order for users to use one of their Wander Connect, they need to authenticate and prove they have 1 of the shares. For users, this is the share stored in their Browser Storage.

If a user clears their Browser Storage, uninstalls their browser, or loses access to their device, the user loses access to the share stored on their device. The only way the user will be able to regain access to their Wander Connect wallet is if they backed up their wallet.

Download Wander to get started