.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
The front end is deployed to IPFS as well as to uniswap.exchange.
To access the front end via IPFS, use a link from the latest release.
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.