9c1fe53e4b
* initial refactoring * rebase lint error * start implementing reducer * multicall reducer * working multicall! * clean up performance, re-fix annoying error * use multicall everywhere * use multicall for balances * fix lint warning * Use checksummed address * Fix strict warning * get it to a working state with the more generic form * convert useETHBalances * Remove the eth-scan contract completely * Remove the eth-scan contract completely more * Default export * Put the encoding/decoding in the methods that can do it most efficiently * Avoid duplicate fetches via debounce * Reduce delay to something less noticeable * Return null if pair reserves are undefined to indicate it does not exist
1.8 KiB
1.8 KiB
Uniswap Frontend
An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
- Website: uniswap.org
- Docs: uniswap.org/docs/
- Twitter: @UniswapProtocol
- Reddit: /r/Uniswap
- Email: contact@uniswap.org
- Discord: Uniswap
- Whitepaper: Link
Accessing the frontend
To access the front end, use an IPFS gateway link from the latest release or visit uniswap.exchange.
Development
Install Dependencies
yarn
Configure Environment (optional)
Copy .env
to .env.local
and change the appropriate variables.
Run
yarn start
To have the frontend default to a different network, make a copy of .env
named .env.local
,
change REACT_APP_NETWORK_ID
to "{yourNetworkId}"
, and change REACT_APP_NETWORK_URL
to e.g.
"https://{yourNetwork}.infura.io/v3/{yourKey}"
.
Note that the front end only works properly on testnets where both Uniswap V2 and multicall are deployed. The frontend will not work on other networks.
Contributions
Please open all pull requests against the v2
branch.
CI checks will run against all PRs.