Why Does Binance Wallet's Gas Skyrocket? Exploring the Technical and Security Factors
Author: Haotian Original Link: https://twitter.com/tmel0211/status/1704869126949539947 Exchanges manage a large number of EOA Deposit recharge addresses. Every time a user deposits cryptocurrencies, the assets are transferred to these fragmented small addresses. Exchanges typically need to perform “aggregation” of these addresses to facilitate unified asset management. There are typically two choices for the aggregation of exchange addresses: 1. Whenever a user deposits cryptocurrencies, the program immediately transfers the corresponding assets to a hot wallet address. However, the issue with this approach is that when a user has multiple deposit demands, they may split it into multiple transactions. For example, whales might first deposit a small amount for security reasons and then gradually transfer the rest. Obviously, this approach can result in more transactions (TXS), and if the exchange uses this aggregation method, it may have to deal with high gas fees during periods of high gas prices. However, the benefit is that the entire aggregation process is decentralized, and users do not notice it. For the exchange, it is just a normal operational expense. 2. After users deposit cryptocurrencies, the fragmented small EOA addresses remain unchanged for some time. When users withdraw, they directly withdraw from a large hot wallet, and then aggregation of addresses is performed at fixed intervals. This allows for easier accounting and unified asset management. Additionally, it allows the exchange to choose a time when gas prices are relatively low for the transaction operations. However, there is a challenge with as performing a large number of operations within a short timeframe can easily drive up gas prices and, if noticed by the media, could lead to public relations issues. It is difficult to explain to the public why the exchange needs to centralize asset aggregation, especially when it results in significant gas expenditure. Clearly, Binance has adopted the second method of address aggregation. From the perspective of the exchange’s business logic, regardless of the chosen method, there will be a significant expense in managing business funds. Different exchanges may have varying asset management strategies. To help understand this, I have analyzed two addresses, Binance14 and OKX3. Binance14 uses the second method, while OKX3 likely uses the first method. However, due to the vast difference in asset volume and transaction volume between the two, the data is for reference only. In Figure 1, Binance14 manages nearly 110,000 ETH in total assets, and as a receiving address, it has historically consumed 10,000 ETH in gas. For example, on September 13th, during a significant aggregation, 388 ETH in gas was consumed in a single day. The highest daily gas consumption in history was 871 ETH. Therefore, it is normal business expenditure for address aggregation to consume several million dollors in gas. In Figure 2, OKX3 has a smaller scale of managed assets, but as a receiving address, it has historically consumed 1,530 ETH in gas. From the data, it can be seen that OKX’s daily consumption is relatively balanced, with a peak of only 15 ETH in a single day. This illustrates that the first aggregation method incurs costs during regular operations. As for which method is better, exchanges will undoubtedly calculate and select the most suitable and optimized choice for themselves. Cost optimization is just one key factor but not the absolute factor. Although Binance is wealthy, it also does not neglect optimization. Furthermore, everyone needs to understand that exchange asset consolidation management involves multiple issues such as cost optimization, security risk control, internal approval processes, fund efficiency, and more. Cost optimization is just one key factor, but not an absolute one. Cost Optimization: If we look closely, optimization is certainly possible. I checked the data, and over 140,000 transactions were sent in just one hour between 5–6 pm Beijing time. People naturally wonder, can’t this be spread out over 1–2 days? Can’t the program be stopped during Gas congestion? From an engineering standpoint, it’s certainly possible, but spreading the time over 1–2 days or even 1–2 months won’t cause Gas congestion issues, and it can save money. However, it could potentially introduce other risks, similar to the first method. Security Risk: The biggest consideration should be security. Exchanges manage a large number of private keys for addresses, and permissions are likely controlled by a system. Engineers performing aggregation effectively gain high-level system access (access to private key signatures). Assuming it’s a HSM cold wallet system, such systems should be as offline as possible. Compared to having the permission open for 2 days, having it open for 2 hours significantly reduces the attack surface, preventing potential hacker attacks. Therefore, rapid aggregation is a core consideration for security risk control. Spending 300 ETH to effectively prevent 300,000 ETH from being attacked seems reasonable, doesn’t it? Internal Control Process: Exchanges operate as large organizations, involving management and execution levels. To regulate asset usage processes internally, there is an approval process. For tens of thousands of EOA addresses and private keys, the most efficient approach is for the boss to have the highest authority, followed by unified signatures for one-time processing. If it is divided into smaller portions and processed in batches, it will involve the distribution of management authority, which may inevitably lead to the risk of some employees being single points of failure. If managed centrally by the boss, the ideal solution would be to consolidate at a specific time, requiring approval only once. If multiple addresses are split and multiple batches require consolidation approval, it would tie up the boss’s energy in asset consolidation. Is that appropriate? Issues related to fund efficiency and preventing unexpected situations are also possible. In conclusion, the issue of exchange asset consolidation is not solely a cost issue. It involves a very complex range of factors. Looking back at Binance’s history, cases like high Gas consolidation are not isolated incidents. It is evident that this is a consistent balancing solution arrived at by Binance after considering various factors. Follow us Wu Blockchain is free today. But if you enjoyed this post, you can tell Wu Blockchain that their writing is valuable by pledging a future subscription. You won't be charged unless they enable payments. |
Older messages
WuBlockchain Weekly: Federal Reserve Maintains Benchmark Interest Rates, Mt. Gox Repayment Date Extended, Tether I…
Friday, September 22, 2023
1. Federal Reserve Holds Benchmark Interest Rate Steady at 5.25%-5.50% link On September 21st, the Federal Reserve kept the benchmark interest rate unchanged in the range of 5.25% to 5.50%, aligning
Observations from BSV: Why Bitcoin Isn't Afraid of 51% Attacks
Thursday, September 21, 2023
Author: HSL Source: https://mp.weixin.qq.com/s/jM1g4xO6R6pIIDBzVW6bOg Recently, several KOL have claimed that as Bitcoin's block rewards continue to halve, miners' rewards will diminish. If the
Interview with Qiu Dageng: The advocate of "Three Arrows, Three Circles" explains Hong Kong's latest virtual asset…
Wednesday, September 20, 2023
Interviewed | Foresight News,PANews Compile | WuBlockchain Original link:https://foresightnews.pro/article/detail/43452 Since the release of the “Policy Declaration on the Development of Virtual Assets
IOSG Founder's Reflections on 2049: Many teams are running out of funds, testing founders' resilience
Tuesday, September 19, 2023
Author | IOSG Founder, Jocy Editorial | WuBlockchain Original link: https://twitter.com/JinzhouLin/status/1703803442521948638 My nth time attending the founders' perspective at 2049 This industry
Explainer: Understanding Vitalik's Recent Emphasis on "Statelessness"
Monday, September 18, 2023
Author: GaryMa WuBlockchain Vitalik Buterin has been frequently discussing a concept called “statelessness” in recent presentations at events like the Korea Blockchain Week, in Singapore, and even
You Might Also Like
What is DeFAI? The AI-enabled DeFi narrative looking to take 2025 by storm
Wednesday, January 15, 2025
AI-driven DeFi projects aim to simplify finance with real-time insights, trading, and personalized strategies, but face hurdles in transparency and security. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
DeFi & L1L2 Weekly — 📈Solana’s daily DEX trading volume beat Ethereum’s by 84%; Sony launched its L2 blockchain, …
Wednesday, January 15, 2025
Solana's daily DEX trading volume beat Ethereum's by 84%. Sony launched its L2 blockchain, Soneium. Compound integrated Ethena's stablecoin and Mantle's liquid staking token. ͏ ͏ ͏ ͏ ͏
DeFi & L1L2 Weekly — 📈Solana’s daily DEX trading volume beat Ethereum’s by 84%; Sony launched its L2 blockchain, …
Wednesday, January 15, 2025
Solana's daily DEX trading volume beat Ethereum's by 84%. Sony launched its L2 blockchain, Soneium. Compound integrated Ethena's stablecoin and Mantle's liquid staking token. ͏ ͏ ͏ ͏ ͏
OKX Founder's Full Speech: "Always Hold Bitcoin"
Wednesday, January 15, 2025
January 14, 2025, OKX CEO Star delivered a speech via video link. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
JPMorgan believes Solana, XRP ETPs could attract $15 billion in net inflows
Tuesday, January 14, 2025
Both assets register $2.5 billion in assets under management currently, with a little over $500 million in inflows registered last year. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Coin Metrics’ 2025 Crypto Outlook
Tuesday, January 14, 2025
Key Trends & Outlooks Shaping Digital Assets in the Year Ahead ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Bitcoin’s sharp rise and fall starts week with $418 million in liquidations
Monday, January 13, 2025
Crypto positions unwind with $245M in longs liquidated across major exchanges. ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
₿ US-based entities hold 65% more BTC reserves than non-US entities; Crypto.com launched stocks and ETFs trading i…
Monday, January 13, 2025
US-based entities hold 65% more BTC than non-US entities; Crypto.com launched stocks and ETFs trading in the US; South Korea is reportedly planning to gradually allow institutional crypto trading ͏ ͏ ͏
Crypto Crash Imminent As US DOJ Sells Over 69K BTC
Monday, January 13, 2025
Monday Jan 13, 2025 Sign Up Your Weekly Update On All Things Crypto TL;DR Crypto Crash Imminent As US DOJ Sells Over 69K BTC Senator Lummis To Head New Crypto Subcommittee Dogecoin Fails To Break
2024 Cex Annual Report: Binance's lead narrowed, while Bybit spot and Bitget contracts grew significantly
Monday, January 13, 2025
In December, major exchanges recorded a 14% increase in spot trading volume, with Bitget leading at 102% growth, and a 6% rise in derivatives trading volume, where Gate saw the largest increase at 111%