• Home
  • Podcast
  • App
No Result
View All Result
Subscribe
×
sign in
  • Learn
    • All
    • Crypto Basics
    • Token Metrics Tutorials
    • Weekly Index Performance
    Bitcoin: Everything You Need To Know

    Bitcoin: Everything You Need To Know

    What is Web 3.0? Everything You Need to Know

    What is Web 3.0? Everything You Need to Know

    NEW Token Metrics Crypto Market Indicators

    NEW Token Metrics Crypto Market Indicators

    Weekly Index Performance – May 26, 2022

    Weekly Index Performance – May 26, 2022

    NFTs Explained: What Are Non-Fungible Tokens?

    NFTs Explained: What Are Non-Fungible Tokens?

    Weekly Index Performance – April 27, 2022

    Weekly Index Performance – April 27, 2022

    When Does the Crypto Market Close?

    When Does the Crypto Market Close?

    Will Shiba Inu reach $1?

    Will Shiba Inu reach $1?

    How to Receive Crypto Alerts Through Token Metrics

    How to Receive Crypto Alerts Through Token Metrics

    • Crypto Basics
    • Weekly Performance
  • Market Analysis
    • All
    • Market Navigator
    • Market Update
    shanghai hard fork

    Shanghai Hard Fork – Investing Opportunities | Navigator

    The Bottom | Market Update

    The Bottom | Market Update

    The Metaverse Rally | Market Update

    The Metaverse Rally | Market Update

    The Dollar and DOGE| Market Update

    The Dollar and DOGE| Market Update

    Crypto Market Update

    Can Crypto Rally In October? | Market Update

    Crypto Rektember

    Can You Believe The Macro Shift ? Market Update

    Crypto Rektember

    From Rektember to a Brighter October | Market Update

    ethereum-its-time

    Ethereum: It’s Time | Market Update

    Europe is headed for a depression

    Europe is headed for a depression | Market Update

    • Market Update
    • Price Prediction
    • Market Navigator
  • Deep Dive
  • Hidden Gems
    • All
    • DeFi
    • Gaming and Metaverse
    • NFTs
    • Web 3
    Azuki NFTs

    Azuki | Hidden Gems – NFT

    LonelyPop

    LonelyPop, POTATOZ By 9GAG | Hidden Gems – NFT

    Moonrunners, Disco Kittiez | Hidden Gems – NFT

    Moonrunners, Disco Kittiez | Hidden Gems – NFT

    Evmos, Penumbra, Oasis Network | Hidden Gems – Web 3

    Evmos, Penumbra, Oasis Network | Hidden Gems – Web 3

    League Of Kingdoms, Aurory | Hidden Gems – Gaming and Metaverse

    League Of Kingdoms, Aurory | Hidden Gems – Gaming and Metaverse

    Orderly Network, zCloak Network | Hidden Gems – Web 3

    Orderly Network, zCloak Network | Hidden Gems – Web 3

    Sneakerheads, The Possessed NFT | Hidden Gems – NFT

    Sneakerheads, The Possessed NFT | Hidden Gems – NFT

    BitCraft Online, Earth from Another Sun | Hidden Gems – Gaming and Metaverse

    BitCraft Online, Earth from Another Sun | Hidden Gems – Gaming and Metaverse

    OnChainMonkey & RUNNER | Hidden Gems – NFTs

    OnChainMonkey & RUNNER | Hidden Gems – NFTs

    • DeFi
    • Gaming and Metaverse
    • NFTs
  • Code Reviews
  • Reports
    • All
    • Altcoin Quarterly
    • Awards and Ratings
    • News and Thought Leadership
    NFT Grade

    Introducing Token Metrics NFT Grade

    Token Metrics Research

    Introducing Token Metrics Research

    Research & Chill: 30% Token Metrics Discount

    Research & Chill: 30% Token Metrics Discount

    The Best Crypto News Sites of 2022

    The Best Crypto News Sites of 2022

    The Best Crypto Analysts of 2022

    The Best Crypto Analysts of 2022

    Token Metrics + CEX.IO Promotional Coupon

    Token Metrics + CEX.IO Promotional Coupon

    Partner plan

    NEW Token Metrics Partner Plan

    NEW Token Metrics Crypto Market Indicators

    NEW Token Metrics Crypto Market Indicators

    Best Altcoins of 2021 | Altcoin Quarterly Report | Q4 2021

    Best Altcoins of 2021 | Altcoin Quarterly Report | Q4 2021

    • Altcoin Quaterly
    • Moon Awards
    • News and Thought Leadership
  • TV
  • Learn
    • All
    • Crypto Basics
    • Token Metrics Tutorials
    • Weekly Index Performance
    Bitcoin: Everything You Need To Know

    Bitcoin: Everything You Need To Know

    What is Web 3.0? Everything You Need to Know

    What is Web 3.0? Everything You Need to Know

    NEW Token Metrics Crypto Market Indicators

    NEW Token Metrics Crypto Market Indicators

    Weekly Index Performance – May 26, 2022

    Weekly Index Performance – May 26, 2022

    NFTs Explained: What Are Non-Fungible Tokens?

    NFTs Explained: What Are Non-Fungible Tokens?

    Weekly Index Performance – April 27, 2022

    Weekly Index Performance – April 27, 2022

    When Does the Crypto Market Close?

    When Does the Crypto Market Close?

    Will Shiba Inu reach $1?

    Will Shiba Inu reach $1?

    How to Receive Crypto Alerts Through Token Metrics

    How to Receive Crypto Alerts Through Token Metrics

    • Crypto Basics
    • Weekly Performance
  • Market Analysis
    • All
    • Market Navigator
    • Market Update
    shanghai hard fork

    Shanghai Hard Fork – Investing Opportunities | Navigator

    The Bottom | Market Update

    The Bottom | Market Update

    The Metaverse Rally | Market Update

    The Metaverse Rally | Market Update

    The Dollar and DOGE| Market Update

    The Dollar and DOGE| Market Update

    Crypto Market Update

    Can Crypto Rally In October? | Market Update

    Crypto Rektember

    Can You Believe The Macro Shift ? Market Update

    Crypto Rektember

    From Rektember to a Brighter October | Market Update

    ethereum-its-time

    Ethereum: It’s Time | Market Update

    Europe is headed for a depression

    Europe is headed for a depression | Market Update

    • Market Update
    • Price Prediction
    • Market Navigator
  • Deep Dive
  • Hidden Gems
    • All
    • DeFi
    • Gaming and Metaverse
    • NFTs
    • Web 3
    Azuki NFTs

    Azuki | Hidden Gems – NFT

    LonelyPop

    LonelyPop, POTATOZ By 9GAG | Hidden Gems – NFT

    Moonrunners, Disco Kittiez | Hidden Gems – NFT

    Moonrunners, Disco Kittiez | Hidden Gems – NFT

    Evmos, Penumbra, Oasis Network | Hidden Gems – Web 3

    Evmos, Penumbra, Oasis Network | Hidden Gems – Web 3

    League Of Kingdoms, Aurory | Hidden Gems – Gaming and Metaverse

    League Of Kingdoms, Aurory | Hidden Gems – Gaming and Metaverse

    Orderly Network, zCloak Network | Hidden Gems – Web 3

    Orderly Network, zCloak Network | Hidden Gems – Web 3

    Sneakerheads, The Possessed NFT | Hidden Gems – NFT

    Sneakerheads, The Possessed NFT | Hidden Gems – NFT

    BitCraft Online, Earth from Another Sun | Hidden Gems – Gaming and Metaverse

    BitCraft Online, Earth from Another Sun | Hidden Gems – Gaming and Metaverse

    OnChainMonkey & RUNNER | Hidden Gems – NFTs

    OnChainMonkey & RUNNER | Hidden Gems – NFTs

    • DeFi
    • Gaming and Metaverse
    • NFTs
  • Code Reviews
  • Reports
    • All
    • Altcoin Quarterly
    • Awards and Ratings
    • News and Thought Leadership
    NFT Grade

    Introducing Token Metrics NFT Grade

    Token Metrics Research

    Introducing Token Metrics Research

    Research & Chill: 30% Token Metrics Discount

    Research & Chill: 30% Token Metrics Discount

    The Best Crypto News Sites of 2022

    The Best Crypto News Sites of 2022

    The Best Crypto Analysts of 2022

    The Best Crypto Analysts of 2022

    Token Metrics + CEX.IO Promotional Coupon

    Token Metrics + CEX.IO Promotional Coupon

    Partner plan

    NEW Token Metrics Partner Plan

    NEW Token Metrics Crypto Market Indicators

    NEW Token Metrics Crypto Market Indicators

    Best Altcoins of 2021 | Altcoin Quarterly Report | Q4 2021

    Best Altcoins of 2021 | Altcoin Quarterly Report | Q4 2021

    • Altcoin Quaterly
    • Moon Awards
    • News and Thought Leadership
  • TV
No Result
View All Result
No Result
View All Result
Home Learn Crypto Basics

What Are Flash Loans?

by Stephen Tuttle
2022/04/14
in Crypto Basics, Learn
Reading Time: 4 mins read
0
0
SHARES
7
VIEWS

Flash loans are smart contracts that create loans and pay them back with interest within a single Ethereum block. These funds are borrowed with no collateral because the transactions occur instantaneously. Thus, there is no need for collateral to enter a vault.

Flash loans are possible in DeFi because of the atomic nature of Ethereum transactions. Essentially, flash loans are feasible because for an Ethereum transaction to be successful, all parts of the transaction must be valid. Thus, if one part of the transaction fails, the entire transaction fails.

The most common protocols for flash loan lending are AAVE and dYdX. These protocols allow developers (receiving a flash loan requires a fair amount of technical skill) to code and execute contracts that request a flash loan. Loans can be worth millions of dollars.

There are three common use cases for flash loans: trading arbitrage, collateral swapping, and self-liquidation.  This post will detail the benefits and risks associated with each use case.  

Smart contract and platform risks will always be present in DeFi use cases, including flash loans. 

Trading Arbitrage

The original and likely most profitable use of flash loans was to take advantage of different arbitrage opportunities across markets. Essentially, traders would take out a flash loan to borrow 100,000 DAI because they notice a price discrepancy between the Uniswap and Sushiswap DAI/USDC pools.

For example, on Uniswap, traders can swap .99 DAI for 1 USDC, and on Sushiswap, 1 DAI can be exchanged for 1 USDC. A clever trader would take advantage of this using a flash loan by taking out 1,000,000 DAI and swapping it on Uniswap for 1,010,101 USDC. Finally, they would convert the USDC back to DAI on Sushi to pay off the loan (keep in mind this all took place in the same transaction).

After the AAVE fee of 0.09% (other providers like dYdX do not take flash loan fees) is taken, the arbitrageur receives a profit of 1,101 DAI. Be aware that this example does not account for gas fees. Ethereum fees could negate the profit made in a flash loan transaction.

Flash loan arbitrage is an intricate way for traders to take advantage of market inefficiencies. Once developers discovered this opportunity, they began creating bots that could profit from these opportunities nearly instantaneously. Additionally, bots were made that could copy an arbitrage trade, but send more gas so that the bot transaction is approved and the trader’s transaction is not.

Capitalizing on arbitrage trades using flash loans is still possible, however, the use of bots has made the practice far more challenging.      

Collateral Swapping

There are situations where a trader may want their collateral posted in a different currency. A trader may have a loan backed by their ETH, but they prefer to have the collateral in a new currency such as LINK.

Collateral Swapping is a 5-step process:

  1. Borrow DAI using ETH as collateral
  2. Take a flash loan for DAI
  3. Repay loan from 1 using DAI borrowed in step 2 and receive ETH used as collateral
  4. Swap ETH received in the previous step for LINK and borrow DAI using LINK as collateral
  5. Repay flash loan using DAI borrowed in step 4

*Reminder that steps 2-5 are occurring within the same Ethereum block*

Once these steps are complete, the trader will have a DAI loan just as they did before, but instead of using ETH as collateral, they are using LINK. DeFi users may put this into practice if they are less bullish on the asset being used as collateral initially.

There are no-code required solutions for receiving flash loans for collateral swapping using DeFiSaver and Collateralswap.    

Self-Liquidation

Flash loans can come in handy when a borrower is at risk of getting liquidated because the price of their collateral asset is tanking, and they do not have the money required to pay back the loan. Taking a flash loan to self-liquidate may be a borrower’s best option in this scenario.  

Let us say a borrower received DAI in exchange for ETH as collateral. And now, they are at risk of getting liquidated because the ETH price keeps dropping, and they do not have enough DAI available to repay the loan.  

To self-liquidate, the borrower needs to take out a flash loan in DAI, pay off the original loan and receive the ETH collateral. Finally, they pay off the flash loan using the ETH.  

Tags: Crypto BasicsFree
Stephen Tuttle

Stephen Tuttle

Stephen Tuttle is a writer for Token Metrics, a cryptocurrency research and analytics platform powered by AI. Entrepreneurship, fintech, and economics are his primary sources of inspiration.

Related Posts

Help

Market Landing Page Tutorial

January 6, 2023
NFT Grade
News and Thought Leadership

Introducing Token Metrics NFT Grade

August 18, 2022
Token Metrics Research
News and Thought Leadership

Introducing Token Metrics Research

July 9, 2022
Next Post
Market Update – February 24th, 2022

Market Update - February 24th, 2022

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

COMPANY

  • About Us
  • Contact Us
  • Privacy Policy
  • Sitemap

7600 Chevy Chase Drive, Suite 300, Austin, Texas, 78752, USA
Email: info@tokenmetrics.com | Tel: +1-888-908-6536

DISCLAIMER

Token Metrics Media LLC is a regular publication of information, analysis, and commentary focused especially on blockchain technology and business, cryptocurrency, blockchain-based tokens, market trends, and trading strategies.

Token Metrics Media LLC does not provide individually tailored investment advice and does not take a subscriber’s or anyone’s personal circumstances into consideration when discussing investments; nor is Token Metrics Advisers LLC registered as an investment adviser or broker-dealer in any jurisdiction.

Information contained herein is not an offer or solicitation to buy, hold, or sell any security. The Token Metrics team has advised and invested in many blockchain companies. A complete list of their advisory roles and current holdings can be viewed here: https://tokenmetrics.com/disclosures/

Token Metrics Media LLC relies on information from various sources believed to be reliable, including clients and third parties, but cannot guarantee the accuracy and completeness of that information. Additionally, Token Metrics Media LLC does not provide tax advice, and investors are encouraged to consult with their personal tax advisors.

All investing involves risk, including the possible loss of money you invest, and past performance does not guarantee future performance. Ratings and price predictions are provided for informational and illustrative purposes, and may not reflect actual future performance.

Copyright © 2022 - Token Metrics - All Rights Reserved

No Result
View All Result
  • Learn
    • Crypto Basics
    • Weekly Performance
  • Market Analysis
    • Market Update
    • Price Prediction
    • Market Navigator
  • Deep Dive
  • Hidden Gems
    • DeFi
    • Gaming and Metaverse
    • NFTs
  • Code Reviews
  • Reports
    • Altcoin Quaterly
    • Moon Awards
    • News and Thought Leadership
  • TV

Copyright © 2022 Token Metrics All Rights Reserved