Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/guanbinrui/kanswap

A fork of uniswap.
https://github.com/guanbinrui/kanswap

Last synced: 15 days ago
JSON representation

A fork of uniswap.

Awesome Lists containing this project

README

        

# Kanswap (Rinkeby Only)

[![Tests](https://github.com/Uniswap/uniswap-interface/workflows/Tests/badge.svg)](https://github.com/Uniswap/uniswap-interface/actions?query=workflow%3ATests)
[![Styled With Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/)

## Deployment

### Address

- Owner Address: 0xB5b32B39863C7c2a84d3592237e1A79798020E92
- Factory Address: 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
- WETH Address: 0xc778417E063141139Fce010982780140Aa0cD5Ab
- Router Address: 0x279CDDB8d2A003CdDa393D34c787a37073b93C9c

### TEST ERC20 Tokens

- KAN: [0xb262606fafaE30D593d7DB6bf829A3A567391713](https://rinkeby.etherscan.io/token/0xb262606fafaE30D593d7DB6bf829A3A567391713)
- KAN2: [0x6EA7F804219995e9D71F02a292Ba48ab1f6A18E8](https://rinkeby.etherscan.io/token/0x6EA7F804219995e9D71F02a292Ba48ab1f6A18E8)

## Accessing the Uniswap Interface

To access the Uniswap Interface, use an IPFS gateway link from the
[latest release](https://github.com/Uniswap/uniswap-interface/releases/latest),
or visit [app.uniswap.org](https://app.uniswap.org).

## Listing a token

Please see the
[@uniswap/default-token-list](https://github.com/uniswap/default-token-list)
repository.

## Development

### Install Dependencies

```bash
yarn
```

### Run

```bash
yarn start
```

### Configuring the environment (optional)

To have the interface default to a different network when a wallet is not connected:

1. Make a copy of `.env` named `.env.local`
2. Change `REACT_APP_NETWORK_ID` to `"{YOUR_NETWORK_ID}"`
3. 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](https://uniswap.org/docs/v2/smart-contracts/factory/) and
[multicall](https://github.com/makerdao/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](https://github.com/Uniswap/uniswap-interface/releases/tag/v1.0.0).