DankMarketing / quickswap-core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

QuickSwap

QuickSwap core contracts are the fork of Uniswap V2

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:

Local Development

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

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

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

About

License:GNU General Public License v3.0


Languages

Language:Solidity 83.5%Language:TypeScript 15.1%Language:JavaScript 1.4%