Skip to content

gabrielyiu/quickswap-core

Repository files navigation

QuickSwap

QuickSwap core contracts are the fork of Uniswap V2

QuickSwap/Uniswap-V2 contracts are non-upgradeable and hence immutable in nature

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Addresses and Verified Source Code:

Polygon Mainnet

Mumbai Testnet

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

Changes from Uniswap V2

Not even a single line of code has been changed in the core contracts when compared with Uniswap V2. Hence no changelog.

Add To Your Site

To include a QuickSwap iframe within your site just add an iframe element within your website code and link to the QuickSwap frontent.

Linking to a MATIC <-> QUICK swap page would look something like this. To link to a token of your choice replace the address after “outputCurrency” with the token address of the token you want to link to.

<iframe src="https://quickswap.exchange/#/swap?outputCurrency=0x831753dd7087cac61ab5644b308642cc1c33dc13" height="660px" width="100%" style=" border: 0; margin: 0 auto; display: block; border-radius: 10px; max-width: 600px; min-width: 300px; " id="myId" />