Uniswap without TORN censoring
28c916ff45
* give add liquidity the reducer treatment rename setDefaultsFromURL to setDefaultsFromURLSearch * fix tests and crash * rework DOM structure to make flow more natural * allow slippage + deadline setting in add liquidity * migrate burn * disable token selection in mint clear input between pairs * reset fields between pairs * tweak helper text * address review comments |
||
---|---|---|
.github | ||
cypress | ||
public | ||
src | ||
.env | ||
.env.production | ||
.eslintrc.json | ||
.gitignore | ||
.prettierrc | ||
cypress.json | ||
LICENSE | ||
netlify.toml | ||
package.json | ||
README.md | ||
tsconfig.json | ||
tsconfig.strict.json | ||
yarn.lock |
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 eth-scan 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.