NewsBTC
No Result
View All Result
  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play GamesTry
  • CasinosTry
Breaking News: Bitcoin Hits ATH Of $112,000, Expert Predicts Rally Is Just Beginning
  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play GamesTry
  • CasinosTry
Bitcoin News
No Result
View All Result
Breaking News: Bitcoin Hits ATH Of $112,000, Expert Predicts Rally Is Just Beginning

Hacking Attacks: Ethereum vs Terra Flash Loans

NewsBTC
NewsBTC
3 years ago
3 mins read
white whale

Reason to trust

Strict editorial policy that focuses on accuracy, relevance, and impartiality
Created by industry experts and meticulously reviewed
The highest standards in reporting and publishing
How Our News is Made

Strict editorial policy that focuses on accuracy, relevance, and impartiality

Ad discliamer

Morbi pretium leo et nisl aliquam mollis. Quisque arcu lorem, ultricies quis pellentesque nec, ullamcorper eu odio.

It is standard for DeFi platforms to offer over-collateralized loans, in which borrowers deposit more in assets than they withdraw. Some DeFi platforms (like AAVE) support a newer type of loan, the flash loan. When a loanee takes out a flash loan, no collateral is required. This is achievable because flash loans are repaid within the same transaction that they are taken out – a smart contract is used to rapidly perform a series of transactions that result with the loanee ultimately repaying the loan.

 

Flash loans are atomic, meaning that they are only processed if all included transactions are executed. If they are not, they are rolled back. This enables individuals to borrow massive sums with almost no risk. It is common for borrowers to withdraw tens of thousands, millions, or even tens of millions of dollars at once, albeit for a brief period.

 

What Are Flash Loans Used For?

 

Flash loans have three primary uses: trading arbitrage, collateral swapping, and self-liquidation. Here’s an explanation of each:

 

  • Trading Arbitrage: Different exchanges may charge different prices for certain assets, opening opportunities to purchase and sell the same assets on different exchanges for a profit. This process is called “trading arbitrage”. While it can be done manually, doing so usually doesn’t yield much of a profit, since the prices of these assets usually only differ by a fractional amount. Flash loans can be used to automatically execute large arbitrage orders, quickly turning a much larger profit.

 

  • Collateral Swapping: Changing the base collateral used in DeFi loans can be frustrating and time-consuming, especially for those who diversify their collateralized assets. Flash loans can be used to quickly pay off loans in order to free locked assets, then swap those assets for others.

 

  • Self-Liquidation: If a traditional DeFi loan’s base collateral decreases in value too greatly, it will be liquidated. Meaning, collateralized assets will be sold at a discount in order to repay the loan, yielding a loss for the borrower. Flash loans can be used to self-liquidate, fully paying off the loan and withdrawing the collateralized assets without a loss.

 

What Are The Real Risks of Flash Loans?

 

Because flash loans are atomic, they are risk-reduced. However, they are not entirely risk-free. Flash loans incur network fees regardless of whether or not they succeed. This exposes loanees to front-running, in which other parties execute identical flash loans while paying higher network fees. Front-ran flash loans are processed first, often leaving original loanees with nothing but network fees to pay.

 

Most flash loan platforms use the Ethereum Network because it was the first major DeFi-supportive network to gain mass adoption. With Ethereum gas fees as high as they are, front-running has become a major issue for those seeking flash loans.

 

The use of Ethereum for flash loans poses another serious risk. Ethereum smart contracts are vulnerable to reentrancy attacks, during which hackers withdraw all funds stored within a smart contract. This is done using an external smart contract that withdraws funds multiple times before the withdrawn balance is confirmed.

 

Ethereum smart contracts are uniquely vulnerable to reentrancy attacks due to Ethereum’s Solidity programming language. Technical jargon aside, Ethereum smart contracts are only secure if coded in a very specific way. Minor mistakes can leave them highly vulnerable. In fact, a single misarranged line of code allowed hackers to steal USD 60 million of Ether in the infamous “The DAO” hack.

 

How To Avoid Flash Loan Risks

 

If a reentrancy vulnerability is found within the smart contracts of popular Ethereum-based DeFi platforms, flash loaners could lose millions. Needless to say, many are looking for DeFi solutions outside of the Ethereum Network. One alternative that has been gaining popularity recently is White Whale, the first cryptocurrency project to offer flash loan UST arbitrage within the Terra ecosystem.

 

Flash loans on Terra are much more secure than flash loans on Ethereum. This is because Terra is built using Cosmos, which powers several other popular projects like Binance Chain. Cosmos’ smart contract engine (CosmWasm) does not allow calls to external smart contracts, and Terra’s smart contract language is far more forgiving than Ethereum’s. This makes White Whale’s arbitrage system immune to reentrancy attacks.

 

As for frontrunning, it is an inescapable risk. The best course of action is to reduce its likelihood and the damage that it causes. Most front-running attacks are performed on the Ethereum Network by bots, which take advantage of Ethereum’s high and volatile gas prices. Switching to a network with lower and more stable network fees can greatly reduce frontrunning risk.

 

White Whale offers a sleek and easy web-app interface that makes arbitrage accessible to everyone.

Tweet123Share196ShareSend
NewsBTC
NewsBTC

NewsBTC

Disclaimer: The information found on NewsBTC is for educational purposes only. It does not represent the opinions of NewsBTC on whether to buy, sell or hold any investments and naturally investing carries risks. You are advised to conduct your own research before making any investment decisions. Use information provided on this website entirely at your own risk.

Related News

Theta Network Welcomes Prestigious Hongik University as the 21st Academia Customer of EdgeCloud Hybrid

Theta Labs, the leader in decentralized cloud infrastructure for AI, media, and entertainment, today announced that the High-Performance Data Processing...

News BTC 5 days ago

FUNToken’s P2E Model Isn’t Just a Game: It’s a Scalable Digital Economy

FUNToken is going beyond basic play-to-earn mechanics by laying the groundwork for a scalable digital economy that targets the global...

NewsBTC 6 days ago

What FunToken movement towards a 500% spike says about the scarcity market psychology

FUNToken made an almost historic announcement on June 19, 2025, wherein the company announced a fixed tokenomics, with its supply...

News BTC 1 week ago
Load More

Reason to trust

Strict editorial policy that focuses on accuracy, relevance, and impartiality
Created by industry experts and meticulously reviewed
The highest standards in reporting and publishing
How Our News is Made

Strict editorial policy that focuses on accuracy, relevance, and impartiality

Ad discliamer

Morbi pretium leo et nisl aliquam mollis. Quisque arcu lorem, ultricies quis pellentesque nec, ullamcorper eu odio.

Related News

Web2 Habits, Web3 Rewards: How FUNToken Makes Crypto Feel Natural

News BTC 1 day ago

From Inflationary Noise to Deflationary Wave: FUNToken’s Turnaround Story

News BTC 3 days ago

FunToken’s F2P Model: The Missing Link for Crypto Adoption

News BTC 4 days ago

Premium Sponsors

Press Releases

  • アルトコイン急騰の今買うべき仮想通貨プレセール

    ...

    8 hours ago
  • 仮想通貨おすすめ|強気市場で爆発的成長が見込まれる注目のミームトークン

    ...

    8 hours ago
  • BTC最高値更新の中で注目される新たなレイヤー2プロジェクトが狙う仮想通貨1000倍の可能性

    ...

    8 hours ago
  • ビットコインが11万8,000ドルの最高値を記録する中で注目すべき仮想通貨プレセール

    ...

    1 day ago
  • 仮想通貨 おすすめ|急騰するDogwifhatとFartcoin、注目の低価格ミームコインとは?

    仮想通貨...

    1 day ago

Newsletter

Be the first to get the latest important crypto news & events to your inbox.

  • This field is for validation purposes and should be left unchanged.

About Us

NewsBTC is a cryptocurrency news service that covers bitcoin news today, technical analysis & forecasts for bitcoin price and other altcoins. Here at NewsBTC, we are dedicated to enlightening everyone about bitcoin and other cryptocurrencies.

We cover BTC news related to bitcoin exchanges, bitcoin mining and price forecasts for various cryptocurrencies.

Disclaimer: The information found on NewsBTC is for educational purposes only. It does not represent the opinions of NewsBTC on whether to buy, sell or hold any investments and naturally investing carries risks. You are advised to conduct your own research before making any investment decisions. Use information provided on this website entirely at your own risk.

Company

  • About Us
  • Advertising
  • Contact Us
  • Privacy Center

Social

© 2025 NewsBTC. All Rights Reserved.

  • Cryptocurrency News
    • Bitcoin News (BTC)
    • Ethereum News (ETH)
    • Ripple News (XRP)
    • Shiba Inu News (SHIB)
    • Cardano News (ADA)
    • Dogecoin News (DOGE)
    • Solana News (SOL)
    • Litecoin News (LTC)
    • Avalanche News (AVAX)
    • Polygon News (MATIC)
  • Crypto Prices
    • Binance Coin (BNB) Price
    • Bitcoin (BTC) Price
    • Cardano (ADA) Price
    • Chainlink (LINK) Price
    • Dogecoin (DOGE) Price
    • Ethereum (ETH) Price
    • Litecoin (LTC) Price
    • Polkadot (DOT) Price
  • Crypto Resources & Directory
  • All Crypto
  • Play Games
  • Casinos
Advertise

© 2025 NewsBTC. All Rights Reserved.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy Center or Cookie Policy.