27960532ca
* do not construct tokens for wrapped token info * some cleanup of the wrapped token info * back to extends, bump sdk core version via v2/v3 sdk updates * Revert "back to extends, bump sdk core version via v2/v3 sdk updates" This reverts commit 92cc5073 * update the sdk version * fix some more uses of instanceof * finish the refactor * mess with the currency list performance * start replacing with the latest v3/v2 sdks * raw -> quotient * more cleanup * finish the refactor * clean up currency list refactor * fix list rendering * perf(token lists): improve app performance when there are large inactive token lists (#1510) * improve inactive token lists performance * cleanup before larger changes to combine inactive lists * only do the search if the query does not match any active lists, limit the number of results * more performance improvements * search inactive lists more aggressively |
||
---|---|---|
.github | ||
.storybook | ||
cypress | ||
public | ||
src | ||
.env | ||
.env.production | ||
.eslintrc.json | ||
.gitignore | ||
.nvmrc | ||
.prettierrc | ||
.yarnrc | ||
cypress.json | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Uniswap Interface
An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
- Website: uniswap.org
- Interface: app.uniswap.org
- Docs: uniswap.org/docs/
- Twitter: @UniswapProtocol
- Reddit: /r/Uniswap
- Email: contact@uniswap.org
- Discord: Uniswap
- Whitepaper: Link
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:
- Make a copy of
.env
named.env.local
- Change
REACT_APP_NETWORK_ID
to"{YOUR_NETWORK_ID}"
- 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.