Uniswap without TORN censoring
Go to file
Moody Salem 27960532ca
refactor: use new sdk version (#1472)
* do not construct tokens for wrapped token info

* some cleanup of the wrapped token info

* back to extends, bump sdk core version via v2/v3 sdk updates

* Revert "back to extends, bump sdk core version via v2/v3 sdk updates"

This reverts commit 92cc5073

* update the sdk version

* fix some more uses of instanceof

* finish the refactor

* mess with the currency list performance

* start replacing with the latest v3/v2 sdks

* raw -> quotient

* more cleanup

* finish the refactor

* clean up currency list refactor

* fix list rendering

* perf(token lists): improve app performance when there are large inactive token lists (#1510)

* improve inactive token lists performance

* cleanup before larger changes to combine inactive lists

* only do the search if the query does not match any active lists, limit the number of results

* more performance improvements

* search inactive lists more aggressively
2021-05-12 08:52:17 -05:00
.github uncomment release workflow lines (will be disabled manually) 2021-04-21 12:48:43 -05:00
.storybook Start Position management, bug fix on add amounts (#40) 2021-04-16 15:33:26 -04:00
cypress New swap layout (#53) 2021-04-26 20:59:56 -05:00
public update copy 2021-05-05 13:06:26 -04:00
src refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
.env Merge branch 'main' into v3-main 2021-04-19 11:37:33 -05:00
.env.production chore(infura): rotate keys 2020-07-21 11:05:55 -05:00
.eslintrc.json add external abi types (#37) 2021-03-31 03:40:13 -04:00
.gitignore add external abi types (#37) 2021-03-31 03:40:13 -04:00
.nvmrc feature(storybook): first pass at storybook integration 2021-02-12 15:32:25 -05:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
.yarnrc fix(responsiveness): small tweaks for mobile 2020-07-06 21:26:38 -04:00
cypress.json feat(lists): allow selecting and adding token lists (#1023) 2020-08-26 08:46:21 -05:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
package.json refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00
README.md Merge branch 'main' into v3-main 2021-04-21 12:37:20 -05:00
tsconfig.json add typechain gen scripts (#36) 2021-03-30 03:51:37 -04:00
yarn.lock refactor: use new sdk version (#1472) 2021-05-12 08:52:17 -05:00

Uniswap Interface

Unit Tests Integration Tests Lint Release

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

Accessing the Uniswap Interface

To access the Uniswap Interface, use an IPFS gateway link from the latest release, or visit app.uniswap.org.

Listing a token

Please see the @uniswap/default-token-list repository.

Development

Install Dependencies

yarn

Run

yarn start

Configuring the environment (optional)

To have the interface default to a different network when a wallet is not connected:

  1. Make a copy of .env named .env.local
  2. Change REACT_APP_NETWORK_ID to "{YOUR_NETWORK_ID}"
  3. Change REACT_APP_NETWORK_URL to e.g. "https://{YOUR_NETWORK_ID}.infura.io/v3/{YOUR_INFURA_KEY}"

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

Contributions

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

Accessing Uniswap Interface V1

The Uniswap Interface supports swapping against, and migrating or removing liquidity from Uniswap V1. However, if you would like to use Uniswap V1, the Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.