Crypto Academy / Season 3 / Week 4 - Homework Post for Professor @stream4u

in SteemitCryptoAcademy3 years ago (edited)

Introduction

My fellow steemians,
Am so happy to be here once again in the academy. I feel refresh any time I attend lecture held here in the steemit crypto academy because I learn knew things on daily basis. In this week 4 of the season 3 in the crypto academy, I am privileged to attain the lecture delivered by our dear professor in the person of @stream4u on the topic CeFi-DeFi-Yield. The lecture has really educated me in no little way as I have learnt a whole lot on other terminologies used in the crypto world. After attending the lecture, I will be working on the assignment task given by the professor below.


images.jpeg
Source

josantos.PNG

Question 1:
What Is the Importance Of the DeFi System?

First and foremost, lets understand what DeFi system is all about before stating the importance of a DeFi system. The Decentralized finance (DeFi) system is a type of financial system that is used in the blockchain technology to perform any form of transaction at any point in time without the interference of a third party. This process is possible with the help of smart contract. Now smart contract are written instruction in form of program code that aids the transaction process in a blockchain technology. With that little knowledge we can now ride straight to the importance of DeFi system, they are listed below.

  1. Absence of central authority

    There is no central authority of any form in the DeFi system. The system is design to operate without any central body giving it an instruction to work on. All nodes in the DeFi system are design to work alone without any form of interference.

  2. Absence of a third party

    The absence of the third party in DeFi system is one of the most important feature of the decentralized finance system because with the third party out in a transaction process, transaction become more faster and very transparent as well.

  3. Absence of any form of limitation

    In the DeFi system, there are no restriction as to how and when you should make your transactions. More also verification of identity doesn't hinder one from performing a transaction as it is in the case of normal banks.

  4. Total Control

    Here in the DeFi system, users have total control over their asset and resources and can withdraw or trade it at any time. This implies that there are no limits or restriction to which one can go with his Transaction in the DeFi system.

  5. Transparency

    The DeFi system is very transparent because what ever transaction carried out on the blockchain has to be updated on the ledger and this record are not usually altered hence there is no any form of false claim that can't be proven otherwise.

josantos.PNG

Question 2:
Flaws in Centralized Finance.

Every system has some flaw associated with it and that is the main reason why on daily basis we make research because we need an optimal solution to which ever problem that may be confronting us at the moment. With that been said, the centralized finance system also have it's own flaws and few of this flaws will be listed below.

  1. Presence of central authority

    In any centralized finance system, there is always a central authority and this central authority happens to be the main attribute of a CeFi system. This implies that for a transaction to go through it must be approved by the central authority for it to be executed.

  2. Presence of third party

    Transactions in a centralized finance system makes use of third party. The presence of third party in transactions slows the process of the transaction as every thing between the sender and receiver has to pass through the third party before it will get to both sender and receiver respectively. This acts also gives room to some form of fraudulent activities by users.

  3. Limited access

    In the case of CeFi system, users are given some limited boundaries over their asset. This implies that users dosn't have complete authority over their asset. The authority they have will be given to them by the central authority.

  4. Verification issues

    Another issues associate with the centralized finance system is the verification issues. All centralized finance system requires certain verification for a transaction to be done and hence this may take a whole lots of time and resources to achieve.

  5. Cost of Transaction

    The cost of performing transactions in the centralized finance system is quite more expensive because you pay for eventually all transactions carried out on the system. For instance I am to transfer money to 100 workers in my company, I have to pay for charges for carrying out this transactions most especially when I am transferring to a bank that is different from mine.

josantos.PNG

Question 3:
DeFi Products. (Explain any 2 Products in detail).

In this section of the task, I will be discussing two DeFi products based on my little understanding. The two products I want to talk about today is the Lending and the decentralized exchanges.

I. Decentralized Exchange (DEX)

This is one of the products of the decentralized finance (DeFi). This product has a lot in it among which is it allows users to buy, sell, stake, swap, exchange, borrow, lend and also provide liquidity for the liquidity pool just to mention but few. Since this feature are all in the DeFi system it implies that users can perform all this function without the involvement of a third party. The user has absolute control over his transaction.

The decentralized exchanges uses the automated market maker (AMM) technology to quote the price of an asset. Now this is done from the liquidity provided in the liquidity pool. Example of decentralized exchanges are pancakeswap, uniswap, justswap etc. For the sake of this task, let's discuss a little on uniswap.

Uniswap:- This is a protocol built on the Ethereum blockchian which allows users to swap any ERC20 tokens of their choice. The joy with this exchange platform is that it is designed in such a way that it dosen't take any form of fees or charges when transactions are been carried out, it also eliminate the the presence of middlemen in any transaction on the platform. In Uniswap, prices of asset are not determined by just matching buyers and sellers together but the prices of asset are determined by a simple math equation and the pools of tokens.

IMG_20210722_045958.jpg

II. Lending

Another product of the decentralized finance is the lending. Lending in DeFi is simply a process where users can supply their asset to the lending pool with the main aim of making profit or earning a reward at the end. Here interest as to what the lender gets is calculated in either APR or APY. Similarly, other user can go to the liquidity pool and borrow some tokens and as well payback with some amount of interest. Example of DeFi products that offers this service is the JustLend. For the sake of this task, let's discuss a little on JustLend.

JustLend:- This is a lending platform that is built using the Tron blockchain and it allows user to put in their asset into the lending pool for a period of time just so to earn a certain percentage of reward. This platform also allows borrowers to borrow certain amount of asset from the lending pool and payback later with certain percentage rate of interest included.

IMG_20210722_050054.jpg

josantos.PNG

Question 4:
Risk involved in DeFi?

Before going in to the decentralized finance system, there are some risk factor that should be taken into consideration to avoid losing your asset. Below are few of this risk that is involved in the DeFi system.

  • Smart Contract Risk:- As earlier explained that the various transaction in the DeFi system is done strictly using the smart contract. And we earlier said smart contract are written programs or code that works on the blockchain and enables both buyers and sellers make proper transaction without no third party interference. The risk here is that since it is a program code it can be hacked or change by anyone who has access to the code thereby rendering all our resources useless.

  • Impermanent Loss Risk:- This is when the amount of asset deposited in the pool drops drastically at the time of withdrawal of the said asset. For instance, you deposited 200 Steem in the liquidity pool when the price of 1 steem is $70, at the time of your withdrawal the price of 1 steem later dropped than to $20. You will notice an impermanent loss at that stage.

  • Price volatility Risk:- Since the price of an asset is not stable, there are instance where you can lock some of your asset and at the end when you want to withdraw the asset you discover that the price has completely gone below what you initial have.

  • Instability of the blockchain:- Challenges encountered in the blockchain most often than known causes instability to the Defi block hain. Hence projects connected to this Defi are usually affected because of this instability.

josantos.PNG

Question 5:
What is Yield Farming?

One other method where you can earn passive income in the DeFi system is through what we call the yield farming. Here users lock up their asset for a period of time and then make profit at the end. Users who lock up their asset here are known as liquidity provider. More also the are reward based on how long they are able to lock up their asset in the liquidity pool. And the rate of their interest here is calculated using either APR or APY.

Both lending and borrowing takes place in the pool where this asset is been deposited. To those who wish to borrow this asset pays back with certain amount of interest based on the duration and how much of this asset you are borrowing. Here liquidity provider earns passive income without any stress at all. It is recommended that instead of storing your asset in your wallet you should consider yield farming to earn for your self some amount of an asset.

josantos.PNG

Question 6:
How does Yield Farming Work?

Yield farming works in this manner, the liquidity providers which happens to be the users, lock up their asset into any pool of their choice solely to earn interest at the end. This asset locked by the user is used to perform some form of transactions like borrowing to other users so that at the end the will payback with interest. This same token locked by the users is used for quoting prices of an asset in a decentralized exchange via the automated market maker (AMM).

Steps to add liquidity on PancakeSwap

  • From the landing page of PancakeSwap, I selected liquidity on the liquidity pool screenshot below

IMG_20210722_050131.jpg

  • I chose the pair of choice which is BNB-CAKE See the screenshot below.

IMG_20210722_050219.jpg

Follow the rest procedure to complete the task. I can't progress from here because of lack of funds.

josantos.PNG

Question 7:
What Are the best Yield Farming Platforms and why they are best.

Uniswap

Uniswap is a decentralized exchange that offers various services to users. One of the manor activity here is the swapping of tokens. This DEX is also use to lend to token to different users from the liquidity pool and at the end the user pays back with certain percentage of interest. Uniswap has its own native token known as UNI and it is current number 11 based on market capitalization ranking and has a value of $16.42

Why uniswap is among the best

As far as the Ethereum network is concern, uniswap is one of the most popular DEX due to the large amount of liquidity locked up in the pool. This platform is very secured when compared to other DEX that offers the yielding services hence users prefer it because you are sure that your asset is save. Every swapping service has fees attach to it and that is how liquidity providers keep making more passive income.

Pancakeswap

In 2020, Pancakeswap came into existence. It's relevant in the decentralized exchanges since it came into existence can never be overemphasised because it offers many services such as staking, yield farming and games gambling just to mention but a few. Pancakeswap is built on the Binance smart chain network. It uses the automated market maker (AMM) protocol to handle liquidity in the platform. Pancakeswap has a native token called CAKE and it is presently number 32 in the market capitalization ranking and has a value of $12.77 as at the time of writing this assignment task.

Why pancakeswap is among the best

Among the Binance smart chain network, Pancakeswap is one of the top most decentralized platform and it has a lot of features associated to yield farming like add liquidity, liquidity pool etc. Pancakeswap is also cost effective when compared to other other decentralized exchanges built on the Ethereum blockchain. Liquidity providers earn rewards from fractions of transaction fees for every swap. The only issue associated with the panacakeswap is the issue of impermanent loss which also applicable in almost all the farm yielding platforms.

josantos.PNG

Question 8:
The Calculation method in Yield Farming Returns.

To calculate the interest accumulated by yield farming, you can either use the APR or APY.

Annual percentage rate (APR):- Annual percentage rate in Yield farming is the interest rate given to liquidity providers or users for locking or deplsiting their asset for a period of time. The interest here is base on the investors initial capital. For instance, Professor @stream4u decides to invest $100 with an APR of 50% for one year. What will be his interest.

Solution

This can be calculated thus,

50% * $100 = $150,

this implies that the professor @stream4u gets $50 extra for investing within a year.

Hence to calculate his interest per day will be
$50/365 = $0.137 every day.

Annual Percentage yield (APY):- Annual percentage yield is similar to the annual percentage rate the only difference here is the the interest give is been compounded. This means that liquidity providers will lock their asset for a period of time and the end the will receive their interest in a compound interest format. For instance, Professor @sapwood decides to invest $100 with an APY of 50% for one year. What will be his interest.

Solution

Using the formula

(1+r/n)n-1

From the formula given above,

APY= (1+50%/365)365-1

=(1+0.5/365)365-1

= (1+0.00137)365-1

= (1.00137)365-1

= $1.648

= $1.648 * $100

=$164.8

Hence APY = $164.8

If we remove the initial capital of $100, the remaining becomes our APY for the year that is $64.8.

josantos.PNG

Question 9:
Advantages & Disadvantages Of Yield Farming

Advantages of yield farming

  • Yield farming provides you with the opportunity to earn passive income. Instead of keeping your asset in the wallet where it dosen't add any value to it you can decide to earn some passive income by becoming a liquidity provider.

  • As seen above in the calculation of APY, it implies that you are eligible for reinvestment and this gives more reward than the initial usual APR.

  • Unlike other financial institutions that offers the loan services, here in yield farming you earn better reward than the one you earn in the other financial institutions.

  • There is no protocol to follow before locking up your asset and earning your reward all you need to do is just to provide the tokens to the pool and then sit back and watch.

Disadvantages of yield farming

  • There is no short term locking of an asset as the yield farming always calculate it's interest yearly.

  • Impermant loss is one problem that is faced by yield farming because we can not completely analyse the price of an asset for a whole year, hence all we do here is risk.

  • Price instability most often affects the yield farming and that has prompted theft in the decentralized system because people now produce a look alike coins which buyers seeing the price being suitable for them can horrible purchase it.

  • Yield farming is a way most people earn their passive income and because of that, platform that offer this services are open to hacking and hence assets are not too serve in the platform any longer.

josantos.PNG

Conclusion

From my little knowledge and understanding as well as the research I was able to carry out at the cause of carrying out this task, I have come to a conclusion that the DeFi is really a breakthrough in the world of finance. Since the DeFi system gives it users absolute control over their asset, it implies that it has solved the problem of centralization. The DeFi system uses the peer to peer and smart contract to carry out its entire transaction as fast as possible since there is no third party to delay transactions process.

Investors find the DeFi system interesting because it has the feature of allowing it's users earn some passive income by either staking, lending etc. The prices here are subject to the automated market maker (AMM) protocol.

One unique feature of the DeFi system is the yield farming. This has helped investors as well as liquidity providers to earn income even while doing nothing. As we have seen above the interest rate in the yield farming can either be calculated via APR or APY. Recall that due to impermanent loss sometimes the user or liquidity provider may not get a good interest as a matter of fact, he may be at lost.

Thanks for your time...

Sort:  

Hi @simonnwigwe

Thank you for joining The Steemit Crypto Academy Courses and participated in the Homework Task.

Review Visit Level
Task Remark
Comment
Guidance, Feedback, Suggestions
Grade
Verification (Done, Hold)
First
Completed
The Presentation of Task is Good. You provide information on all Questions and provided information is excellent. The Task has Quality content.
You did great in this task, as compared to previous tasks now we can see that the presentation level improved in this task, you provided details with proper formatting, Keep up the good work.
10
Done

Your Homework Task verification has been done by @Stream4u, hope you have enjoyed and learned something new.

Thank You.
@stream4u
Crypto Professors : Steemit Crypto Academy
#affable

 3 years ago 

Thank you so much prof for the review I really have been learning a lot from you and I will work harder in the next task.

Coin Marketplace

STEEM 0.26
TRX 0.11
JST 0.032
BTC 63510.75
ETH 3065.54
USDT 1.00
SBD 3.82