Parsing the HyperEVM Arbitrage Bot: How to Seize a 2-Second Opportunity to Earn $5 Million?

By: blockbeats|2025/10/21 09:30:04
シェア
copy
Original Article Title: How We Made $5M Running the #1 Arbitrage Bot on HyperEVM
Original Article Author: CBB
Original Article Translation: Saoirse, Foresight News

It is now March 2025, and the cryptocurrency industry seems to be in turmoil, heavily impacted by tariffs. We have been searching for the next prime opportunity — at that time, 40% of the HYPE tokens were still awaiting distribution to the community, which we saw as a potential breakthrough. Back in February, we had tested some liquidity strategies on the UNIT asset, but it was all small-scale experimentation that did not yet take off.

Upon the launch of HyperEVM, several decentralized exchanges (DEXs) were introduced as part of the ecosystem. My brother suggested, "Why don't we try arbitraging between HyperEVM and Hyperliquid? Even if it requires some upfront investment, we might be able to participate in Hyperliquid's third-quarter event." We promptly began our attempts and indeed found arbitrage opportunities, but we were uncertain if we had a competitive edge.

Why Are There Arbitrage Opportunities on HyperEVM?

HyperEVM has a 2-second block generation interval, meaning the price of the HYPE token updates only once every 2 seconds. Within these 2 seconds, the price of HYPE may have fluctuated, causing HYPE on HyperEVM to often be either "underpriced" or "overpriced" compared to the Hyperliquid platform.

Initial Attempts and Results

We deployed the first version of our arbitrage bot, with basic functionality: whenever there was a price discrepancy between the automated market maker (AMM) DEX liquidity pool on HyperEVM and the Hyperliquid spot market, it would initiate a trade on HyperEVM and hedge on Hyperliquid.

For example:

- If HYPE's price rises on Hyperliquid, it would be undervalued on HyperEVM;

- Arbitrage process: Buy the "underpriced" HYPE with USDT0 on HyperEVM → Sell HYPE to convert to USDC → Swap USDC back to USDT0 on Hyperliquid.

In the first few days, our daily trading volume on Hyperliquid was around $200,000 to $300,000. Not only did we avoid losses, but we also managed to profit a few hundred dollars. Initially, the arbitrage threshold we set was: after deducting the transaction fees of the AMM DEX and Hyperliquid, a trade would only be executed if the profit exceeded 0.15%.

Two weeks later, as the profit continued to grow, we saw greater potential and also identified two competitors who were operating identically to us—albeit on a smaller scale. We were determined to eliminate them.

In April 2025, Hyperliquid introduced the HYPE staking rebate mechanism (staking tokens could offset transaction fees), which was a great opportunity for us. Our fund size already exceeded that of our competitors, so we staked 100,000 HYPE tokens, received a 30% transaction fee rebate, and reduced the arbitrage profit threshold from 0.15% to 0.05%.

Our goal was clear: to force our competitors to exit by maximizing pressure and monopolizing the market. At the same time, we planned to increase the trading volume to over $500 million within two weeks to upgrade our fee tier on Hyperliquid.

Ultimately, the trading volume and profit soared simultaneously. When the trading volume exceeded $500 million, our competitors were completely at a loss. I still remember that day: my brother and I were flying from Paris to Dubai, watching the bots "printing money" crazily, making a profit of $120,000 within 24 hours, while both competitors shut down their bots.

Nevertheless, some competitors did not give up. They were enduring higher fees, forcing us to compress the arbitrage profit margin to about 0.04% (essentially equal to the difference in fees between us and them). Despite this, our trading volume remained strong, and daily profits stabilized between $20,000 and $50,000.

Issues and Solutions in Scaling Up

As our business expanded, we encountered new limitations: the Gas fee limit per block on HyperEVM was 2 million, while a single arbitrage transaction consumed about 130,000 Gas. This meant that each block could only handle 7-8 arbitrage trades at most. Especially as more liquidity pools and DEXs went live on HyperEVM, this limitation became more pronounced, and there were even instances of transaction congestion—we had to quickly address this to avoid transaction queues and order book imbalances.

To tackle this, we took four measures:

· Enabled over 100 wallets, each initiating arbitrage transactions separately to avoid queueing caused by a single wallet executing too many transactions;

· Limit each block to a maximum of 8 arbitrage transactions;

· Gas Price Control: When the Gas price on HyperEVM surges, increase the required return on investment (ROI) for arbitrage to avoid transactions getting stuck due to high Gas fees;

· Transaction Rate Limit: If the number of transactions sent in the past 12 seconds exceeds a set amount (x transactions), then increase the profit requirement for new transactions.

Optimization Upgrade Era: From "Taker" to "Liquidity Provider"

As our profits continued to grow and our trading volume reached 5-10 times that of our competitors, we became obsessed with further optimization—after all, in the cryptocurrency industry, what was profitable today could be overtaken by new players tomorrow.

Transition to Liquidity Provider: Seizing More Opportunities

In June 2025, my brother proposed an idea that had been brewing for weeks: to conduct arbitrage on Hyperliquid as a "Liquidity Provider" instead of a "Taker" (Note: a Liquidity Provider offers liquidity, placing orders and awaiting execution; a Taker directly matches against existing orders). This transition had two major advantages:

· It could capture more arbitrage opportunities brought about by rapid price fluctuations in HYPE;

· Each transaction could save 0.0245% in fees, directly increasing profits.

However, the transition also came with risks: as a Liquidity Provider, we needed to first have our orders executed on Hyperliquid but couldn't guarantee completing the reverse transaction on HyperEVM (there might be opponents faster than us), leading to order book imbalances and potential losses.

During initial testing, we experienced imbalances of up to ±10k HYPE each time—we sometimes sent 100 transactions within 20 seconds, but without any data analysis tools, we couldn't find the reason for the imbalance, making the situation a mess.

To address this issue, we introduced a series of concepts and translated them into code and parameters:

· Profit Range: Clearly defining when to create an order, when to hold an order, and when to cancel and re-place an order;

· Liquidity Provider Trading Range: Specifying the AMM liquidity pools willing to participate in liquidity provision (e.g., the HYPE/USDT0 pool on HyperSwap with a 0.05% fee rate, the HYPE/UBTC pool on PRJX with a 0.3% fee rate);

· Single Pool Trading Size and Order Limit: Set a maximum trading size and order limit for each AMM liquidity pool.

The parameters for the LP trading are as follows:

Parsing the HyperEVM Arbitrage Bot: How to Seize a 2-Second Opportunity to Earn  Million?

After several days of fine-tuning, we have finally resolved the imbalance issue. Even if imbalance occurs occasionally, it can be quickly adjusted through Time-Weighted Average Price (TWAP) to control risk. This transformation can be described as a "game-changer" — while competitors are still in the "order eater" mode, our trading volume has reached 20 times theirs.

Skip the USDT0/USDC Exchange to Reduce Costs

Another major challenge is related to stablecoins: the primary stablecoin on Hyperliquid is USDC, while on HyperEVM it is USDT0; the HYPE/USDT0 liquidity pool on HyperEVM has the highest trading volume and most arbitrage opportunities. However, due to different cross-chain stablecoins, we need to execute 2 additional trades on Hyperliquid to complete asset hedging, for example, when the HYPE price surges:

1. LP order execution → Sell HYPE for USDC with zero fees;

2. Buy HYPE with USDT0 on HyperEVM;

3. Sell USDC for USDT0 on Hyperliquid as an order eater (0.0245% fee).

The drawback of the third step is evident: having to pay the order eating fee (reducing profits, weakening competitiveness), and the USDT0/USDC trading market on Hyperliquid is not mature enough (with spreads and pricing deviations).

Therefore, we have designed new parameters and logic to skip this step as much as possible:

· USDC Balance Threshold: Only skip the USDT0→USDC exchange when the USDC balance exceeds 1.2 million;

· USDT0 Balance Threshold: Only skip the USDC→USDT0 exchange when the USDT0 balance exceeds 300,000;

· Real-Time Price Data Source: Call the Cowswap API every minute to obtain the real-time price of USDT0/USDC, instead of relying on Hyperliquid's order book price.

Introducing Perpetual Contracts to Diversify Revenue Streams

First and foremost, we'd like to clarify that throughout our entire cryptocurrency investment journey, we have never utilized leverage or perpetual contracts (except for an unsuccessful attempt on Bitmex in 2018), and we have limited knowledge of how they operate.

However, we observed that the trading volume of HYPE perpetual contracts is significantly higher than spot trading, with lower fees as well (spot trading 0.0245% vs perpetual contracts 0.019%). Therefore, we decided to explore combining our arbitrage strategy with perpetual contracts—back then, no competitors were using this approach, so we didn't need to compete with them in the same order book liquidity.

More importantly, during the testing phase, we discovered that leveraging perpetual contracts not only allowed us to earn arbitrage profits but also enabled us to profit from the "funding rate." When the HYPE perpetual contract exhibited a premium or discount relative to the spot price, we could capture additional arbitrage opportunities—areas where our competitors had not ventured into.

For this purpose, we designed new system parameters:

· Position Limit: Set the maximum long/short position size for HYPE perpetual contracts to avoid liquidation or depleting the USDC/HYPE balance;

· Premium/Discount Monitoring: Real-time tracking of the premium or discount of perpetual contracts relative to the spot price;

· Premium/Discount Cap: If the premium is too high, cease opening long positions and resort to spot trading instead;

· Progressive ROI: The larger the position size, the higher the required arbitrage profit, to prevent quick entry into risky positions;

· ROI Calculation Formula: Comprehensive calculation combining the perpetual contract's premium/discount and the position size.

Below is an example interface/parameter setting for configuring a short position in the HYPE token as a maker:

Introducing perpetual contracts was one of the key upgrades—we earned approximately $600,000 solely through the funding rate and captured more arbitrage opportunities leveraging the premium/discount.

Brotherly Partnership: Collaborative Mode and Complementary Advantages

People often inquire about how we divide tasks and collaborate. The external perception seems to be that I am the "meme creator," only engaging in casual cryptocurrency social media discussions (CT), while my brother is merely a "tech geek," responsible for coding. However, the reality is much more intricate—our collaboration model is akin to what we previously experienced during our involvement in Blur mining.

During the operation of the arbitrage bot, we encounter new issues every day that require timely resolution. We discuss optimization solutions continuously, and all decisions must be consensus-driven before execution. My brother is responsible for the code but also develops tools that allow me to adjust parameters autonomously; I have no coding knowledge whatsoever, and my brother is not good at configuring the bot parameters—we complement each other perfectly.

Interestingly, our work styles are completely opposite: my brother likes to push updates and try new features (which I find somewhat excessive); whereas I am very conservative (he thinks overly so) and am only interested in maintaining the current version if the bot is consistently profitable.

Our daily conversations often go like this:

· Me (in an impatient tone): "Something's off with the bot... Did you change something?"

· Brother: "Nope... Just made some insignificant tweaks at most."

Additionally, as a two-person team without formal company processes, after iterating the bot over 250 versions, we sometimes feel that the more we build, the harder it becomes to fully comprehend and control our creation. It's challenging to anticipate the ripple effects of each update.

Summary

Over the past 8 months, we have dedicated ourselves to building and optimizing this arbitrage bot—especially in June 2025 when the crypto market maker, Wintermute, entered with significant liquidity and a team, intensifying the competition.

I still remember those 5 days in July: my brother and I had planned to relax in Istanbul and Bodrum (Turkish cities) but ended up focusing on optimizing the bot the entire time.

Ultimately, our bot held the top position in the HyperEVM arbitrage field for 8 consecutive months. By October, as the market share gradually declined, we felt it was time to exit.

The core data from this experience:

· Total Profit: $5 million;

· Total Trading Volume on Hyperliquid: $12.5 billion;

· Gas Fees Paid on HyperEVM: $1.2 million (20% of the total Gas fees since HyperEVM's launch);

· Total Time Invested: Over 2000 hours;

· 5% of the total transaction volume in the UNIT ecosystem.

Looking forward to the arrival of Hyperliquid Season 3 and UNIT Season 1.

Original Post Link

関連記事

イーサリアム大口投資家、50,623 ETHを売却– 1500万ドル以上の利益を獲得

Key Takeaways イーサリアム大口投資家が50,623 ETHを売却し、約1.48億ドルのUSDC/USDTを獲得 平均売却価格は2,921ドルで、総利益は1500万ドル以上 過去にも35,621 ETHを売却し、1.04億ドルの利益を得ている 最近の追加売却では10,002 ETHにより2,938万ドルを取得 WEEX Crypto News, 29 December 2025 イーサリアム大口投資家によるETH大量売却 深潮 TechFlowの報道によると、2025年12月29日に、イーサリアムの大口投資家がETHの大量売却を行い、市場に大きな影響を与えました。この投資家は、合計で50,623枚のETHを売却し、約1.48億ドル(USDC/USDTベース)を獲得しました。平均売却価格は2,921ドルであり、全体で1500万ドルを超える利益を上げています。こうした規模の取引は、暗号通貨市場において注目を集め、市場動向に直接の影響を与えることが多いです。…

HYPEトークンが市場に与える短期的な変動と投資の機会

Key Takeaways 12月29日にHYPEトークンが約2.51億ドル相当の992万トークンを解放予定。 SUIトークンは1月1日に4369万トークンを解放し、これは約6336万ドルに相当。 EIGENトークンの解放は同じく1月1日に行われ、3682万トークンが市場に解放される見込み。 トークンの解放はその供給量の増加から、価格に重要な影響を与える可能性がある。 WEEX Crypto News, 29 December 2025 イントロダクション 2025年の仮想通貨市場は、トークンの解放による供給の増加と市場の動向に注目が集まっています。この中で、HYPEトークン解放の影響を評価することが重要なポイントとなっています。本記事では、HYPEトークンを中心に、短期的な市場変動と潜在的な投資機会について詳細に分析します。 HYPEトークン解放の詳細 HYPEトークンは、Hyperliquid分散型取引所のエコシステムに欠かせないトークンであり、その解放予定は市場に注目されています。12月29日午後3時30分(北京時間)には、約2.51億ドル相当の992万トークンが解放される予定で、これは流通量の2.87%にも及びます。この解放は、短期的な売り圧力となる可能性がありますが、市場がそれを吸収できるかが焦点です。 市場に対するインパクト 過去の事例を振り返ると、トークン解放は市場に対して多様な影響を及ぼしてきました。2025年11月に行われた初の大規模解放では、市場の流動性の強さを試す一つの指標とされました。HYPEトークンの継続的な供給管理とエコシステムの成長が、市場への相対的な信頼を築くための鍵となります。…

CoinbaseがClear Streetで2026年のフィンテックトップ3の一つに選出

Key Takeaways: Coinbase(COIN)はClear Streetのアナリスト、Owen Lauによって2026年のフィンテックトップ3に選ばれた。 Lauは、Coinbaseが規制の明確化とブロックチェーン採用から最も利益を得る位置にあると考えている。 同社はUSDCの収益やAIツール、トークン化への注力が、株価の上昇要因として期待されている。 2026年は「転換の年」とされ、Coinbaseの安定した業績基盤が強みとなる見込み。 WEEX Crypto News, 2025-12-29 06:04:29 Coinbaseは、Clear StreetのアナリストであるOwen Lauによって2026年のフィンテックトップ3にランクインしました。Coinbaseは、特にブロックチェーンベースの金融基盤へと移行する動きの中で、その中心的な役割を果たすと評価されています。この評価は、同社のトークン化、人工知能(AI)ツール、そしてステーブルコインからの収益が重要な要素として挙げられているからです。 ブロックチェーンと規制の明確化による利益 Lauによれば、Coinbaseはブロックチェーンの採用と規制の明確化から最も利益を得られる位置にあります。同社は、多様な収益源を持ち、非常に安定した業績基盤を築いています。特に注目すべきは、彼らのステーブルコイン活動における収益の増加で、この点が投資家にとってレジリエンスと成長の指標となっています。…

Circleのプラットフォームがゴールド、シルバーのトークン化スワップを提供するとする偽情報を会社が指摘

CircleMetalsと称するプラットフォームがUSDCとの間でトークン化された金(GLDC)、銀(SILC)トークンのスワップを提供すると主張する発表がなされた。 この発表はCircleのブランドを使用し、経営陣の発言を引用していたが、後に会社によって偽物と確認された。 この偽プラットフォームは依然としてオンラインで活動しており、詐欺の可能性が高いとされ、報酬を約束するものの実在する証拠はない。 こうした偽情報は、クリスマスイブの日に広まり、多くの企業が休業中であったため、対応の遅れを誘発したと考えられる。 WEEX Crypto News, 2025-12-29 06:06:08 Circleの偽プラットフォーム発表における真実 2025年12月24日、クリスマスイブの日に公開されたプレスリリースにて、Circleが新しいプラットフォームCircleMetalsを立ち上げ、トークン化された金と銀の取引を提供しているとする主張がなされました。しかし、この発表は偽情報であり、Circle社がそれを確認しました。実際、同社の広報担当がCoindeskに、こうしたプラットフォームの存在を否定するコメントを行いました。 Circleの影響力を利用した「偽プラットフォーム」 また、この発表はクリスマスイブという一部の企業が活動していない日を狙って行われ、応答に時間がかかるであろうという状況を利用されたと推測されます。Circleのブランドを不正に用い、経営陣の発言を捏造することで、信用性を偽装した形が明確に見受けられました。 これにより、一部のユーザーには、CircleMetalsという名のもとで24時間365日のUSDCとトークン化された金(GLDC)及び銀(SILC)のスワップを矛盾して提供するプラットフォームが存在しているという誤解が生じました。 詐欺の可能性とユーザーの注意喚起 偽プラットフォームには、ユーザーにウォレットを接続することを促すリンクが含まれており、これはセキュリティの観点から望ましくない行為です。未認証のウェブサイトにウォレットを接続することにより、悪意ある者がウォレットから資金を抜き取る危険性があるからです。プレスリリース内で報じられた報酬は「1.25% のCIRMトークン」というものでしたが、このCIRMトークンについて、主要なデータアグリゲーターにもリストされていないため、その存在はかなり疑わしく、存在証拠がないままです。 ChainWireの対応とその責任…

2025年に暗号のパワーバウンダリーを再定義する10人

ウォール街からホワイトハウス、シリコンバレーから深センまで、新しい電力ネットワークが形づくられつつあります。

ステーブルコインの支払い使用状況:Ethereumネットワークを通じた実証分析

Key Takeaways Ethereumネットワークは、全世界のステーブルコイン供給量の約52%を担っています。 ステーブルコインの支払いは、特にUSDTとUSDCが市場の88%を占めています。 P2P(個人対個人)取引は、全体の取引量の約24%を占める一方で、コーポレート取引はいくつかの大口機関に集中しています。 1000の主要なウォレットが、ステーブルコイン取引の85%を占めており、仮想通貨の取引が集中化していることを示しています。 WEEX Crypto News, 2025-12-22 16:04:43(today’s date,foramt: day, month, year) ステーブルコインの背景と採用の拡大 過去数年間で、ステーブルコインの採用率が著しく増加しています。特にEthereumネットワーク上で多くの取引が行われており、ステーブルコイン自体の供給量は2000億ドルに達しています。これは、各種ステーブルコインが安定した価値を提供することで、多くのユーザーに受け入れられるようになった結果です。このような背景には、通常の法定通貨と仮想通貨の間での円滑な取引を可能にする必要性があります。 しかし、ステーブルコインの普及に伴い、その使用の実態、特に支払い使用に関する不透明さも増加しています。ブロックチェーンの透明性により全ての取引が追跡可能ではあるが、その匿名性と目的の不明確さが、このフィールドでの分析を難しくしています。…

人気のコイン

最新暗号資産ニュース

もっと見る