Inspiration:

This code modification will help to swap custom TRC-20 tokens hosting your own code.

What it does?

The source code modification will fix by default a custom TRC-20 token to make swaps from your own web hosting.

How we built it?

It’s a SunSwap source code customization to do swaps from TRX only with a fixed TRC-20 token by default from your own web hosting.

We utilized the SUN token as example but it can be changed for other TRC-20 token only with two lines of code modified in /utils/config.js. Please check how to do it in the github source code and README file.

Challenges we ran into:

Undertanding and customization of the SunSwap source code.

Accomplishments that we're proud of:

SunSwap source code customization.

What we learned?

We learned React.JS customization.

What's next for "SunSwap code modification for a fixed custom token swap"?

Release the working code explained to change the default SUN token utilized as an example for other TRC-20 tokens.

Share this project:

Updates