Uniswap without TORN censoring
Go to file
Zach Pomerantz 8de6bb6d51
perf(swap): initialize swap inputs from url (#2402)
* fix(swap): use undefined as initial currencyId state

Null should be used for a selection state, not an unknown state. undefined may signify that a currency was passed in the URL but not yet parsed.

* perf(swap): initialize swap with url

Initializes SwapState with URL parameters so that currency input may be rendered on the first frame.

* test(swap): update hooks tests

* test: fix casing

* fix: check nullish to allow eg 0
2021-09-23 09:41:35 -07:00
.github chore(ci): configure dependabot to automatically update token lists 2021-09-22 12:52:11 -05:00
cypress refactor: add an import sorting plugin (#2417) 2021-09-21 18:21:28 -05:00
public perf(font): serve inter var from public (#2403) 2021-09-21 12:44:20 -07:00
src perf(swap): initialize swap inputs from url (#2402) 2021-09-23 09:41:35 -07:00
.env fix: walletconnect on L2 issues with Rainbow (#2242) 2021-08-24 12:01:53 -05:00
.env.production feat: allow walletconnect on testnets (#1389) 2021-05-13 17:46:30 -05:00
.eslintrc.json perf: import lodash only as modules (#2426) 2021-09-23 07:35:23 -07:00
.gitignore perf(i18n): bundle default locale with main chunk (#2405) 2021-09-21 12:20:53 -07:00
.nvmrc feature(storybook): first pass at storybook integration 2021-02-12 15:32:25 -05:00
.prettierignore feat(thegraph): auto-generate graphql types (#1926) 2021-06-28 16:43:24 -07: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
babel-plugin-macros.config.js use styled-components/macro to display className in dev builds (#1541) 2021-05-13 09:15:13 -04:00
codegen.yml feat(pools): fetch pool tick data from uniswap v3 subgraph (#1932) 2021-07-01 11:08:53 -07:00
CONTRIBUTING.md chore: copy edit on CONTRIBUTING.md 2021-07-22 16:14:55 -05:00
custom-test-env.js test: set up component snapshot testing (#2102) 2021-07-26 10:41:08 -07:00
cypress.json chore: support stubbing subgraph in integration tests (#2039) 2021-07-13 12:54:49 -07:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
lingui.config.ts chore: initial support for Swahili (Tanzanian) (#2397) 2021-09-21 15:41:58 -04:00
package.json chore(deps-dev): bump @uniswap/token-lists (#2425) 2021-09-22 17:32:47 -05:00
README.md Squashed commit of the following: 2021-09-05 13:26:47 -04:00
tsconfig.json chore: upgrade type system (#2276) 2021-09-01 12:38:10 -07:00
yarn.lock chore(deps-dev): bump @uniswap/token-lists (#2425) 2021-09-22 17:32:47 -05:00

Uniswap Interface

Unit Tests Integration Tests Lint Release Crowdin

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.

Unsupported tokens

Check out useUnsupportedTokenList() in src/state/lists/hooks.ts for blocking tokens in your instance of the interface.

You can block an entire list of tokens by passing in a tokenlist like here or you can block specific tokens by adding them to unsupported.tokenlist.json.

Contributions

For steps on local deployment, development, and code contribution, please see CONTRIBUTING.

Accessing Uniswap V2

The Uniswap Interface supports swapping, adding liquidity, removing liquidity and migrating liquidity for Uniswap protocol V2.

Accessing Uniswap V1

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