Search…
ShapeShift DAO Web Interface
This project was bootstrapped with Create React App.
ShapeShiftsOSS 2nd generation Web application. (Under Development)

Table Of Contents

Helpful Docs

Resources

Dependencies

Developer Onboarding

  • Install Dependencies:
    1
    yarn
    Copied!
  • Run server
    1
    yarn dev
    Copied!

Commands

Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits. You will also see any lint errors in the console.
1
yarn dev
Copied!
Launches the test runner in the interactive watch mode. See the section about running tests for more information.
1
yarn test
Copied!
Launches the test runner and prints out the coverage of the tests that were run. It also creates an html page you can interact with at the root level of the project in /coverage.
1
yarn test:coverage
Copied!
Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
See the section about deployment for more information.
1
yarn build
Copied!

Linking

If you are working with any @shapeshiftoss dependencies use yarn link These next steps will show you how to link to the chain-adapters repo From your projects folder:
  1. 1.
    cd ./lib/chain-adapters && yarn link
  2. 2.
    cd ..../web/ && yarn link @shapeshiftoss/chain-adapters
Now your web's chain-adapters have a symlink to your lib's
You can use yarn run show-linked-packages to show what is currently symlinked via yarn
Last modified 9mo ago