Uniswap without TORN censoring
Go to file
Noah Zinsmeister 4ef30cc8fd
merge prod into beta (#535)
* block some countries (#534)

* Adds min-width to custom slippage input. (#533)

On Firefox (maybe other browsers as well) the lack of min-width results in the default `input` element min-width which is ~92px.  This results in the flex container overflowing the bounding element.  By setting min-width to 20px, the box will instead grow to fill the available space, which is defined by its parent that has the pink border.  This avoids the overflow issue (as long as the parent doesn't get too small, which it won't at the moment since it is fixed size).
2019-12-05 15:39:35 -05:00
.github style edits 2019-10-29 16:02:44 -04:00
public merge prod into beta (#535) 2019-12-05 15:39:35 -05:00
src merge prod into beta (#535) 2019-12-05 15:39:35 -05:00
.env.local.example Fix i18n bug (#365) 2019-07-22 15:19:15 -04:00
.gitignore Add Custom url parameters (#423) 2019-09-17 18:47:32 -04:00
.prettierrc set up eslint and prettier; run prettier 2019-04-15 12:56:40 -04:00
.travis.yml merge beta to production (#317) 2019-05-30 16:42:25 -04:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
netlify.toml merge prod into beta (#535) 2019-12-05 15:39:35 -05:00
package.json Update to loading state for injected desktop browsers (#532) 2019-12-05 14:58:22 -05:00
README.md add better testnet support (#446) 2019-09-17 18:47:55 -04:00
yarn.lock Update to loading state for injected desktop browsers (#532) 2019-12-05 14:58:22 -05:00

Uniswap Frontend

Netlify Status Build Status Styled With Prettier

This an an open source interface for Uniswap - a protocol for decentralized exchange of Ethereum tokens.

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.