derion-io / trade-comp

MIT License
1 stars 2 forks source link

swap-interface

Installation and usage

  1. install package
  yarn
  1. install mockup package
  cd mockup
  yarn
  1. Open 2 terminal and run 2 parallel command
  yarn start

and

  yarn mockup:watch

Setup environment for build UI

Setup ganache and deploy contract

install ganache

https://github.com/trufflesuite/ganache-ui/releases/tag/v2.7.0-beta

Clone contract repo

https://github.com/derivable-labs/derivable-core and then please checkout brach v3-ganache

Deploy contract to ganache network

Setup Front - End

Clone frontend repo

https://github.com/derivable-labs/exposure-comp and then please checkout branch v3

Installation and usage

  1. install package
  yarn
  1. install mockup package
  cd mockup
  yarn
  1. Open 2 terminal and run 2 parallel command
  yarn start

and

  yarn mockup:watch