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/connect-react
: A library for using @stacks/connect
in React apps@stacks/connect-ui
: WebComponent-based UI for displaying an intro modal in Stacks Apps during authentication.test-app
: A simple React app for testing out Connect and the App.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
yarn
to install dependenciesyarn bootstrap
to link dependencies within this repositoryIn the command line, run yarn dev
which will run two apps:
packages/test-app
which runs at localhost:3000 and implements an example of connectpackages/app
which is the auth app, running at localhost:8080For development instructions of specific packages, see the README
in each package folder.
sh build-ext.sh
stacks-wallet-chromium.zip
inside this folder.Build the docker image locally:
docker build . -t ux
Copy the built extensions to your local machine:
docker run -d --name ux ux && docker cp ux:stacks-wallet-chromium.zip . && docker rm -f ux
First, unzip the stacks-wallet-chromium.zip
file that was generated in the previous step.
If installing for Chrome or Brave:
stacks-wallet-chromium.zip
.If installing for Firefox:
stacks-wallet-chromium.zip
, select the manifest.json
file.