809841df0a
* feat: new app provider w/ fallback behavior * progress * update useContractX signer params * Revert "update useContractX signer params" This reverts commit 386d1580dff77338810a4b31be38efd039d4b138. * extend jsonrpcprovider * add mainnet quicknode example, use old staticJsonRpc extension * add tests * unit testing * fixes to tests/tsc * Update src/state/routing/gas.ts Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> * pr review * e2e tests should only talk to the chain via connected wallet * Revert "e2e tests should only talk to the chain via connected wallet" This reverts commit 0ce76eb7e4132917a52b49531db871a189448e51. * add charlie's null nit * fix e2e * add feature flag * Update cypress/support/setupTests.ts Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> * pr review * pr feedback * fix tests * add generic send test * fix merge error * add a failure rate calculation and inline comments on scoring algo w/ an example * fix sort test * cleaner provider creation * simplify sort --------- Co-authored-by: Zach Pomerantz <zzmp@uniswap.org> |
||
---|---|---|
.github | ||
.husky | ||
.vscode | ||
cypress | ||
eslint_rules | ||
functions | ||
patches | ||
public | ||
scripts | ||
src | ||
.env | ||
.env.production | ||
.eslintrc.js | ||
.gitignore | ||
.npmrc | ||
.nvmrc | ||
.snyk | ||
.swcrc | ||
codecov.yml | ||
codegen.yml | ||
CONTRIBUTING.md | ||
craco.config.cjs | ||
cypress.config.ts | ||
graphql.data.codegen.config.ts | ||
graphql.data.config.js | ||
graphql.thegraph.codegen.config.ts | ||
graphql.thegraph.config.js | ||
hardhat.config.js | ||
LICENSE | ||
lingui.config.ts | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Uniswap Labs Interface
An open source interface for Uniswap -- a protocol for decentralized exchange of Ethereum tokens.
- Website: uniswap.org
- Interface: app.uniswap.org
- Docs: uniswap.org/docs/
- Twitter: @Uniswap
- Reddit: /r/Uniswap
- Email: contact@uniswap.org
- Discord: Uniswap
- Whitepapers:
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.
- Swap on Uniswap V2: https://app.uniswap.org/swap?use=v2
- View V2 liquidity: https://app.uniswap.org/pools/v2
- Add V2 liquidity: https://app.uniswap.org/add/v2
- Migrate V2 liquidity to V3: https://app.uniswap.org/migrate/v2
Accessing Uniswap V1
The Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.