Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.84 KB

File metadata and controls

35 lines (23 loc) · 1.84 KB

Onboarding Pages

Onboarding Single Page Application

Package Contents

  • src: source code for the Snickerdoodle Protocol SPA which handles web-based interaction with the data wallet

Summary

Onboarding SPA

This package contains a React-based web application, the purpose of which is to serve as the primary user interface to the mobile and browser extension form factors of the Snickerdoodle Data wallet. The onboarding pages currently allow the user to:

  1. Cryptographically link an Externally Owned Account (EOA)
  2. Link your Google Account and import (or manually fill in) basic location and demographic information
  3. View and manage the contents of your linked crypto and SSO accounts

The SPA expects that the data wallet will inject its API into the DOM. In the case where the API is not detected, the SPA will direct the user to install an appropriate form-factor of the data wallet.

Getting Started

If you are contributing to this project and developing on your local machine, you must run the SPA application when trying to use a local build of the extension. Use the following commands to create a local webserver on port 9001 serving the onboarding SPA:

cd /packages/extensions-onboarding/
yarn install
yarn build
yarn start

You should then be able to visit http://localhost:9001 and see the onboarding application.