Uniswap without TORN censoring
Go to file
Brendan Wong ef5065de48
feat: wrangler infra and test environment (#6797)
* feat: add token and nft injection

* feat: basic tests

* fix: get jest configured properly

* fix: change timeout

* fix: uninstall port ready

* fix: readd port ready

* fix: local tests work

* fix: remove other stuff to make this pr smaller

* fix: remove unneeded dependencies

* fix: remove port-ready

* Update yarn.lock

* fix: add lint disable due to module exports for jest

* fix: added waitPort

* fix: deduplicated things?

* Update package.json

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>

* update typing

* change tests to typescript instead of javascript

* changing typing of globalThis servers

* yarn deduplicate

* Update functions/global-teardown.ts

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>

* Update functions/global.d.ts

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>

* Update functions/tsconfig.json

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>

* Update functions/tsconfig.json

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>

* Update package.json

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>

* change dependencies to dev dependencies

* final touches

---------

Co-authored-by: Zach Pomerantz <zzmp@uniswap.org>
2023-07-07 11:41:09 -04:00
.github build: set test status per commit (#6824) 2023-07-05 14:42:43 -07:00
.vscode build: add vscode settings for default formatter (#6644) 2023-05-25 08:22:51 -10:00
cypress feat: upgrade sdk-core to 3.2.6 and add AVAX (#6757) 2023-07-06 21:44:06 -07:00
eslint_rules build: use webpack-retry-chunk-load-plugin (#6885) 2023-07-06 17:54:49 -04:00
functions feat: wrangler infra and test environment (#6797) 2023-07-07 11:41:09 -04:00
public chore: add CODEOWNERS to public (#6813) 2023-06-23 14:41:14 -04:00
scripts feat: upgrade to node 18 (#6606) 2023-06-06 11:59:03 -07:00
src feat: add user id to sentry (#6896) 2023-07-07 11:14:36 -04:00
.env feat(wallet-connect): add support for v2 (#6582) 2023-06-07 11:11:08 -05:00
.env.production feat: use new consolidated signing endpoint (#6222) 2023-03-22 21:41:17 -05:00
.eslintrc.js build: use webpack-retry-chunk-load-plugin (#6885) 2023-07-06 17:54:49 -04:00
.gitignore chore: rm committed t9n (#6792) 2023-06-22 09:30:06 -04:00
.npmrc build: enforce node/npm versions (#4434) 2022-08-22 13:55:48 -04:00
.nvmrc feat: upgrade to node 18 (#6606) 2023-06-06 11:59:03 -07:00
.snyk build: bump widgets/universal-router-sdk (#5582) 2022-12-12 11:21:22 -05:00
babel-plugin-macros.config.js chore: use @uniswap eslint preset (#5556) 2022-12-21 03:08:20 +04:00
codecov.yml build: make codecov reports consistent/not confusing (#6734) 2023-06-09 11:00:27 -07: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: use webpack-retry-chunk-load-plugin (#6885) 2023-07-06 17:54:49 -04:00
cypress.config.ts test(e2e): use electron (#6827) 2023-07-05 13:30:54 -07:00
graphql.data.codegen.config.ts fix: Handle new and unsupported chains passed in from GQL BE (#6878) 2023-07-05 21:31:30 -07:00
graphql.data.config.js build: cache generated files across builds (#6495) 2023-05-09 15:49:53 -07:00
graphql.thegraph.codegen.config.ts build: cache generated files across builds (#6495) 2023-05-09 15:49:53 -07:00
graphql.thegraph.config.js build: cache generated files across builds (#6495) 2023-05-09 15:49:53 -07:00
hardhat.config.js feat: upgrade sdk-core to 3.2.6 and add AVAX (#6757) 2023-07-06 21:44:06 -07:00
LICENSE add tokens, do some summer cleaning (#368) 2019-07-23 13:50:31 -04:00
lingui.config.ts chore: rm pseudo locale (#6794) 2023-06-21 10:45:03 -04:00
package.json feat: wrangler infra and test environment (#6797) 2023-07-07 11:41:09 -04:00
README.md docs: Update PR template (#6235) 2023-03-28 11:31:11 -04:00
tsconfig.json build: upgrade to webpack5 with polyfilled Buffer (#6568) 2023-05-15 14:07:05 -07:00
yarn.lock feat: wrangler infra and test environment (#6797) 2023-07-07 11:41:09 -04: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.

PR Title

Your PR title must follow conventional commits, and should start with one of the following types:

  • build: Changes that affect the build system or external dependencies (example scopes: yarn, eslint, typescript)
  • ci: Changes to our CI configuration files and scripts (example scopes: vercel, github, cypress)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bug fix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
  • test: Adding missing tests or correcting existing tests

Example commit messages:

  • feat: adds support for gnosis safe wallet
  • fix: removes a polling memory leak
  • chore: bumps redux version

Other things to note:

  • Please describe the change using verb statements (ex: Removes X from Y)
  • PRs with multiple changes should use a list of verb statements
  • Add any relevant unit / integration tests
  • Changes will be previewable via vercel. Non-obvious changes should include instructions for how to reproduce them

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.