795caac4fd
* basic support for desktop and mobile, with or without web3 * stable before mobile view update * mobile modal views * remove unused modules * create global context for wallet modal, update to click button to connect * first pass * drag with react pose * try without pose * replace context with new syntax, basic setup * stable version on all browser types * remove dev flags * fix swap broken * update to clickable connect button if logged out * stable, good entry * fix bugs, exit animations * prep for merge * stable version with updated application context * update animations with correct gesture package * refactor wallet logic to multi-root * small fixes * Style Updates * remove unused imports * refactor wallet page |
||
---|---|---|
.github | ||
public | ||
src | ||
.env.local.example | ||
.gitignore | ||
.prettierrc | ||
.travis.yml | ||
LICENSE | ||
netlify.toml | ||
package.json | ||
README.md | ||
yarn.lock |
Uniswap Frontend
This an an open source interface for Uniswap - a protocol for decentralized exchange of Ethereum tokens.
- Website: uniswap.io
- Docs: docs.uniswap.io
- Twitter: @UniswapExchange
- Reddit: /r/Uniswap
- Email: contact@uniswap.io
- Slack: uni-swap.slack.com/
- Whitepaper: Link
To Start Development
Install Dependencies
yarn
Configure Environment
Rename .env.local.example
to .env.local
and fill in the appropriate variables.
Run
yarn start
To run on a testnet, make a copy of .env.local.example
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}"
.
If deploying with Github Pages, be aware that there's some tricky client-side routing behavior with create-react-app
.
Contributions
Please open all pull requests against the beta
branch. CI checks will run against all PRs. To ensure that your changes will pass, run yarn check:all
before pushing. If this command fails, you can try to automatically fix problems with yarn fix:all
, or do it manually.