Crypto Academy Week 15 - Homework Post for Professor @sapwood : Liquidity Mining (Tron- Sun.io)
This is my homework post for Steemit Crypto Academy Season 2 Week 7 for Professor @sapwood’s lesson Liquidity Mining (Tron- Sun.io).
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSz2JH5A2Hpv4qjdjentG6fLNEGWhx7WWC3BqpgrgXXFd/2021-105-scas02w07sap%20copy.jpg)
Note : I performed this task on Windows 10 PC, Google Chrome browser and the needed extension (TronLink Wallet).
1. Connecting TronLink Wallet to sun.io
First time first. Open sun.io on the browser. When the webpage open, click the [Connect to Wallet] button.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmcc8om5dbAivvZbkg9fPRa9PpSC11GWxgjS3vHXQUX6sf/ss01000001.jpg)
But, since I was doing the task on Google Chrome browser, so I needed the TronLink Wallet Chrome extension to connect to sun.io. And I have already had the extension installed, so I just proceeded with some simple steps as follow:
- I opened sun.io webpage;
- I activated the TronLink Wallet Chrome extension. And on the appearing popup box, I filled the password. This is not the wallet password, this is the extension password.
- The password was correct, the TronLink Wallet was connected.
And the [Connect to Wallet] button was replaced with the address of connected TronLink Wallet.
And when I clicked on the address button, this popup box appeared:
SUN balance was 0.
Okay. Ready to roll!
2a. What Are The Different Liquidity Mining Pools?
The picture below shows the Liquidity Mining Pools on sun.io.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmerFaNab7YzHw1xsa2CmAVaCjgszMHbi18tmViY8Bhi7n/ss02xxxxxx-jdOK.jpg)
There were 9 different liquidity mining pools available as shown in the picture above. The table below will help us observing and understanding the data in the simpler way (the table is created with a ranking arrangement from the highest APY to the lowest APY).
~* Note : Total Staked and APY percentage numbers changed through time. They depend basically on the related activities of users. The numbers shown in the table above were the numbers when I performed the task.
2b. Which One Offered The Highest APY?
As shown on the table above, the SUN-TRX LP offered the highest APY at 35.12%.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSz76etfEe6gmjrQKh62BjLBHsHSxubL9nxqp24y5waQk/ss02xxxxxx02stOKa.jpg)
2c. How Many Different Rewards Do I Get By Staking LP Token?
For staking LP token, I would get 5 different rewards, which were: Tron (TRX), Sun (SUN), Just (JST), BitTorrent (BTT), and Wink (WIN). The rewards to get showed under each Liquidity Mining Pool pair box. For the example, it was shown at the picture below for the SUN-TRX LP. It showed the mining bonus percentage of each reward to get. The percentage was different for each reward.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmfHwS9ZXCbwHiWGoi1YtY6Zey4ygGX5sKmSp5NnnXkErw/ss02xxxxxx02strew.jpg)
3a. Obtaining LP Tokens By Adding Liquidity In JustSwap
I needed to go to JustSwap web page, which was here: https://justswap.io/. On page, I needed to click the [Pool] button.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmaFpk6qbrqgUS3UKPRhkSomU9cy1SKSuap3rhaduCZbgp/ss030000000003a.jpg)
Once I switched to Pool, I clicked the blue [Add Liquidity] button
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmQRUUdaVEyzGT2SZAF3qwM8a2r4UWMW2839Fjz6GxrpUN/ss030000000004a.jpg)
Then I needed to fill in necessary information.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmScrLgCbn7xsEe9gpzu1RnNDZaDfZiTdAGE9tFyR1A9iC/ss030000000005b.jpg)
I wanted to supply an amount of 10 TRX and USDT, since I have enough TRX and USDT in my wallet. So I filled in the TRX amount and hit the [Select a token] button. A drop-down list of tokens appeared and I selected USDT.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmfPE3Lbn7jKwpuX5Rx5tYKbheT6SdcwNZdaQiSYwEhayp/ss030000000006a.jpg)
This was what I came to :
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXnskesdxTr5aPMQSTbGDPJimpqBb4SMsG56tymmcYbuB/ss030000000007a.jpg)
I hit the [Supply] button. Wallet Approval was requested to be able to proceed.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmVZD2oLspCgczKxJu6YUEfW1L4o84zVcyyAAY8qhjsyYj/ss030000000008a.jpg)
I hit the [Accept] button.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXZER6FntAxE5TFFa596BL6Nmt6yHxpU2FiD2wD5Ng5wL/ss030000000009a.jpg)
I clicked the [Confirm Supply] button.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmQQ5y4bgk7ktyEEzqF8352omCtqeKMA4CptWWyaL1LST8/ss0300000000010a.jpg)
There was it. The liquidity was added.
3b. What Was The Quantity
For supplying liquidity as much as 10 TRX pairing with USDT, I received 12.098761 S-USDT-TRX Liquidity Pool Tokens as shown on transaction detail tronscan page.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmaNGgzVEy2DHeCr4TbTMCuyqSBLgLaQB1bTwTMTqzhz75/ss0300000000011a.jpg)
4. Staking LP Token To Earn Five Different Tokens On sun.io
Now that I had 12.098761 S-USDT-TRX LP Tokens I can use to earn reward of five different tokens on sun.io. So I went back to sun.io webpage. And I choosed USDT-TRX LP by clicking the [Select] button on the below side of it.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSHabuhgAbo8g3bqvEJfaqrWyptaAMAAV77RbM6SHL5Bw/ss0300000000012a.jpg)
Approval was requested.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmet8pBh3VvXCB3FZXL5zMjZ1evXB7z4qCLfVA1F4Xeb7d/ss0300000000013a.jpg)
I clicked the approval button. TronLink Wallet confirmation popup box appeared where I clicked on the [Accept] button to proceed with it.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmaCm4UvYkL4z7vEJ5KBH3t6YHd3JTbVUwBBGFB41XArAb/ss0300000000014a.jpg)
The transaction was approved and the detail was recorded on tronscan here.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmZwnf27nwSyWePFghPVkFpun3wnFT1UprJiqsZemzUu6s/ss0300000000015a.jpg)
When I closed the popup box, I saw another popup box appearing. This was the popup box where I needed to fill out the amount of LP Tokens to stake. I thought I was gonna stake all the LP Tokens, so I hit [MAX] button, it automatically filled the amount with all I had.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmbdWmbeLWyhf12GtYjyQBZXwM1AEN2rKkQThcr1YTg9QE/ss0300000000017a.jpg)
And then I clicked the [Stake] button.
TronLink Wallet approval was needed.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmZXwc6wU6A4mq1vqJ94KD8jAo1jqanqysXp3hHZ1N4ReK/ss0300000000018a.jpg)
I clicked [Accept].
Transaction was submitted on to blockchain, and recorded here on tronscan here.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmeK7vYmiJy7AW9vTW3VkFvcBeBskodRfCMf4fFMAeJGkL/ss0300000000019a.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmaZJhFc6EfS54hL9g2ZrArGneojSg3T1VUrs142UVKc1g/ss0300000000020a.jpg)
Since I had staked the S-USDT-TRX LP Tokens, appeared the [Details] button on the below sidew of the USDT-TRX LP and the darkblue [Select] button of USDT-TRX LP has changed to a green [Manage] button. The both buttons served the same purpose.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmf773QkrDMLEV6EQxsBvj5yk4fzYnBasYfBbeA6ZrBk6M/ss0300000000022Xb.jpg)
The [Details] and the [Manage] buttons showed this information when I clicked on either one of them:
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmTVM7ygPD5Hy49UQbQnR2QFnPzsjnY7E6HATXD3WtfpLW/ss0300000000022a.jpg)
So, actually I would be getting 6 rewards, which were : TRX, SUN, JST, BTT, WIN, and BTCST.
[Manage] button showed the same information when I clicked on it. So, the two buttons functioned the same.
5. Which Reward (out of five different rewards) Can Be Withdrawn At Any Time And How Do Claim That
Out of all rewards, there is one that available to claim at anytime, which is SUN. While another rewards require the process of unstaking before it can be claimed.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmULf5Y1Q8oamwv1HtEgHdEVCdB43Cvu9f2Xs4Ses43BeX/ss0300000000024a.jpg)
To claim SUN reward at anytime, one just need to click on the [Claim] button next to SUN amount. Once the [Claim] button is hit, the TronLink Wallet approval popup box appears, a click on the [Accept] button would confirm the claim of SUN reward.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSyjJgyPmf5Xj56E1BadmVxwt5pqjBBFnMVH8bvAGE6v3/ss0300000000025a.jpg)
6a. The Schedule Of Unlocking The Mining Rewards
On the Claim segment of mining rewards details, there were two different columns, Upcoming and Frozen.
- Upcoming column contained the information of the rewards amount that will be automatically sent to wallet within a maximum of 7 days after staking. So it was like the information rewards of the week.
- While Frozen column showed information of total rewards that will be partially unlocked and sent to wallet once a week. It takes 6 months (24 weeks) to unlock all rewards. It’s like when someone powered down their SP, took some weeks to complete powering down.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmV2dC8feYAv5qxjopb4hAwL3tNanMf3ncu4ZA1gFKN7MS/ss0300000000028.jpg)
6b. The Total Undistributed/Distributed Mining Rewards
As shown on the picture below this, there were a total of <$0.001 undistributed mining rewards. And, because I was just staking, so there was no information about the total distributed mining rewards. I think the information about the total distributed rewards would appear after a one week period of time since the staking begun has passed, because that was the time needed for every staker to get their first mining rewards.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmZjBz6pGythbK8RXuNDC89kRMG4sAkqe2kaaYJrvrVfsp/ss0300000000029a.jpg)
7. Energy & Bandwidth Consumption For The Staking Process In sun.io and Obtaining LP Token In JustSwap
7a. Obtaining LP Token In JustSwap
The picture below was the screenshot from tronscan and it shows that to add the liquidity of 10 TRX and 0.726797 USDT, I used 383 Bandwidth and 60,902 Energy, and 8.52572 TRX was burned to accommodate then lack of 60,898 Energy.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmTSvpjojQ9FenmYCm3LAW2s8FqtujGfKCH1HuZSjH2Co1/ss07yyy01a.jpg)
7b. Staking Process In sun.io
The staking process I did was recorded on tronscan at this detail page. This below was the screenshot from that page, which tells us that staking an amount of 12.098761 S-USDT-TRX consumed 313 Bandwidth and 89,516 Energy. And I needed to burn 12.52972 TRX to accommodate the lack of 89,498 Energy.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmY3nxPAhVYGVsgRAuD3ZMXrLcVjqyubBU8jsfquZVyM98/ss07yyy02a.jpg)
The table below should help us observing and comparing the use of Bandwidth and Energy on both transactions.
8. Unstaking LP Token And Claiming Mining Rewards
To unstake and claim mining rewards, I reached the Liquidity Mining section on the sun.io page. I clicked on the [Details] button or [Manage] button of the staking I had.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmeSUirbbu9FrHsYJ2ozwD161Rz3dpepPFmooBZpZMGjxq/ss08xxxxx01a.jpg)
The details popup box opened. Unstaking could be done partially by filling in the amount to be unstaked. To unstake all, just hit the [MAX] button.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmVowjqjYXuKXyDW1yJ2ZRaxTerjpFhTg8L2pu4SQamP9n/ss08xxxxx02a.jpg)
In this case I was unstaking an amount of 6 USDT-TRX LP. So I filled in the box.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmTdwUB5VcE1kVPGCS4Rp1goUoTRshf8mcFQxft46Vp5CP/ss08xxxxx03a.jpg)
And after filling in the amount, the [Claim & Unstake] button below was becoming active to click. So, to finish the task, I clicked on it. The TronLink Wallet approval requested.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmZ5JdjYdRwRBruxMqfdj6eAUM2S3oj92Njthp9yZDHQSZ/ss08xxxxx04a.jpg)
I clicked [Accept] button.
Transaction submitted to and recorded on blockchain and is now the detail available on tronscan at this page.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmUrcz6H7Kngk3deRfviQ7QXVdCduBWnkR8SCrqGXxh72r/ss08xxxxx05a.jpg)
In the below image was the information of the Liquidity Mining I did for USTD-TRX LP after I unstaked some amount of S-USTD-TRX LP Tokens.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSDNT1hpUfCb3BbNCHazmzxD4Ff2fSMGR39vysZyDBnos/ss08xxxxx07a.jpg)
When I checked the details after about 30 hours, I saw a changing of amount in my Frozen rewards of BTT and WIN, as showed in the picture below.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmaVze7gtPTY9BKwdYpJe1pSZuvhwbWgcmwTDfnJrvBtrx/ss08xxxxx08a.jpg)
For unstaking 6 S-USDT-TRX, I needed 313 Bandwidth and 153,351 Energy.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmTPHeCQHbUqpRfa1R5DJuYLvcEvB7BsDADJsjpzGxGkju/ss08xxxxx06a.jpg)
Conclusion
- Of all three transactions (obtaining LP tokens to add liquidity in JustSwap, staking LP Tokens on sun.io, and unstaking LP Tokens and Claiming rewards), if we would like to compare, obtaining LP tokens consumed the most Bandwidth while unstaking and claiming rewards consumed the most Energy. Look at the table below.
- Staking is like depositing some amount of money in the bank, in which the depositors will get interest.
- Staking could be canceled at any time.
Thanks
Thanks, Professor @sapwood for the lesson Liquidity Mining (Tron-Sun.io).
Pictures Sourcing
- The editorial picture was created by me.
- All another pictures were screenshots and were edited with Photoshop CS 3.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmR9nQBt7aPyREuKiR8hRuaqQ1YhWeJGg4ZxNuWuVYUskb/Plagiarism%20Free2%20eng2.png)
![](https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmUyUvRsMrKJtAzmzQxmbKJ9x5s2jDf1KKiN133WQ1Ssjr/pembatas4bendera-.gif)
![](https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQme5pR8SBhhuB5DY5EbiYHU9dCHRYGfMW7Nw1DfcdU1b7U/footer2021.gif)
![](https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmatqLg7jLqYbfsmEEiRHgiQK4sUQXLvYpWMS1UoYLKmYU/pembatasap3.gif)
Shared to Twitter. https://twitter.com/aneukpineung78a/status/1398108576007081986