Uniswap without TORN censoring
Go to file
2020-01-08 12:28:00 -05:00
.github Remove setup and move to root README 2019-12-12 10:34:28 -05:00
public Updated de.json (#576) 2019-12-30 14:58:45 -05:00
src add warnign for broken ERC20 (#589) 2020-01-08 12:28:00 -05:00
.env.local.example hot fix for dapp browsers 2019-12-05 16:29:53 -05:00
.gitignore Add Custom url parameters (#423) 2019-09-17 18:47:32 -04:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
.travis.yml merge beta to production (#317) 2019-05-30 16:42:25 -04:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
netlify.toml merge prod into beta (#535) 2019-12-05 15:39:35 -05:00
package.json address spam (#587) 2020-01-06 19:47:23 -05:00
README.md Update README.md 2019-12-12 14:02:59 -05:00
yarn.lock address spam (#587) 2020-01-06 19:47:23 -05:00

Uniswap Frontend

Netlify Status Build Status Styled With Prettier

This an an open source interface for Uniswap - a protocol for decentralized exchange of Ethereum tokens.

Run Uniswap Locally

  1. Download and unzip the build.zip file from the latest release in the Releases tab.

  2. Serve the build/ folder locally, and access the application via a browser.

For more information on running a local server see https://developer.mozilla.org/en-US/docs/Learn/Common_questions/set_up_a_local_testing_server. This simple approach has one downside: refreshing the page will give a 404 because of how React handles client-side routing. To fix this issue, consider running serve -s courtesy of the serve package.

Develop Uniswap Locally

Install Dependencies

yarn

Configure Environment

Rename .env.local.example to .env.local and fill in the appropriate variables.

Run

yarn start

To run on a testnet, make a copy of .env.local.example named .env.local, change REACT_APP_NETWORK_ID to "{yourNetworkId}", and change REACT_APP_NETWORK_URL to e.g. "https://{yourNetwork}.infura.io/v3/{yourKey}".

If deploying with Github Pages, be aware that there's some tricky client-side routing behavior with create-react-app.

Contributions

Please open all pull requests against the beta branch. CI checks will run against all PRs. To ensure that your changes will pass, run yarn check:all before pushing. If this command fails, you can try to automatically fix problems with yarn fix:all, or do it manually.