Flashloan and how it works

thumbnail

Share the knowledge 馃殌

Crypto/blockchain is taking the financial ecosystem, especially digital currency into a new height. However, the area of interest is known as a flash loan. Everyone knows what a loan is, and there are various types of loans. We have secured and unsecured loans.

Secured Loan

This is a form of loan in which the borrower needs to present collateral in the process and whatever he presentscan be in form of money or property to the lender in case if eventually, he could not return or payback.

The amount is given usually attracts some additional amount as interestwhich is made known to the borrowerbefore the loan will be given. Although, the interest does not have a fixed price but varies from oneorganizationto another.

The limitation with this is that not everybody has something to present as collateral which means people do not have an equal chance of getting a loan for their proposed business.

Unsecured loan

An unsecured loan is the one given to the borrower without collateral.It means he has nothing to lose which is detrimental to the lender and will block the chances of people getting the same form of loan from a victim (a lender that could not get back his money) of an unsecured loan.

It is usually given base on trust or to someone well known to the lender. Many people are always skeptical about giving an unsecured loan to anyone because of the risk. So, the limitations of this form of loan are that most people are scared of giving, even if the borrower is known or because the money may not be repaid and there is nothing to leverage on, and this will result in many peoplenot having access to a loan to finance their businesses.

Flash loan

The case of flash loans is entirely different from the previously mentioned forms of loans. It maintains a balance between secured and unsecured loans. It is a loan that is borrowed and returned in just one Ethereum transaction. However, it does not require Collateral, and that makes it a better choice of loan. It has some specific properties, and they are explained below:

vCollateral is not a prerequisite

vIt should be borrowed and returned in just one transaction.

vOne must ensure the transaction is completed absolutely or else it would be reverted, and the gas fee shall be paid.

vThe initial amount borrowed shall be returned with a minimal additional amount.

How does flash loan work?

The central concept of flash loan is the lending and borrowing protocol that is built on Ethereumblockchainintroduced by the Aave project. Anybody has the privilege to lend and borrow Ethereum together with other tokens by the use of Aave protocol.

Suppose your token is lent out, you will earn according to the present interest rate, and this is precisely the way the protocol gets its liquidity. You can borrow it for an extended time, and the loans are uncollateralized.

It is worthy of note that anybody can borrow the liquidity and use it with other protocols like swap, trade, arbitrage, and return it in just one transaction.

Suppose the flash loan is acquired, let鈥檚 assume it's $20,000 and a token is traded at $20 on Dex 1, but $21 on Dex 2:

  • Use it to buy a token from Dex 1
  • Then sell it on Dex 2
  • Return it with the required interest rate
  • The profit left is yours

The four steps have been analyzed above will be in a single transaction and the borrower will have a profit of $1000 from which he will pay the interest and pocket the remaining amount.

Flash Loan Attacks

It was recently reported thatattackers that manipulated the market only made use of the huge amount gotten via flash loan because, with it, anyone can be a whale for a few moments. In a nutshell, the problem is not from the flash loan, but from the other protocols.

Advantages of Flash loan

Flash loan has many benefits like other forms of loan, but the central aspect that makes it stand out unlike other forms of loan is that it does not require Collateral and this is the major limitation that deprives many of having access to loans. Therefore, with the flash loan, everyone is a stakeholder, and not having what to be presented as Collateral is no more a problem.

Summary

A flash loan is the type of loan that maintains the balance between the secured and unsecured loan and also favors both the lender and the borrower.

READ MORE

Why the high demand for P2P Cryptocurrency exchange development needs to be closely watched?

DeepTradebot: Innovation of Large Companies at Your Service

Starting a business during the coronavirus pandemic

Can Libra be Zuckerberg's latest goldmine?

Many Jobs that will go obsolete in the next decade

Current surge in cryptocurrency scams; old and new ways

Reason Fintech innovations might soon end banks domination

Tags:
Flash loan
Category:Blockchain

DISCLOSURE

Comments here are not of the author's opinion. Users are responsible for their comments.

Saira

Professional writer

Follow on Twitter

Related Post

What are the Key Components of The Blockchain Network?

Blockchain

What are the Key Components of The Blockchain Network?

Blockchain: Understanding Blockchain Layers and its Architecture?

Blockchain

Blockchain: Understanding Blockchain Layers and its Architecture?

Understanding Blockchain Social Media

Blockchain

Understanding Blockchain Social Media

Blockchain-as-a-Service (BaaS) and its Benefits

Blockchain

Blockchain-as-a-Service (BaaS) and its Benefits

Blockchain Technology for Green Innovation

Blockchain

Blockchain Technology for Green Innovation

Introduction to EtherMail: A Secure and Private Web3 Mailing Service

Blockchain

Introduction to EtherMail: A Secure and Private Web3 Mailing Service

AI-Blockchain Projects: The Top 5 You Must Know

Blockchain

AI-Blockchain Projects: The Top 5 You Must Know

How AI and Blockchain Technology are Changing Businesses

Blockchain

How AI and Blockchain Technology are Changing Businesses