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

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

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.

Our top trading bots

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.

Arbitrage bot’s spam attack on the Polygon network generated $6,800 per day
Number of transactions on Ethereum vs. Polygon. Source: Flipside Crypto

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.

Arbitrage bot’s spam attack on the Polygon network generated $6,800 per day
Polygon average gas cost vs. daily transaction count. Source: Delphi Digital

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.

Keep reading on Cointelegraph
Fetch.ai (FET) gains 43% after $150M development fund and Cosmos IBC announcement
Development across the cryptocurrency ecosystem continues to move forward despite the day-to-day whipsaw price movements and this progress is furthering...
Crypto adds efficiency to global trade and financing, says Bequant exec
Global trade and financing suffer from inefficiencies because of traditional infrastructures. However, according to Martha Reyes, the head of research at...
KB Bank to launch South Korea’s first crypto investment fund
Kookmin Bank is preparing to become the first bank in South Korea to offer crypto investment products to retail investors. KB announced on Feb. 21 that...
Willy Woo: 'Peak fear' but on-chain metrics say it’s not a bear market
Bitcoin analyst and co-founder of software firm Hypersheet Willy Woo believes that on-chain metrics show that BTC is not in a bear market despite observing...
US lawmaker hints at upcoming crypto legislation as Jerome Powell says Fed will release report on digital currency soon
At his confirmation hearing in front of members of the Senate Banking Committee, Federal Reserve chair Jerome Powell said the agency would be releasing...
Nasdaq-listed Bitcoin mining firm Marathon to raise $500M in debt
Marathon Digital Holdings, one of the largest Bitcoin (BTC) mining companies in the United States, is looking to raise $500 million in debt to buy Bitcoin...
Tanzania’s Zanzibar reportedly exploring ways to adopt crypto
Zanzibar, a semi-autonomous territory in Tanzania, is reportedly exploring ways to regulate and adopt cryptocurrencies like Bitcoin (BTC).The government...
Korean Finance Minister vows to fight moves to delay the crypto tax code
South Korea’s Minister of Strategy and Finance, Hong Nam-Ki has vowed that the controversial crypto tax code will come into effect on January 1st, 2022...
Bloomberg senior strategist calls Bitcoin a global reserve asset on the path to $100K
Bloomberg’s senior commodity strategist Mike McGlone has doubled down on call for six-figure Bitcoin (BTC), arguing that the first-born cryptocurrency is...
Ethereum alone not enough to disrupt Big Tech: Jack Dorsey
Twitter CEO and self-professed Bitcoin (BTC) maximalist Jack Dorsey is not giving Ether (ETH) fans an inch. In his latest offhand remark about the market’s...
Nifty News: Walking Dead invade Sandbox, mining lease NFTs, CryptoPunk in art gallery
Tokenized Walking DeadEthereum-based NFT metaverse “The Sandbox” has partnered with Skybound Entertainment to incorporate a Walking Dead game in the virtual...
JPMorgan points to weak Bitcoin futures as signal for bear market
JPMorgan’s cryptocurrency market analysts have pointed to the difference between Bitcoin’s (BTC) spot prices and BTC futures prices as a potential bearish...
Are we there yet? Here’s why one analyst says its not ‘altcoin season’
Few traders would argue against the fact that Bitcoin (BTC) is in a bull market, but there is less consensus on whether the market is in the midst of an...
Enterprise-level partnerships send VeChain (VET) price to new highs
Real-world partnerships and integrations into thriving industries are some of the best forms of validation for blockchain projects that are seeking long-term...
The General Director Of The EXMO Cryptocurrency Exchange Was Set Free For $1 million In Bitcoins.
Payment of redemption The general director of the EXMO cryptocurrency exchange, stolen in Kiev by a group of unknown people, had to pay for himself a...