.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 | ||
vercel.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 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.
Accessing Uniswap V1 interface
The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.