Arbitrage bot’s spam attack on the Polygon network generated $6,800 per day

Published at: Oct. 18, 2021

The growth of layer-two protocols has been one of the major stories of 2021 as the rising popularity of decentralized finance (DeFi) and nonfungible tokens (NFT) have driven transaction costs higher on the Ethereum (ETH) network effectively pricing out many participants. 

Earlier this year the Polygon network, formerly known as MATIC, emerged as one of the top contenders in the race for an effective Ethereum layer-2 scaling solution, and the project's QuickSwap DeFi platform was also one of the more successful Uniswap clones.

The platform was quite popular initially but as other platforms like Arbitrum and Optimism popped up, discussions about Polygon fell to the wayside and some traders even refer to the platform as "slow". Data from Flipside Crypto shows that the low-cost capabilities of the Polygon network came under attack after a cleverly devised arbitrage bot managed turn 14 Ether in 218.5 Ether in less than four months.

The bot filled each block with “meaningless transactions”

According to data from Flipside Crypto, the attack began in early May and at one point in June, pushed transactions on the Polygon network went as high as 8 million per day. In the same timeframe, the maximum number of transactions on the Ethereum network was at 1.2 million.

Data found on a Polygon forum indicates that the attacker has been inflating transaction volumes by as much as 90% by stuffing each block full of “meaningless transactions” while only having to pay around 0.02 MATIC to spam the entire block and roughly $1,000 for an entire day.

A deeper dive into the transactions and addresses interacting on the network revealed that around 30% of the network’s transaction count was coming from two contracts which have been determined to be arbitrage bots that conduct thousands of daily transactions to various decentralized exchanges (DEX).

The exact reason why the spammer chose to fill each block when the bots were only conducting 2,000 - 4,000 trades per day is uncertain, but one theory is that it was done in an effort to prevent anyone else from front running the trade.

Related: Polygon can hit $3.50 in Q4 as MATIC’s 20% weekly rally triggers bull flag setup

The bot netted $6,800 in average daily profit

Over a period of 120 days, the bot was able to grow an initial amount of 14 Ether to 218.5 Ether, which is currently worth $813,694.

That works out to an average daily of profit roughly $6,800 before including the cost to spam the network.

In response to the spammer, the team behind Polygon ultimately decided to increase the minimum cost of a transaction from 1 gwei to 30 gwei as a way to fight spam and improve network health.

The move appears to have achieved its intended goal as data provided by Delphi Digital shows that the spike in average transaction costs coincided with a marked decline in the number of daily transactions because it now costs $30,000 to spam the network for an entire day.

Network data shows that the spam transactions have dropped from 2 million to 500,000 transactions per day, a decrease of 75%, but they still account for 16.7% of daily transactions. This means that the bots are spending roughly $5,000 of their daily $6,800 profit on gas to keep the scheme running.

The views and opinions expressed here are solely those of the author and do not necessarily reflect the views of Cointelegraph.com. Every investment and trading move involves risk, you should conduct your own research when making a decision.

Tags
Bot
Related Posts
Polygon’s expanding ecosystem backs MATIC’s rise toward a new all-time high
Layer-two (L2) solutions for the Ethereum network have become a popular topic of discussion and speculation on their associated tokens backed the massive rally seen in many of the protocols this year. The parabolic growth of the decentralized finance (DeFi) and nonfungible token (NFT) sector also led to a surge in the cost carrying out simple transfers and this prompted developers and investors to migrate to L2-supportive platforms. One L2 solution that saw its token price rise to new highs earlier in the year and now looks poised to make another breakout higher is Polygon (MATIC), a proof-of-stake blockchain protocol …
Markets / Dec. 1, 2021
3 reasons why Polygon (MATIC) is up 100%+ during a bear market
Unlike bull markets where traders can basically throw a dart at a list of coins to pick one that will go up, bear markets require much more effort to find projects that could perform well over the long-run. One project that has continued to show signs of mainstream adoption despite the onset of a crypto winter is Polygon (MATIC), a layer-2 scaling solution for the Ethereum (ETH) network that is looking to build a sustainable Web3 infrastructure on the top smart contract platform. Data from Cointelegraph Markets Pro and TradingView shows that since hitting a low of $0.316 on June …
Blockchain / July 14, 2022
Bitcoin is great, but real crypto innovation has moved elsewhere
Something is brewing, and those with finely tuned noses can smell it. As traders have come to expect, Bitcoin (BTC) is doing “Bitcoin things” by bouncing around between the usual “key” support and resistance levels, and to be honest, it’s all starting to feel a bit boomerish. Bitcoin’s long-awaited “moon” depended on institutional investor buy-in, breaking the previous all-time high at $19,000 and a set of other firmly held beliefs. Well, all that happened, and the run to $64,900 exceeded many investors’ wildest dreams. But despite this, the entire BTC situation just feels predictable and boring if you are of …
Blockchain / Sept. 18, 2021
Altcoins hit new highs after bulls kick Bitcoin price back above $50K
Cryptocurrency investors breathed a sigh of relief on April 26 as the sharp reversal in the price of Bitcoin (BTC) was accompanied by a marketwide recovery that has a majority of altcoins seeing green. It's likely that the breakout was aided by bullish assessments from JPMorgan Chase analysts and PayPal's announcement that demand for purchasing cryptocurrencies had surpassed expectations. Data from Cointelegraph Markets and TradingView shows that after bouncing off a low near $47,000, Bitcoin roared back above the $50,000 support level and climbed above $53,500, while Ether (ETH) reclaimed $2,500. Last week’s market pullback did little to slow the …
Blockchain / April 26, 2021
Price analysis 9/2: BTC, ETH, BNB, XRP, ADA, SOL, DOGE, DOT, MATIC, SHIB
Nonfarm payrolls rose by 315,000 jobs in August, down from the July increase of 526,000 jobs. The report was just below the Dow Jones estimate of 318,000 jobs and the slowest monthly gain since April 2021. The S&P 500 rose in response to the report, but later erased its gains, indicating that bears continue to sell on rallies. That may be because the U.S. dollar index (DXY), which had retreated from its Sept.1 20-year high, recovered part of its losses. The bears will have to pull the DXY lower to boost prices of stocks and the cryptocurrency markets as both …
Bitcoin / Sept. 2, 2022