• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    Solidity
  • License
    GNU General Publi...
  • Created almost 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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" />