Uniswap without TORN censoring
Go to file
Justin Domingue 251d7c0bc2
Fix NFT SVG performance issue in browser (#1509)
* only animate NFT SVG on hover by using a canvas

* handle high dpis

* animation transition between canvas and img

* set start state to not animated

* removed animations that were causing issues on Firefox

* simplify code

* remove debugger statement

* remove useEffect in favor of an event handler

* hide canvas without unmounting to avoid blinking

* fix lint error

* fix flicker on hover by leaving canvas always visible

* add comment about z-index

Co-authored-by: Justin Domingue <domingue.justin@gmail.com>
2021-05-12 13:02:52 -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 Fix NFT SVG performance issue in browser (#1509) 2021-05-12 13:02:52 -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 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.