JustSwap || Crypto Academy S4W5 || Homework Post for @kouba01

in hive-108451 •  3 years ago  (edited)

"DeFi boom is a very near equivalent of an apocalyptic event for the traditional financial institutions."

Mohith Agadi

PicsArt_10-09-01.51.14.png

Image edited with PicsArt

Source

JustSwap || Crypto Academy S4W5 || Homework Post for @kouba01


qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

Present the Just Swap platform in your own way, demonstrating its importance within the Tron Ecosystem Blockchain

PicsArt_10-09-02.07.54.jpg

Source

JustSwap is one of the three products of the Just DeFi project that Tron blockchain founder Justin Sun announced last year. It is a decentralized exchange based on Tron (TRX), where one of its most striking features is that the user can block cryptocurrency pairs (TRX being one of these), to provide liquidity and earn commissions from the third-party exchange.

Therefore, as the professor mentioned in the article, it is an exchange whose liquidity could be said to be infinite. On the other hand, being an exchange, it has the functions of the exchange between cryptocurrencies and is part of the liquidity pool.

PicsArt_10-09-02.09.17.jpg

Source

Among the list of cryptocurrencies that the user can exchange are from Bitcoin (BTC), Litecoin (LTC), one that we will use as an example, Ethereum (ETH), or even coins or "minted synthetic tokens" which all start with the same initial letter, such as WTRX, WBTC, WLTC.

In this way they can be blocked from the most popular cryptocurrencies and obtain the minted tokens so that the JUST protocol is carried out, which when used in the exchange of the platform, only the coins minted in JUST should be burned and obtaining the asset that really is desired (BTC, ETH, etc.), and as a result we get faster transactions with lower commissions.

PicsArt_10-09-02.10.43.jpg

Source

The importance of JustSwap within the Tron ecosystem is that it is part of the three Just DeFi products, which are: Just Lend, which is a loan and credit platform, which, as Justin Sun mentioned, will allow users earn interest and borrow against collateral.

The other project is a token called Just BTC, which is a token based on TRC-20 (like Just Swap), which will have a 1: 1 ratio with respect to Bitcoin (BTC), and Just Swap. Therefore, once this last platform has been successfully developed, TRON seeks to expand its DeFi protocol in a way that encourages future investors to deposit in cryptocurrencies and thus be able to mint assets.

However, TRON's absolute earnings are recently unknown but good results are expected in this current interest.

qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

What tokens does JustSwap support trading? How is the price of a JustSwap token determined (how it works)? Use an illustration to explain it

Just Swap gives the possibility of blocking cryptocurrencies in order to mint them so that a high market volume develops. However, to market these cryptos it is necessary that they be part of the tokens admitted in the platform which would be TRC10, TRC20 and TRX. Thus, the characteristics and uses of the exchange are supported to also lend and extract the desired tokens.

Thus, the platform allows the interaction between TCR10 - TRC20 as well as the TRX token so that users who are in TRON have access from anywhere in the world. Now, in order to understand these supported tokens more clearly we can define the TRC20 as the necessary protocol to use USDT TRON, so that it means the use of the standard currency issued and based on the TRON network.

However, the corresponding amount to be received must be taken into account, so that statistically the volume of sales, the price, the liquidity commissions and the slippage are presented.

On the other hand, JustSwap allows us to make changes in the lists of cryptocurrencies that they have, which may well be with the default list or the alliance list that Tron has. In addition to being able to submit our list.

PicsArt_10-09-02.11.47.jpg

Source

For the latter, in order to add our own list, we have to create an issue on the open source platform Github with the specifications mentioned. In addition to following the specifications of a JSON file, such as the example below.

PicsArt_10-09-02.12.42.jpg

Source

PicsArt_10-09-02.13.30.jpg

Source

This issue may be reviewed by different developers of the JustSwap platform for approval.

In the following image we can see an example of an issue created by KiwiDefi to be able to add a list of tokens in particular:

PicsArt_10-09-02.14.15.jpg

Source

The determination of the price on this platform is based on a simple formula provided by the smart-contract, as explained by the professor, where the importance lies in “the relative numbers of tokens in each group of funds” as explained by the founder of Just Swap, Justin Sun. Therefore, only the two tokens in question must be multiplied in such a way as to result in a constant.

let Const. = Constant.

A * B = Const.

A = Token A, B = Token B

That said, in each operation that is carried out, an updated balance is obtained as a final sample since, due to the exchanges made, a certain amount of a token is lost while it is earned from another token, so that the price is changed when updating the new balance calculated.

PicsArt_10-09-02.15.39.jpg

Source

So you can see the handling of this formula in the previous screenshot where it is Token A: LTC, and Token B: TRX. By dividing the amount of LTC you want to exchange by the constant Const., you get the amount of 10,303 TRX as part of the new balance.

Finally, the payment of commissions should be taken into account because when carrying out a transaction, for example of a token for TRC20, it will be necessary to pay a fee of 0.3% of the token in question, if instead an exchange of TRC20 is planned to some specific token, the required fee will be 0.3% of TRC20, so it is based on a commission for the liquidity provider, who can withdraw their fund at any time they want.

qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

How do I connect my wallet to JustSwap.io? Is there a mobile app?

At the time of writing this article, I did not have the TronLink wallet, so I decided to install it using a Google Chrome extension.

To do this, we look for TronLink in the chrome web store and we click the install button. Then add an extension and we create a new user.

PicsArt_10-09-02.16.29.jpg

PicsArt_10-09-02.17.33.jpg

Source

Then we enter the JustSwap platform at JustSwap, and we search and click on Connect to Wallet, on the left side above the different options that the JustSwap menu brings us. Then a modal will open to us to choose the option to connect the TronLink Wallet.

PicsArt_10-09-02.18.31.jpg

PicsArt_10-09-02.19.10.jpg

Source

In that, the option of our wallet in TronLink will open to connect it to Just Swap. Just click on connect. And finally we will have our TronLink wallet connected to JustSwap.

PicsArt_10-09-02.20.18.jpg

Source

Likewise, we can find the TronLink wallet in the PlayStore so that it is only necessary to download the application to be able to carry out the connection with Just Swap.

PicsArt_10-09-02.21.19.jpg

Source

Therefore, it is only necessary to import the wallet that you already have in TronLink or if you do not have one, create it following a procedure similar to creating an account in the desktop version, so that it is finally connected to the Just Swap platform.

PicsArt_10-09-02.22.06.jpg

Source

qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

Include a real example of your interaction with Just Swap, demonstrate how you can trade on the platform

Within the JustSwap platform, the first thing we can see is the amount of blocked assets and the “Swap” and “Pool” options. In this case we are going to choose the default option which is "Swap".

PicsArt_10-09-02.23.05.jpg

Source

We are going to make a swap of TRX - USDT, then in the TRX field we enter the amount, which will be 60 TRX, then it will show us the value of the change that is equivalent to 6.245876 USDT and we click on Swap.

PicsArt_10-09-02.24.41.jpg

Source

Then a modal appears with the summarized information, and when we click on Confirm Swap, the option will open in TronLink to validate the transaction and confirm. And in this way we managed to exchange 60 TRX for USDT.

PicsArt_10-09-02.25.52.jpg

PicsArt_10-09-02.26.42.jpg

Source

On the other hand, if we want to make a cryptocurrency exchange, if we use an asset for the first time, we have to approve it and enable its use in our TronLink wallet. For example, if we want to change the USDT that we exchange for LTC, since it is the first time that we are going to use USDT from our wallet as an asset that we want to change, the first step will come to approve it and then make the swap as mentioned above.

PicsArt_10-09-02.27.56.jpg

Source

qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

Include a real example of your interaction with Just Swap, explain How to add liquidity to JustSwap

Now we are going to add liquidity, for this we choose the "Pool" option and click on the Add Liquidity button.

PicsArt_10-09-02.28.46.jpg

Source

This will open the following interface, where we have to place if or if an amount of TRX and then the equivalent amount in the cryptocurrency that we want to add for liquidity.

For this example we will use Litecoin (LTC). Then we just have to click on the Supply option.

PicsArt_10-09-02.29.54.jpg

Source

Then the modal will be opened to confirm.

PicsArt_10-09-02.30.59.jpg

PicsArt_10-09-02.31.48.jpg

Source

Finally I have added 4 TRX and 0.00232237 LTC ​​of liquidity in JustSwap, and for each transaction that is made with said amount of liquidity added, I will receive a + 0.3% profit as a reward.

qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

Conclusions

As I had already mentioned, JustSwap is part of the three products of Tron's JUST DeFI project, and its contribution to the TRX ecosystem is quite important, since it is a response to the controversy generated by the criticism that Tron had become very centralized and had lost its vision, according to Lucien Chen, CTO and co-founder who resigned from his position in May 2019. Therefore, in my opinion, the success of this platform together with the two products that accompany it, also means the success that can achieve TRON goals over time.

The ease of the platform to carry out the desired transactions is remarkable, since being a decentralized exchange that is easy to use, it allows to devise automatic markets created in the TRON network, in such a way that it becomes one of the most important projects today, therefore It is not surprising the strong publicity created by its founder in the early days of the platform, which has allowed a high market volume in said exchange, setting aside the infinite liquidity created.

In addition, Just Swap is an attractive platform in which, thanks to what we saw this week at the Crypto Academy, it could take advantage of blocking assets to generate commissions, and be aware of the next projects that the ecosystem may bring us in the future by TRON.

qjrE4yyfw5pQYiuVvgYiUBP16WHGGN7UNn1BCdGdi8sLHDMmQ1KdHazCAusbLgyV7uzTph9dB35PrEbeoe59KhV7mqtnXPVA14dALYpZtgGr9rgrhNf6FyY2.png

This is my Homework Post for JustSwap || Crypto Academy S4W5 || Professor @kouba01

U5dsgAmgYZEzsqx5mminCYebNQKMXdv_1680x8400.png


IMG-20201228-WA0057.jpg

If you liked this post, I invite you to support my work by following my account @manuelgil64 and leaving your comments and upvoting

Thanks!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hello @manuelgil64,
Thank you for participating in the 5th Week Crypto Course in its 4th season and for your efforts to complete the suggested tasks, you deserve a Total|8.5/10 rating, according to the following scale:

OriginalityCompliance with topicConsistency of methodQuality of analysisClarity of structure & language
(1.5/2)
(1.75/2)
(1.75/2)
(1.5/2)
(2/2)

My review :

Good content in which you tried to implement what was asked of you to explain it with distinction.

Thanks again for your effort, and we look forward to reading your next work.
Sincerely,@kouba01

Thank you Professor for your feedback

Congratulations, your post has been upvoted by @dsc-r2cornell, which is the curating account for @R2cornell's Discord Community.

Curated by Blessed-girl

r2cornell_curation_banner.png

Enhorabuena, su "post" ha sido "up-voted" por @dsc-r2cornell, que es la "cuenta curating" de la Comunidad de la Discordia de @R2cornell.

Thank you very much for your support