Uniswap without TORN censoring
Go to file
Jordan Frankfurt d3085c1f3c
feat: Add BNB Network support (#6036)
* Support BNB Chain

* Update Interface with BNB Chain

* use SupportedChainId from sdk

* yarn-deduplicate

* add rpc urls

* add support for arbitrum goerli

* add arbitrum_goerli to jsonrpc list

* remove eslint disables

* remove non-existent gql gen Chain type

* fix import issues

* fix test

* Update src/utils/getExplorerLink.ts

Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>

* add quicknode rpc as primary

* bump universal router sdk to support bnb chain

* add correct network name for asset repo indexing

* add v3 smart order router

* yarn-deduplicate --strategy=highest

* let ethersproject stuff update

* remove safety test that is no longer relevant

* update network info link

* fix block explorer stuff, fix light theme

* add subgraph support

* update quicknode rpc

* update the wrapped BNB token symbol to WBNB

* update useStablecoinPrice api to support loading states

* update useStablecoinPrice api to support loading states

* Revert "update useStablecoinPrice api to support loading states"

This reverts commit c1fa6297d06fdf5100c1d5dfea6a820f7a0eeb7b.

* Revert "update useStablecoinPrice api to support loading states"

This reverts commit 2e703552b591fd56d032fe35afab9ead911f2ab2.

* fix copy and quote token for non-eth networks

* add coingecko bnb list

* fix: design treatment from @infredible for bnb support (#6052)

merging in current state--can merge again when the rest is ready

* fix info site links

* fix: don't show a price impact warning if the user is (un)wrapping

* finish switching to chains/constants

* fix chainId test

* fred's bnb background colors

* pr feedback from zzmp

* update sdk-core

* remove unused image

* update bnb chain asset url extension

* new addresses

* fix test and patch sdk-core version to use BNB instead of BSC

* checking in this weird schema file--maybe a mistake?

* remove temp file

* fix bases

* fix network bridge alert text color

* fix: widget defaultToken resetting on TDP

---------

Co-authored-by: ILIA.eth <4621066+ilyamk@users.noreply.github.com>
Co-authored-by: Tina <59578595+tinaszheng@users.noreply.github.com>
Co-authored-by: lynn <41491154+lynnshaoyu@users.noreply.github.com>
Co-authored-by: Tina Zheng <tina.s.zheng+github@gmail.com>
Co-authored-by: Eddie Dugan <eddie.dugan@uniswap.org>
2023-03-15 09:00:09 -05:00
.github chore: add reviewers to dependabot PRs (#6095) 2023-03-07 12:45:36 -08:00
.vscode chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
cypress feat: cards v2 (#6048) 2023-03-14 15:38:39 -04:00
patches build: patch vanilla extract to speed up build time (#4447) 2022-08-23 12:02:27 -04:00
public fix: theme-aware root element color (#5788) 2023-01-05 09:20:56 -08:00
scripts feat: cards v2 (#6048) 2023-03-14 15:38:39 -04:00
src feat: Add BNB Network support (#6036) 2023-03-15 09:00:09 -05:00
.env feat: Add BNB Network support (#6036) 2023-03-15 09:00:09 -05:00
.env.production feat: Add BNB Network support (#6036) 2023-03-15 09:00:09 -05:00
.eslintignore chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
.eslintrc.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
.gitignore build: ignore types and hooks and update test-size (#6117) 2023-03-09 14:27:46 -08:00
.npmrc build: enforce node/npm versions (#4434) 2022-08-22 13:55:48 -04:00
.nvmrc build: update .nvmrc (#5559) 2022-12-07 12:55:36 -05:00
.snyk build: bump widgets/universal-router-sdk (#5582) 2022-12-12 11:21:22 -05:00
apollo-codegen_thegraph.ts chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
apollo-codegen.ts chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
babel-plugin-macros.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
codegen.yml feat: data api connection (#4396) 2022-08-19 15:31:10 -04:00
CONTRIBUTING.md test: enforce package size (#4098) 2023-03-07 09:27:20 -08:00
craco.config.cjs build: fix vanilla-extract for M1 (#6058) 2023-03-03 09:56:33 -08:00
cypress.config.ts build: change cypress timeout to 24s (#5690) 2022-12-15 09:29:47 -05:00
cypress.release.config.ts build: wait 1m between release tests (#4077) 2022-07-11 13:24:01 -04:00
graphql_thegraph.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
graphql.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
lingui.config.ts chore: merge widgets work into main (#3065) 2022-01-05 12:38:53 -06:00
package.json feat: Add BNB Network support (#6036) 2023-03-15 09:00:09 -05:00
README.md feat: add jest coverage to github action (#5850) 2023-02-02 14:06:15 -06:00
tsconfig.json chore: upgrade react-spring version (#4770) 2022-09-30 13:09:06 -04:00
yarn.lock feat: Add BNB Network support (#6036) 2023-03-15 09:00:09 -05:00

Uniswap Labs Interface

codecov

Unit Tests Integration Tests Lint Release Crowdin

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

Accessing the Uniswap Interface

To access the Uniswap Interface, use an IPFS gateway link from the latest release, or visit app.uniswap.org.

Unsupported tokens

Check out useUnsupportedTokenList() in src/state/lists/hooks.ts for blocking tokens in your instance of the interface.

You can block an entire list of tokens by passing in a tokenlist like here

Contributions

For steps on local deployment, development, and code contribution, please see CONTRIBUTING.

Accessing Uniswap V2

The Uniswap Interface supports swapping, adding liquidity, removing liquidity and migrating liquidity for Uniswap protocol V2.

Accessing Uniswap V1

The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.