/interface

An open source interface for the Sunswap

Primary LanguageJavaScript

Sunswap Interface

An open source interface for Sunswap -- a protocol for decentralized exchange of TRON tokens. SunSwap is an exchange protocol on TRON for exchanges between TRC20 tokens. Conversion can happen easily between any 2 TRC20 tokens based on system price. All trading fees collected will directly go to liquidity providers of the protocol, rather than the protocol itself.

Accessing the sunswap Interface

To access the sunswap Interface, visit sunswap.com.

How to record a new token?

First you need to record the information of the new token on Tronscan. After Tronscan reviews your application, you can create trading pairs and add pools on SunSwap for trading.

Deploy

For local deployment, follow the steps below:

bootstrap project in nile test net

npm install
npm run start

bootstrap project in main net

npm install

add trongrid key in config.js file

npm run startPro

Accessing sunswap V2

The sunswap V2 interface of the mainnet can be switched by selecting the v2 version on the homepage.