DeFi lending and borrowing, explained

Published at: Jan. 18, 2021

Are there any risks involved?

DeFi protocols feature certain risks, such as third-party smart contract tampering and the risk of borrow APYs rising dramatically within a short time period.

When compared with centralized finance, there are no practical dangers associated with DeFi lending. However, like anything else, DeFi, too, has risks associated with it. For example, there are certain smart contract risks that are present as well as the threat of APYs changing dramatically within a short time window. 

For example, during the DeFi craze of 2020 where “yield farming” became a rage globally, borrow APYs on certain cryptocurrencies rose to 40% and over. This could have potentially caused unaware users who may not track their interest rates daily to repay more than what they might have initially expected.

Overall, while the entire process of lending and borrowing using DeFi platforms is not really complicated, there are certain small differences in terms of how each specific protocol operates, for example, the various wallets they support, applicable fees, etc. 

Furthermore, users still have to be cautious and ensure that they have inserted the correct wallet numbers and address details so as not to end up losing their funds since there is no way to recover them in such a scenario.

What are the mechanics of how interest returns are doled out in DeFi?

One picks a coin that they want to lend as well as the smart contract using a DeFi app, then the interest amount is supplied directly to the associated wallet.

To cut a very long story short, the interest that lenders receive and what borrowers have to pay is calculated by using the ratio that exists between the supplied and borrowed tokens in a particular market. Also, it should be noted that the borrow annual percentage yield is higher than the supply APY in relation to a particular market. 

On another technical note, interest APYs are determined per Ethereum block, which means that DeFi lending entails users being provided with variable interest rates that can change dramatically depending on the lending and borrowing demand for particular tokens. Also, some protocols, such as Aave, offer their users stable “borrow APYs” as well as flash loans, for which no upfront collateral is required.

Is there a cap on how much money one can borrow?

Yes, and there are primarily two factors that govern this. Does the platform have enough liquidity? What is the “collateral cofactor” of a person’s supplied assets?

There is indeed a limit, and there are two primary factors that govern how much money an individual can borrow. First, it depends on the total fund pool that is actually available to be borrowed from a particular market. And while this may not be a major issue, it could become a factor if someone actually tries to borrow a really large volume of a certain token.

Secondly, it’s largely dependent on the “collateral factor” of one’s supplied tokens. This term refers to the total amount of funds that can be borrowed based on the quality of the collateral provided. For example, Dai and Ether (ETH) possess a collateral factor of 75% on the DeFi lending platform Compound, which means that users can take a loan of up to 75% of the value of their supplied Dai or ETH.

On a more technical note, those who borrow funds must have the total value of their borrowed amount stay under the following limit — the value of one’s collateral multiplied by its collateral factor. As long as this condition stays valid, an individual can borrow as much money as they wants.

How does lending and borrowing work on DeFi platforms?

An individual sends the tokens they wish to lend into a “money market” using a smart contract, which then issues interest in the platform’s native token.

When making use of DeFi protocols such as Aave and Maker, users looking to become “lenders” need to supply their tokens into what is referred to as a “money market.” This is done so by an individual sending their assets to a smart contract — which serves as an automated digital intermediary — following which the coins become available to other users for borrowing.

The aforementioned smart contract issues interest tokens that are doled out automatically to the user and can be redeemed at a later stage in place for one’s underlying assets. The tokens that are minted are native to the platform, for example, in Aave the interest tokens are called aTokens, whereas on Maker they are referred to as Dai.

Almost all of the loans that are issued via the native tokens are over-collateralized, which basically means that users who want to borrow funds are required to provide a guarantee — in the form of crypto — that is worth more than the actual loan itself. 

While on paper this may seem somewhat absurd since the person could potentially just sell their assets in the first place to get the money, there are many reasons why DeFi borrowing makes sense. 

Firstly, users may need funds to cover any unforeseen expenses they may have incurred while not wanting to sell their holdings, as the assets may be primed to increase in value in the future. Similarly, by borrowing via DeFi protocols, individuals can potentially avoid or delay paying capital gains taxes on their digital tokens. Lastly, individuals can use funds borrowed via such platforms to increase their leverage on certain trading positions.

What is lending and borrowing in DeFi?

Lending and borrowing, within the realm of traditional as well as crypto finance, entails the act of one party providing monetary assets — be it fiat or digital currencies — to someone else in exchange for a steady income stream.

The concept of “lending and borrowing” has been around for ages and is one of the core aspects of any financial system, especially the “fractional banking” setup that is predominantly used across the globe today. The idea is extremely straightforward — i.e., lenders provide funds to borrowers in return for a regular interest rate, and that’s quite literally it. Also, traditionally, such deals are usually facilitated by a financial institution such as a bank or an independent entity such as a peer-to-peer lender.

In the context of cryptocurrencies, lending and borrowing can be facilitated via two primary routes — via a centralized finance institution, such as BlockFi, Celsius, etc., or through the use of decentralized finance protocols such as Aave, Maker and so on.

CeFi platforms, though decentralized to a certain extent, work in pretty much the same way as most banks, whereby they take custody of one’s deposited assets, eventually loaning them out to third parties — such as market makers, hedge funds or other users of their platform — while providing the original depositor with steady returns. And though on paper this model looks and works quite well, it could be prone to a number of issues, such as thefts, hacks, insider jobs, etc.

DeFi protocols, on the other hand, allow users to become lenders or borrowers in a completely decentralized fashion, such that an individual has complete control over their funds at all times. This is made possible via the use of smart contracts that operate on open blockchain solutions such as Ethereum. In contrast to CeFi, DeFi platforms can be used by anyone, anywhere without them having to hand over their personal data to a central authority.

Tags
P2P
Related Posts
DeFi has to be improved by embracing its peer-to-peer aspect
During this first wave of decentralized finance projects and services, users have been more than willing to part with their funds. It is very similar to how decentralized exchanges work, as convenience seems to trump privacy and security in DeFi. Just because some platforms offer a high annual percentage yield does not mean anyone should give up control of their funds. Considering that DeFi is designed to be built on blockchain technology, there is no reason for go-betweens, intermediaries or fees. Unfortunately, these aspects are all present in a lot of solutions today. Regrettably, users have to pay to deposit …
Technology / Jan. 31, 2021
Space-based MMO game prepares for lift-off, powered by DeFi and NFTs
A space-themed, DeFi-based massively multiplayer online game is coming to the Ethereum blockchain. Created by the developers of the very popular 2018 DApp city builder game MegaCryptoPolis, Farsite is a real time strategy MMO set in a universe populated by spaceships and planetary bases in which players can take on a number of roles ranging from explorer, merchant or miner to politician, pirate, or even governor of an entire star system. Inspired by the leading projects of the MMO industry, Farsite developer SUPERNOVAE took up an ambitious task: To give the players all of the power in the universe of …
Nft / May 27, 2021
Tether tokens go live on Ethereum competitor Solana blockchain
Stablecoin issuer Tether has announced that USDT tokens are launching today, March 9, on the Solana (SOL) blockchain. Speaking to Cointelegraph, Tether's chief technical officer said that the integration with the layer 1 blockchain promises to support a wide array of projects in the Decentralized Finance, or DeFi, sector and other Web 3.0. activities. As previously reported, Solana is being pitched as a competitor to Ethereum, with the hope of drawing DeFi actors into its network as they wait for the full benefits of Eth2 to finally kick in. According to Tether, Solana will enable users to transact USDT at …
Ethereum / March 11, 2021
Avalanche (AVAX) loses 30%+ in April, but its DeFi footprint leaves room to be bullish
Avalanche (AVAX) price is down more than 30% in April, but despite the negative price move, the smart contract platform remains a top contender for decentralized applications due to its scalability, low-cost transactions and its large footprint in the decentralized finance (DeFi) landscape. The network is compatible with the Ethereum Virtual Machine (EVM) and unique in that it does not face the same operational bottlenecks of high transaction fees and network congestion. Avalanche was able to amass over $9 billion in total value locked (TVL) by offering a proof-of-stake (PoS) layer-1 scaling solution. This indicator is extremely relevant because it …
Nft / April 29, 2022
MakerDAO goes ahead with $500M investment in treasuries and bonds
MakerDAO, the governing body of the Maker Protocol, has taken the first step of its plan to reallocate $500 million of its stablecoin Dai (DAI) collateral reserves into short-term United States Treasuries and corporate bonds. The decentralized autonomous organization (DAO) voted on Oct. 6 to approve a pilot transaction of $1 million following an executive vote from Maker (MKR) token holders, with the rest of the funds soon to be reallocated following confirmation from the community. A majority, 80% of the $500 million, will be invested in short-term U.S. Treasuries, with $160 million allocated to the 0-1y US Treasury iShares …
Etf / Oct. 7, 2022