Uniswap without TORN censoring
Go to file
Moody Salem 7ee761a59e
feat: automatic slippage tolerance (#1463)
* automatic slippage tolerance start

* get it compiling

* out of range/in range behavior of slippage tolerance in add

* small useDerivedSwapInfo refactor

* improve useSwapSlippageTolerance

* fix unit test

* thread placeholder slippage through

* small improvement to slippage input behavior

* fix the display bug

* fix tx settings modal ux

* don't pass props unnecessarily

* switch back to static swap slippage for now

bump migrate slippage to .75%

* fix font size

* add flag for auto slippage migration

validate version updates even more

Co-authored-by: Noah Zinsmeister <noahwz@gmail.com>
2021-05-11 13:00:42 -04: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 feat: automatic slippage tolerance (#1463) 2021-05-11 13:00:42 -04: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 Add App-level error boundary, referring users to GitHub issue creation (#1464) 2021-05-11 12:09:01 -04: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 Add App-level error boundary, referring users to GitHub issue creation (#1464) 2021-05-11 12:09:01 -04: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.