Skip to content
/ ux Public
forked from leather-io/extension

This is a monorepo for the projects that the UX team at Blockstack PBC maintains: app, keychain, ui, connect.

License

Notifications You must be signed in to change notification settings

PiratDOM/ux

 
 

Repository files navigation

Blockstack UX Team Monorepo

This monorepo contains a few key packages that the User Experience team at Blockstack maintains:

  • app: An application for authenticating into Blockstack apps. Available as a web app and a browser extension.
  • @stacks/connect: A developer tool for building excellent user experiences in Blockstack apps
  • @stacks/ui: Blockstack's internal design system and React component library
  • @stacks/keychain: A library for Blockstack identity management
  • test-app: A simple React app for testing out Connect and the App.
  • ui-docs: A documentation site for @blockstack/ui.

Development environment setup

The first time you setup a development environment for this repository, follow these steps:

git clone https://github.com/blockstack/ux
cd ux
yarn
yarn bootstrap
  1. Clone this package.
  2. Run yarn to install dependencies
  3. Run yarn bootstrap to link dependencies within this repository

Running the apps locally

In the command line, run yarn dev which will run two apps:

  • packages/test-app which runs at localhost:3000 and implements an example of connect
  • packages/app which is the auth app, running at localhost:8080

For development instructions of specific packages, see the README in each package folder.

Building browser extensions

  1. From the root of this repository, in the command line, run sh build-ext.sh
  2. The extension will be packaged as connect-extension.zip inside this folder.

Optional - Build browser extensions using Docker

  1. Build the docker image locally:

    docker build . -t ux
  2. Copy the built extensions to your local machine:

    docker run -d --name ux ux && docker cp ux:connect-extension.zip . && docker rm -f ux

Install browser extension from source

First, unzip the connect-extension.zip file that was generated in the previous step.

If installing for Chrome or Brave:

  1. Go to: chrome://extensions
  2. Toggle: "developer mode" on.
  3. Click on: "Load unpacked"
  4. Select the new folder that was unzipped from connect-extension.zip.

If installing for Firefox:

  1. Go to: about:debugging
  2. Click on "This Firefox"
  3. Click on: "Load Temporary Add-on…"
  4. Inside the new folder that was unzipped from connect-extension.zip, select the manifest.json file.

About

This is a monorepo for the projects that the UX team at Blockstack PBC maintains: app, keychain, ui, connect.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 87.8%
  • JavaScript 10.4%
  • SCSS 1.1%
  • Other 0.7%