2020-07-01 20:09:37 +03:00
|
|
|
# Uniswap Interface
|
2019-04-15 19:07:16 +03:00
|
|
|
|
2021-04-21 20:35:49 +03:00
|
|
|
[![Unit Tests](https://github.com/Uniswap/uniswap-interface/actions/workflows/unit-tests.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/unit-tests.yaml)
|
|
|
|
[![Integration Tests](https://github.com/Uniswap/uniswap-interface/actions/workflows/integration-tests.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/integration-tests.yaml)
|
|
|
|
[![Lint](https://github.com/Uniswap/uniswap-interface/actions/workflows/lint.yml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/lint.yml)
|
|
|
|
[![Release](https://github.com/Uniswap/uniswap-interface/actions/workflows/release.yaml/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions/workflows/release.yaml)
|
2019-04-15 19:07:16 +03:00
|
|
|
|
2020-05-08 20:51:47 +03:00
|
|
|
An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
|
2018-01-18 22:15:59 +03:00
|
|
|
|
2020-05-07 21:36:26 +03:00
|
|
|
- Website: [uniswap.org](https://uniswap.org/)
|
2020-06-30 21:13:27 +03:00
|
|
|
- Interface: [app.uniswap.org](https://app.uniswap.org)
|
2020-05-07 21:36:26 +03:00
|
|
|
- Docs: [uniswap.org/docs/](https://uniswap.org/docs/)
|
2021-05-24 20:11:59 +03:00
|
|
|
- Twitter: [@Uniswap](https://twitter.com/Uniswap)
|
2020-05-07 21:36:26 +03:00
|
|
|
- Reddit: [/r/Uniswap](https://www.reddit.com/r/Uniswap/)
|
|
|
|
- Email: [contact@uniswap.org](mailto:contact@uniswap.org)
|
2021-02-10 18:56:42 +03:00
|
|
|
- Discord: [Uniswap](https://discord.gg/FCfyBSbCU5)
|
2021-05-21 18:28:39 +03:00
|
|
|
- Whitepapers:
|
|
|
|
- [V1](https://hackmd.io/C-DvwDSfSxuh-Gd4WKE_ig)
|
|
|
|
- [V2](https://uniswap.org/whitepaper.pdf)
|
|
|
|
- [V3](https://uniswap.org/whitepaper-v3.pdf)
|
2019-12-12 19:57:43 +03:00
|
|
|
|
2020-06-30 21:13:27 +03:00
|
|
|
## Accessing the Uniswap Interface
|
2020-05-13 23:36:45 +03:00
|
|
|
|
2020-06-30 21:13:27 +03:00
|
|
|
To access the Uniswap Interface, use an IPFS gateway link from the
|
2021-02-16 11:31:16 +03:00
|
|
|
[latest release](https://github.com/Uniswap/uniswap-interface/releases/latest),
|
2020-06-30 20:53:18 +03:00
|
|
|
or visit [app.uniswap.org](https://app.uniswap.org).
|
2020-05-21 22:54:28 +03:00
|
|
|
|
|
|
|
## Development
|
2018-11-02 11:30:09 +03:00
|
|
|
|
2019-04-25 19:12:47 +03:00
|
|
|
### Install Dependencies
|
2018-11-02 11:30:09 +03:00
|
|
|
|
|
|
|
```bash
|
2021-05-14 01:46:30 +03:00
|
|
|
yarn install
|
2018-11-02 11:30:09 +03:00
|
|
|
```
|
|
|
|
|
2019-04-25 19:12:47 +03:00
|
|
|
### Run
|
2019-04-15 21:05:54 +03:00
|
|
|
|
2018-11-02 11:30:09 +03:00
|
|
|
```bash
|
2019-04-25 19:12:47 +03:00
|
|
|
yarn start
|
2018-11-02 11:30:09 +03:00
|
|
|
```
|
|
|
|
|
2019-04-15 21:05:54 +03:00
|
|
|
## Contributions
|
|
|
|
|
2021-04-19 19:04:58 +03:00
|
|
|
**Please open all pull requests against the `main` branch.**
|
2020-06-30 21:13:27 +03:00
|
|
|
CI checks will run against all PRs.
|
2020-06-01 18:20:05 +03:00
|
|
|
|
2021-05-17 18:14:35 +03:00
|
|
|
## Accessing Uniswap V2
|
2020-06-01 18:20:05 +03:00
|
|
|
|
2021-05-17 18:14:35 +03:00
|
|
|
The Uniswap Interface supports swapping, adding liquidity, removing liquidity and migrating liquidity for
|
|
|
|
Uniswap protocol V2.
|
|
|
|
|
|
|
|
- Swap on Uniswap V2: https://app.uniswap.org/#/swap?use=v2
|
|
|
|
- View V2 liquidity: https://app.uniswap.org/#/pool/v2
|
|
|
|
- Add V2 liquidity: https://app.uniswap.org/#/add/v2
|
|
|
|
- Migrate V2 liquidity to V3: https://app.uniswap.org/#/migrate/v2
|
|
|
|
|
|
|
|
## Accessing Uniswap V1
|
|
|
|
|
|
|
|
The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways
|
2020-07-01 20:09:37 +03:00
|
|
|
linked from the [v1.0.0 release](https://github.com/Uniswap/uniswap-interface/releases/tag/v1.0.0).
|