878fc9cf4d
* Update index.ts * feature(service worker): add offline support (#1319) * Revert "feature(service worker): add offline support (#1319)" (#1320) This reverts commit 34dfb41a1e0a647596c5d37d5e3f7baa6c4005a3. * Revert "Revert "feature(service worker): add offline support (#1319)" (#1320)" (#1321) This reverts commit db3328c8d9d7ea7b7cf7e75dc658714798d007a4. * unregisters all installed service workers (#1322) * fix: modals stealing focus across frames (#1326) * improvement(lists): add BA SEC tokens to unsupported list (#1327) * show hidden search results by default * update break styles * optimize filter, use debounce on input * increase debounce time * add ba association list * handle dismiss (#1328) * split up sdk use between core and v2 * Fix code style issues with ESLint * remove service worker Co-authored-by: Moody Salem <moodysalem@users.noreply.github.com> Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com> Co-authored-by: Hyperion <72735936+moontools-hyperion@users.noreply.github.com> Co-authored-by: Lint Action <lint-action@samuelmeuli.com> |
||
---|---|---|
.github | ||
.storybook | ||
cypress | ||
public | ||
src | ||
.env | ||
.env.production | ||
.eslintrc.json | ||
.gitignore | ||
.nvmrc | ||
.prettierrc | ||
.yarnrc | ||
cypress.json | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Uniswap 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: @UniswapProtocol
- Reddit: /r/Uniswap
- Email: contact@uniswap.org
- Discord: Uniswap
- Whitepaper: Link
Accessing the Uniswap Interface
To access the Uniswap Interface, use an IPFS gateway link from the latest release, or visit app.uniswap.org.
Listing a token
Please see the @uniswap/default-token-list repository.
Development
Install Dependencies
yarn
Run
yarn start
Configuring the environment (optional)
To have the interface default to a different network when a wallet is not connected:
- Make a copy of
.env
named.env.local
- Change
REACT_APP_NETWORK_ID
to"{YOUR_NETWORK_ID}"
- Change
REACT_APP_NETWORK_URL
to e.g."https://{YOUR_NETWORK_ID}.infura.io/v3/{YOUR_INFURA_KEY}"
Note that the interface only works on testnets where both Uniswap V2 and multicall are deployed. The interface will not work on other networks.
Contributions
Please open all pull requests against the master
branch.
CI checks will run against all PRs.
Accessing Uniswap Interface V1
The Uniswap Interface supports swapping against, and migrating or removing liquidity from Uniswap V1. However, if you would like to use Uniswap V1, the Uniswap V1 interface for mainnet and testnets is accessible via IPFS gateways linked from the v1.0.0 release.