The UI for Behodler is divided into a swap page and a dapps subdomain. This project is exclusively concerned with the swap sectiom
If you would like to submit a pull request, it's required that you test and run the dapp through the docker containers specified in docker-compose.
To start up the UI container,
npm start
To tear down the containers
npm stop
Do not try to install the node_modules manually. Instead run
npm run install:docker
which will run the container in the specified version of node known to work with the dependencies. It will then populate your local node_modules.
So as to simulate the mechanics of Behodler, a dev instance of ganache has been included with contracts pre deployed. To run the dev ganache as well as the dev server
npm run start:dev
In order to get free eth, you'll need to use the following seed phrase
eight fun oak spot hip pencil matter domain bright fiscal nurse easy
Do note that the images of the tokens will be out of sync because they don't correspond to mainnet images. This is normal.