• Latest
What Is a Flash Loan?

What Is a Flash Loan?

February 17, 2021
ygg sea surpasses 10,000 scholarships in just six months of launch

YGG SEA Surpasses 10,000 Scholarships in Just Six Months of Launch

May 6, 2022
mintable launches industry changing gas free minting service on ethereum

Mintable Launches Industry Changing Gas Free Minting Service on Ethereum

May 1, 2022
5 projects enabling smart contract development on bitcoin

5 Projects Enabling Smart Contract Development on Bitcoin

April 29, 2022
bitcoin atm installed in mexico's senate building

Bitcoin ATM installed in Mexico’s Senate Building

April 27, 2022
cross chain services play a crucial role in facilitating continued adoption of defi applications

Cross-Chain Services Play a Crucial Role in Facilitating Continued Adoption of DeFi Applications

April 26, 2022
justin sun launches usdd, integrating the blockchain world and the real world with the decentralized stablecoin

Justin Sun Launches USDD, Integrating the Blockchain World and the Real World with the Decentralized Stablecoin

April 25, 2022
nfts: the next musical revolution

NFTs: The Next Musical Revolution

April 24, 2022
things you should know before investing in nfts

Things You Should Know Before Investing in NFTs

April 24, 2022
what are wrapped tokens?

What Are Wrapped Tokens?

April 23, 2022
what is the future of ethereum (eth)?

What is the future of Ethereum (ETH)?

April 22, 2022
green gaming

Everything You Need to Know About Play-to-Earn on Algorand in 2022

April 21, 2022
$ape going bananas as rumors of upcoming land sale of bayc metaverse gather momentum

$APE Going Bananas As Rumors of Upcoming Land Sale of BAYC Metaverse Gather Momentum

April 21, 2022
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining
CoinNewsDaily
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining
No Result
View All Result
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining
No Result
View All Result
CoinNewsDaily
No Result
View All Result
Home Bitcoin

What Is a Flash Loan?

coinnewsdaily by coinnewsdaily
February 17, 2021
in Bitcoin
0
What Is a Flash Loan?
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter

Related articles

5 projects enabling smart contract development on bitcoin

5 Projects Enabling Smart Contract Development on Bitcoin

April 29, 2022
bitcoin atm installed in mexico's senate building

Bitcoin ATM installed in Mexico’s Senate Building

April 27, 2022

A flash loan is relatively new type of uncollateralized lending that has become popular across a number of decentralized finance (DeFi) protocols based on the Ethereum network.

These types of loans have made headlines recently because they have been used to exploit a number of vulnerable DeFi protocols, leading to millions of dollars in losses. Yet, advocates argue flash loans introduce an innovative and useful tool to the world of finance for arbitrage and quick trades that weren’t possible before blockchains.

Most of us are familiar with normal loans. A lender loans out money to a borrower to be eventually paid back in full. The lender receives a payout from the borrower for temporarily parting with its money.

Flash loans are similar, but they have the following unique properties:

  • Smart contracts: Flash loans use smart contracts, tools enabled by a blockchain that don’t let funds change hands unless certain rules are met. In the case of a flash loan, the rule is that the borrower must pay back the loan before the transaction ends, otherwise the smart contract reverses the transaction – so it’s like the loan never happened in the first place.
  • Unsecured loan: Often lenders require borrowers to put up collateral to ensure that if the borrower can’t pay back the loan the lender is still able to get their money back. But in an unsecured loan, no collateral is required. This lack of collateral doesn’t mean the flash loan lender will not get its money back. It’s just sent back in a different way. Instead of offering collateral, the borrower needs to pay back the money right away, which brings us to our next point.
  • Instant: Usually, obtaining and fulfilling a loan is a long process. If a borrower gets approved for a loan, he or she typically has to pay it back steadily over a period of months or years. A flash loan, however, is instantaneous. The smart contract for the loan must be fulfilled in the same transaction that it is lent out. This means the borrower has to call on other smart contracts to perform instant trades with the loaned capital before the transaction ends, which is usually a few seconds.

This type of loan can be useful in certain instances, such as for traders looking to quickly profit from arbitrage opportunities when two markets are pricing a cryptocurrency differently.

Ethereum lending platform Aave pioneered the idea in early 2020. The concept is new and still has a lot of kinks because new hacks are making abundantly clear. “There is no real-world analogy to Flash Loans,” as the Ethereum lending platform Aave puts it in its documentation.

Flash loan FAQs


Where does Ethereum fit into flash loans?

This speed and other unique properties are enabled by Ethereum, which aims to expand blockchain to other use cases beyond simple transactions. Flash loans are one popular experiment amid Ethereum’s decentralized finance movement, which has cultivated financial alternatives without intermediaries. Instead, by using DeFi apps, users are supposed to be more in control of the financial instruments, such as loans, derivatives and other contracts.

Advocates argue DeFi-style apps could give users more control over their finances, in contrast to big Wall Street corporations and other traditional financial institutions.

But that’s not why everyone is interested. DeFi has also drawn a lot of enthusiasm because a some traders have succeeded in making high returns from speculating on new coins.


Why would I want to use a flash loan?

In short, it’s one way to potentially make substantial gains without having to risk your own money.

There are times when the unheard-of speed of a flash loan makes sense.

Flash loans can be used for:

  • Arbitrage: Traders can make money by looking for price discrepancies across a number of different exchanges. Say two markets are pricing pizzacoin differently. It’s priced at $1 on Exchange A and $2 on Exchange B. A user can use a flash loan and call a separate smart contract to buy 100 pizzacoins for $100 at Exchange A, then sell them for $200 at Exchange B. The borrower then repays the loan and pockets the difference.
  • Collateral swaps: Quickly swapping the collateral backing the user’s loan for another type of collateral.
  • Lower transaction fees: In a sense, flash loans roll what would normally take several transactions into one. Each transaction costs a fee so flash loans potentially mean lower fees.

Aave describes some other potential use cases here.


Can I make money with a flash loan?

Potentially, provided you have thoroughly researched both the protocol you intend to borrow from and send the borrowed capital to. Some people have used these types of loans to earn money very quickly. But as attacks on flash loans have shown, the technology is definitely not without risks.


How do I use a flash loan?

Flash loans are available on a variety of Ethereum-based DeFi lending platforms, such as Aave and dYdX.

They started off as a tool solely for those tech-savvy enough to use the command line, a method for developers to send textual commands to a computer. But now more user-friendly interfaces are emerging, too.


What if I don’t pay back a flash loan?

Then you won’t get the loan in the first place.

Remember that the entire flash loan takes place within just a single transaction. If both parties, the lender and the borrower, fail to follow the rules, the loan won’t be issued. That’s the advantage of a smart contract. It won’t allow money to move unless a condition is met.

So if the money isn’t paid back by the borrower instantly in the transaction, the smart contract will simply reverse the transaction and hand the money back to the lender.


How secure are flash loans?

Flash loans have been the subject of several attacks leading to millions of dollars in losses. There are an array of ways that malicious actors can game the loaning mechanism.

This highlights a broader problem with Ethereum and DeFi. The problem is that smart contracts can be gamed if they aren’t written to execute exactly as intended or if the data flowing into them is corrupted or exploitable. But the technology is new. Some argue that these kinds of issues will evaporate as the technology matures, while others believe these attacks will remain a persistent challenge.


How does a flash loan ‘attack’ work?

Flash loans are less than a year old and there have already been a long line of attacks, with different characteristics.

Ethereum trading and lending protocol bZX was the subject of a flash loan attack where the borrower was able to trick the lender into thinking he or she repaid them in full, but the borrower really hadn’t. This was done by temporarily pushing up the price of the stablecoin being used to repay the loan.

In another recent event, one entity used a flash loan to secure extra votes in a MakerDAO vote impacting the whole community.

Meanwhile, computer science researchers wrote a post at security blog Hacking Distributed exploring some of the ways to attack flash loans “for fun and profit.”

These are just a couple of examples of flash loans not being used as intended. Engineers are looking into various ways to ensure they work without unexpected loopholes.

Credit: Source link

Tags: AAVEfinancefinance movementflashvulnerable DeFi protocols
Share76Tweet47
Previous Post

Dubai Free Zone Becomes First UAE Government Entity to Accept Bitcoin

Next Post

Valid Points: How CME Ether Futures Work and Why They Matter

coinnewsdaily

coinnewsdaily

CoinNewsDaily.com is an online Crypto Coin News Website that aims to provide latest trendy news from market and around the world.

Related Posts

5 projects enabling smart contract development on bitcoin
Alt Coin

5 Projects Enabling Smart Contract Development on Bitcoin

April 29, 2022
bitcoin atm installed in mexico's senate building
Bitcoin

Bitcoin ATM installed in Mexico’s Senate Building

April 27, 2022
what are wrapped tokens?
Bitcoin

What Are Wrapped Tokens?

April 23, 2022
btc and eth will break all time highs in 2022 — celsius ceo
Bitcoin

BTC and ETH will break all-time highs in 2022 — Celsius CEO

April 21, 2022
price analysis 4/20: btc, eth, bnb, xrp, sol, ada, luna, avax, doge, dot
Alt Coin

Price analysis 4/20: BTC, ETH, BNB, XRP, SOL, ADA, LUNA, AVAX, DOGE, DOT

April 21, 2022
Bitcoin

Play-to-Earn Bitcoin Games: How Lightning Network Enables Gamers to Earn Sats

April 20, 2022
Load More
Next Post
Valid Points: How CME Ether Futures Work and Why They Matter

Valid Points: How CME Ether Futures Work and Why They Matter

Categories

  • Alt Coin
  • Bitcoin
  • Business
  • Ethereum
  • ICO
  • Litecoin
  • Mining
  • NFT
  • Ripple
  • Tech
  • Trading

What New here?

  • YGG SEA Surpasses 10,000 Scholarships in Just Six Months of Launch
  • Mintable Launches Industry Changing Gas Free Minting Service on Ethereum
  • 5 Projects Enabling Smart Contract Development on Bitcoin

Subscribe to Get More!

Loading
  • About Us
  • Contact Us
  • Privacy & Policy

© 2018-2021 CoinNewsDaily.com by CoinNewsDaily Inc. Crafted with Love by iFtiDev

No Result
View All Result
  • Home
  • Coin Market Cap
  • Bitcoin
  • Ethereum
  • Ripple
  • Litecoin
  • Alt Coin
  • Business
  • Trading
  • Mining

© 2018-2021 CoinNewsDaily.com by CoinNewsDaily Inc. Crafted with Love by iFtiDev

  • bitcoinBitcoin(BTC)$23,552.00-1.18%
  • ethereumEthereum(ETH)$1,661.92-0.84%
  • tetherTether(USDT)$1.00-0.02%
  • binancecoinBNB(BNB)$330.450.50%
  • rippleXRP(XRP)$0.409047-1.53%
  • cardanoCardano(ADA)$0.404672-0.09%
  • dogecoinDogecoin(DOGE)$0.092414-1.32%
  • matic-networkPolygon(MATIC)$1.240.30%
  • okbOKB(OKB)$41.542.40%
  • solanaSolana(SOL)$24.84-1.95%
  • polkadotPolkadot(DOT)$7.043.85%
  • shiba-inuShiba Inu(SHIB)$0.000012-3.03%
  • litecoinLitecoin(LTC)$99.95-0.10%
  • tronTRON(TRX)$0.063852-1.29%
  • daiDai(DAI)$1.000.10%
  • cosmosCosmos Hub(ATOM)$15.384.20%
  • chainlinkChainlink(LINK)$7.28-0.67%
  • ethereum-classicEthereum Classic(ETC)$23.11-1.28%
  • moneroMonero(XMR)$173.18-3.25%
  • leo-tokenLEO Token(LEO)$3.370.33%
  • bitcoin-cashBitcoin Cash(BCH)$138.41-1.88%
  • stellarStellar(XLM)$0.092918-1.02%
  • filecoinFilecoin(FIL)$5.67-1.46%
  • crypto-com-chainCronos(CRO)$0.081113-0.67%
  • algorandAlgorand(ALGO)$0.2696942.45%
  • vechainVeChain(VET)$0.024802-0.02%
  • internet-computerInternet Computer(ICP)$5.87-2.76%
  • aaveAave(AAVE)$90.85-0.34%
  • eosEOS(EOS)$1.10-0.81%
  • elrond-erd-2MultiversX(EGLD)$45.77-1.11%
  • theta-tokenTheta Network(THETA)$1.121.86%
  • tezosTezos(XTZ)$1.141.30%
  • paxos-standardPax Dollar(USDP)$1.000.56%
  • huobi-tokenHuobi(HT)$5.71-3.65%
  • bitcoin-cash-svBitcoin SV(BSV)$43.43-1.52%
  • havvenSynthetix Network(SNX)$2.60-2.09%
  • pancakeswap-tokenPancakeSwap(CAKE)$4.332.53%
  • dashDash(DASH)$63.461.59%
  • iotaIOTA(MIOTA)$0.236830-0.51%
  • neoNEO(NEO)$8.912.08%
  • makerMaker(MKR)$691.81-1.08%
  • zcashZcash(ZEC)$47.140.04%
  • zilliqaZilliqa(ZIL)$0.028866-0.76%
  • basic-attention-tokenBasic Attention(BAT)$0.272793-0.84%
  • compound-governance-tokenCompound(COMP)$54.790.13%
  • nemNEM(XEM)$0.0398170.26%
  • Elrond ERDElrond ERD(ERD)$0.0259290.00%
  • kusamaKusama(KSM)$38.281.32%
  • sushiSushi(SUSHI)$1.577.10%
  • bitcoin-goldBitcoin Gold(BTG)$17.21-1.34%
  • wavesWaves(WAVES)$2.9210.52%
  • qtumQtum(QTUM)$2.77-1.40%
  • yearn-financeyearn.finance(YFI)$7,811.43-1.32%
  • ftx-tokenFTX(FTT)$1.89-21.50%
  • golemGolem(GLM)$0.2502650.56%
  • omisegoOMG Network(OMG)$1.563.69%
  • ontologyOntology(ONT)$0.218728-0.49%
  • digibyteDigiByte(DGB)$0.011145-1.24%
  • umaUMA(UMA)$2.140.56%
  • ethlendAave [OLD](LEND)$0.53-3.08%
  • UniswapUniswap(UNI)$2.4438.80%