Skip to content

πŸ¦„ An open source interface for the Uniswap protocol

License

Notifications You must be signed in to change notification settings

avinashmail/uniswap-interface

This branch is 4452 commits behind Uniswap/interface:main.

Folders and files

NameName
Last commit message
Last commit date
Oct 1, 2020
Sep 24, 2020
Oct 1, 2020
Oct 1, 2020
Jul 21, 2020
Jul 21, 2020
May 26, 2020
May 11, 2020
Apr 15, 2019
Jul 7, 2020
Jul 23, 2019
Sep 24, 2020
Aug 26, 2020
Sep 29, 2020
Sep 24, 2020
Sep 29, 2020

Repository files navigation

Uniswap Interface

Lint Tests Styled With Prettier

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 master 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.

About

πŸ¦„ An open source interface for the Uniswap protocol

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.3%
  • Other 0.7%