Skip to content

Latest commit

 

History

History
65 lines (47 loc) · 3.16 KB

README.md

File metadata and controls

65 lines (47 loc) · 3.16 KB

Uniswap Labs 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.

Validating IPFS Hash

git clone <this repository>
cd uniswap-frontend
docker image build --tag uniswap-frontend .
docker container run --rm -it --entrypoint cat uniswap-frontend ipfs_hash.txt

If your docker host has IPFS running locally, you can run the container built in the steps above to add the files to your local IPFS instance:

docker container run --rm -it uniswap-frontend