Crypto Academy Week 13 | Homework Post for @sapwood | Bandwidth & Energy (Tron)
Introduction
Overview of Bandwidth and Energy (Tron)
How do I connect my TronLink Wallet to Tronscan.org?(Screenshots needed)
- Open the TronLink wallet.
- Switch to Discover at the bottom of the wallet.
- Enter tronscan.org/ into the address search field.
- Go to the URL and the wallet would be connected automatically.
Screenshots below
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmX72AHFJZwkmYTMUkFGKVLPirAVEfitUPhwDM5eyLp8X2/iMarkup_20210509_163802.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXiThWyqRqx7vkgc59aUECbtJK28FgVEfZf12gvrUAu7A/iMarkup_20210509_164819.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmdkiyxREbSFRWerXKriCaUvC1JNPzuM3Dw7Jz18Wb3ach/iMarkup_20210509_164853.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmNaZsmhVEi5vZXFfVVEJz6Zc9m1tFye2hSfurGpaJemn4/iMarkup_20210509_165653.jpg)
How do I freeze TRX to obtain Bandwidth? (Screenshots needed)
- Visit the tronscan.org/
- From the landing page, click the three parallel lines (menu button) at the top-right of the page to explore more options.
- Scroll down to wallet and click on it.
- Switch to Resources and hit the Obtain button.
- From the option, select Tron Power and Bandwidth since I'm particular about obtaining Bandwidth in this section.
- Enter the amount of TRX, I inputted 10 (with an estimated 15.229 Bandwidth to be received.
- And confirmed that I am freezing 10 TRX for at least 72 hours by ticking the designated box.
- I clicked Freeze. Confirmed the transaction by inserting my password and having the handling fee to be 245 Bandwidth.
Screenshots below
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmbtW6HHcifzv6oWY1Cvv1JBeP2uHBawz5StYSpJHQZPqN/iMarkup_20210509_170637.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXXxszeN3RdLeQTsnAeNmYvu86wmQekL84eR15fUgKxii/iMarkup_20210509_170700.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmf54VXViVj1Egmy7YtZq56psE7ndxti8sPHEQAvWhNL3Y/iMarkup_20210509_170752.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXCxqk5bN7RdNsDjdfeE8ba2Lg7jHhMq3AYLbFG6fKAL5/iMarkup_20210509_172003.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmes66mtCZ4F9zHX1TobbUptJYqtTstKGPeFqjXe2GUs61/iMarkup_20210509_172028.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmSupMLXrqtQRbq3dsnwWt5FyJGkYu9gxq7ttAFmHWN2hX/Screenshot_20210509-171729.png)
- The Transaction was successful and the record of my frozen TRX asset to obtain Bandwidth is shown below.
15 Bandwidth Obtained
How do I freeze TRX to obtain Energy? (Screenshots needed
Steps
- From the tronscan.org/ homepage, select the three parallel lines menu button at the top-right of the page.
- Locate the wallet nearly at the bottom of the page and click on it.
- Switch to Resources then click Obtain.
- In the power type selection, select Tron Power and Energy.
- Input the amount of TRX to be frozen to obtain Energy (In my case, I inputted 10 TRX with an estimated 306.444 Energy to be obtained).
- Confirm by hitting the box.
- Click on Freeze button and supply password to continue (handling fee- 247 Bandwidth).
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmeUG8ErziVJW5aEUyUL4j1nUf9781nweespuZLqVvMVGg/iMarkup_20210509_175037.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmbT5sKTGg1Y5513XnNWfhtuThBKLfbpNkBQfgyDJPn2eA/iMarkup_20210509_175059.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmdVJLCFUUik54ofPN9LWQV1nwHWSfuc67N8GqkiRw8H25/iMarkup_20210509_175127.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmUPZ9kwyMVzSyJCNLuSUbT7QRSbMEYEpGwKhJPWJTvVS6/iMarkup_20210509_175219.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmdYve1ubDSc1kjCg9DRcHxiU6rP3kSYn6NTQZLiwBxaZ4/iMarkup_20210509_175242.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmfK9oWxVtfEHeESYWxocEP7cURQXy6WDZdMn1jRWaSSNn/Screenshot_20210509-174704.png)
- The transaction was successful with 10 TRX frozen to obtain 306 Energy.
306 Energy obtained
What types of transaction consumes Bandwidth only and what types of transaction consume both Bandwidth & Energy? Example of both types of your own wallet? (Screenshots needed)
Example of a Transaction that consumes both Bandwidth and Energy on my wallet
- From the tronscan.org/ homepage, I will paste my Wallet's address into the address search field and search.
- Select transfers.
- Switch to TRC20 and TRC721 since I am particular about a smart contract trigger transaction.
- Now, I have the history. I will be checking on the 14,995 jTRX I minted on JustLend when I supplied 150 TRX.
Searched my wallet address
Transfer
TRC20 & TRC721
Minted 14,995 jTRX
Minting consumed- 284 Bandwidth and 80,377 Energy
Example of a Transaction that consumes Bandwidth only
- From the landing page of tronscan.org/, I will be searching for my wallet address.
- Click on Transfers.
- And this time, I am sticking to TRX and TRC10 since we are looking into transaction that consumes Bandwidth alone.
- Select one of the transactions to see the Bandwidth consumed.
Search Wallet
Transfers
TRX and TRC10
Sent 540 TRX
269 Bandwidth consumed
How do I check "how much Bandwidth and Energy are consumed in a particular transaction"?(Screenshots needed)
- Visit tronscan.org/ official website. Search for my TronLink wallet address
- Click on Transfers.
- Select transaction type (TRX & TRC10 or TRC20 & TRC721) and I will stick to TRC20 & TRC721 because I want to explore a smart contract trigger transaction.
- Choose a transaction from the list to see the details.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmfGsMcS1AF3k2dcYJsQyC1XtD9jcSxgVMdn4SntKgMvjb/iMarkup_20210509_193106.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXdMHDzz5cgf6rSByp9fsYdUSx8QTdE8cXTAgzopL2aTx/iMarkup_20210509_193122.jpg)
1 USDT loan repayment on JustLend
Transaction details
Highlights of the transaction above
- Bandwidth: 313 Bandwidth
- Energy: 87,314 Energy
- TRX burned to accommodate the required Energy for the transaction: 12.224 TRX
How do I avoid burning TRX to accommodate the Energy required for a transaction?
- Tron Power and Bandwidth- To obtain Bandwidth.
- Tron Power and Energy- To obtain Energy.
How Energy Obtained is calculated
Energy obtained = (The TRX frozen for gaining Energy / the total TRX frozen for gaining Energy in the entire network) X Total_energy_limit
Freezing 500 TRX <---> 15294 Energy
Include the real example of your interaction with JustLend & Justswap? Indicate how a "swap"(in Justswap) function consumes different "Energy & Bandwidth" than a "borrow" function(in JustLend)? You can trade a small amount(as little as 1 USDT)? (Screenshots needed)
Swap transaction on JustSwap
- Open the TronLink wallet, select Discover to access the DApp and navigate to justswap.io/.
- On the swap landing page of JustSwap, choose the asset you are swapping.
- In my own case, I am swapping TRX to USDT.
- Select USDT token as the coin you are swapping to.
- Input the amount of TRX you are willing to swap.
- The estimate of the USDT to be received is shown.
- Continue by clicking Swap and Confirm swap.
- Supply password and click Done (handling fee in this case: 344 Bandwidth).
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmajX3fHhMRSt1VXsC8HAwJ4cqjuvnvWaaR2d3zq2TvQ77/iMarkup_20210509_215054.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmcEqMZvxr415pfY7zx437iKKCPSnxZQStwqTMDJZN71qH/iMarkup_20210509_215126.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmfHP1pnsuRQAsoSgf4HKMwXMMhN9dmV1tUPFCZUSzYyPh/iMarkup_20210509_215156.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmQd79y8muBy62eEeXkvL3d46o1Xa1E5tkxyRpoVunF49S/iMarkup_20210509_215225.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmUbDAzawXiYMbZMAa43jDFhSCzWZnq7NgZkTWNE38Zbwv/iMarkup_20210509_215300.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmdanszpMjD4bbEAMNeXDRj9rDibykahD69BvycbUDYL7i/iMarkup_20210509_215331.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmXodUX6U2dnHhnNNgGY8RefbJxnCJaqy6MrNspmJb7coA/iMarkup_20210509_215409.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmZMV2rB8GGHGYKQnKqDnRLZvPzsff5WbeK7f6RRg8Cftn/iMarkup_20210509_215429.jpg)
- The transaction was successful as I swapped 8 TRX to 1.126659 USDT.
Successful swap
Checking the details of my recent JustSwap swap
Borrow transaction on JustLend
Steps
- Visit market on JustLend.
- Select the USDT market and click on Borrow with the APY to be 1.72%.
- Input the amount you want to borrow, which is 1 USDT in my own case.
- Put the password to continue.
- The borrowed asset was received. Note that: You have to collateralize your jTokens before you can borrow on JustLend.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmT2voMFsd7zuAc5A5uKqAoy3oAU5kbaPzWDcCz5NmVXRZ/32FTXiZsHoAW6noHJDhrg3W8ZKHVFSsLYM859aTDCF8iErFux3fUsi1P5td9Qw5gZMTAQZvGhPvkcnE7VtHRfQ1X6QEyGjYzt8ZtvVBun381D15nb6Hcvx6K9VUcaXw999xSzpzitWL3mygJ.jpeg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmdfkqwzvYigbEHjLKDb6fAz6um2LNmGXtt58Vf2X7GZFc/32FTXiZsHoAW6noHJDhrg3W8ZKHVFSsLYM859aTDCF8iErGaurWA2DzTbgCDwRAnwvdveVuLL3Ccdwcfk1intThgKWHAZTjFRk4tDbhdxk1QTkja4yzY6XoEKnjpZcHCqNUfmRW3J6SjNU6r.jpeg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmbh889PbAmziUM9m1WpFuXTJwndizLZf2WzcsoNHQ5sPM/32FTXiZsHoAW6noHJDhrg3W8ZKHVFSsLYM859aTDCF8iErWJAxomwTng9BP32NnJHN3MXi9DLDWUVDh36Va9JqrrFqoxvxMdmkeTGvopoGh9bXTQF23iwEwcRV8oRVpvRTLVJQ1u2Rqi3kge.jpeg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmUwbURspFQjBj5TPp982aZtZGicXMJbQYcnRSY33q5Mb9/32FTXiZsHoAW6noHJDhrg3W8ZKHVFSsLYM859aTDCF8iErDK3UR4a3V46cN7t6yvwyCnVxnhtBTBWdsRRCdvPPZN3RjfM6A3Ag1BJq5j1ryqGcMgSPmmJqoqKiqVbYgu9ws9YaDSy1pgCAtE.jpeg)
Checking the details of my borrow on JustLend
JustSwap Swap transaction and JustLend Borrow transaction
Values | JustSwap (Swap) | JustLend (Borrow) |
---|---|---|
Amount | 8 TRX <---> 1.1266569 USDT | 1 USDT |
Bandwidth | 350 | 313 |
Energy | 48,363 | 204,506 |
TRX burned | 6.728 TRX | 28.63 TRX |
Explore Tronscan(check your own wallet) to identify an "ordinary transfer" & a "Smart-contract-operated transfer"? Indicate the difference between the two?
Steps- Ordinary Transfer
- Visit the website tronscan.org/.
- Search for my TronLink wallet's address.
- Click on transfers.
- For ordinary transfers, I am selecting TRX & TRC10.
- And select a transaction to explore the details.
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmackDFTTFAV36t9eKMN6YiJgq85Y23cJFF4v5dRoWe24r/iMarkup_20210509_235553.jpg)
![](https://steemitimages.com/640x0/https://cdn.steemitimages.com/DQmUGknVrSiF7xaBEFmGNN8WXVdVx7vKgpxy5xtZxtsDXdk/iMarkup_20210509_235617.jpg)
Ordinary transfer
Bandwidth consumed- 288
Steps- Smart-contract-operated transfer
- To explore this, we will stick to TRC20 & TRC721.
- Select a transaction to explore the details.
- Now, I selected the smart contract triggered transaction where I swapped TRX to ANDX.
TRC20 & TRC721
Bandwidth and Energy consumed
Difference between Ordinary transfer and Smart-contract-operated transaction
Cc: @sapwood
Written by;
@fredquantum
Amazing presentation from you. Well exained with real screen shots.
Thanks for participating.
#affable #india
Thank you, sir. I am glad that you read this piece from me.