Uniswap without TORN censoring
Go to file
Moody Salem c1d35cc8b3
feat(migrate): adds the migrate flow to the uniswap exchange site
* links and page

* print all the details of the liquidity

* show working approve/migrate buttons

* testnet v1 factory addresses

* split code up into two pages

* getting closer to styled

* compute min amount out of eth and token

* compute min amount out of eth and token

* add a back button to the list page

* Improve empty states

* Improve the state management

* change the display of the migrate page to be more similar to original

* style fix, pending transaction hook fix

* add forwarding to netlify.toml

* handle case where v2 spot price does not exist because pair does not exist

* make ternaries more accurate

* handle first liquidity provider situation

* Style tweaks for migrate

* merge

* Address feedback
- show pool token amount
- show success when migration complete
- show price warning only if price difference is large

Co-authored-by: Callil Capuozzo <callil.capuozzo@gmail.com>
2020-06-03 14:07:01 -04:00
.github chore(release): fix changelog commit hashes 2020-05-27 12:29:49 -04:00
cypress Remove liquidity callback (#837) 2020-05-27 13:13:31 -04:00
public Fix i18n loading, manifest.json loading 2020-05-20 18:39:16 -05:00
src feat(migrate): adds the migrate flow to the uniswap exchange site 2020-06-03 14:07:01 -04:00
.env perf(reduce call volume): save a bunch of calls to infura when the tab is not focused, change infura IDs for v2 2020-05-26 13:36:09 -04:00
.env.production perf(reduce call volume): save a bunch of calls to infura when the tab is not focused, change infura IDs for v2 2020-05-26 13:36:09 -04:00
.eslintrc.json Move the github action to its own repo 2020-05-26 09:54:33 -04:00
.gitignore Introduce redux for one of the state stores (#742) 2020-05-11 18:23:01 -04:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
cypress.json Connect integration tests (#757) 2020-05-13 08:29:54 -04:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
netlify.toml feat(migrate): adds the migrate flow to the uniswap exchange site 2020-06-03 14:07:01 -04:00
package.json perf(cleanup): remove the material ui dependency for the input range 2020-05-30 21:22:59 -04:00
README.md chore(v1): add ipfs links for v1 to the v1 release 2020-06-01 11:20:05 -04:00
tsconfig.json Turn linting errors off so CI passes 2020-05-08 15:57:51 -04:00
tsconfig.strict.json perf(ethereum): reduce number of calls by batching all polling node calls (#840) 2020-05-28 21:17:45 -04:00
yarn.lock perf(cleanup): remove the material ui dependency for the input range 2020-05-30 21:22:59 -04:00

Uniswap Frontend

Tests Styled With Prettier

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

Accessing the frontend

To access the front end, use an IPFS gateway link from the latest release or visit uniswap.exchange.

Development

Install Dependencies

yarn

Configure Environment (optional)

Copy .env to .env.local and change the appropriate variables.

Run

yarn start

To have the frontend default to a different network, make a copy of .env 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}".

Note that the front end only works properly on testnets where both Uniswap V2 and multicall are deployed. The frontend will not work on other networks.

Contributions

Please open all pull requests against the v2 branch. CI checks will run against all PRs.

Accessing Uniswap V1 interface

The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.