GMGN Co-Creation Workshop: How to Become a Qualified P-Soldier
Original Title: "GMGN's Junior P Classroom - Gas, Gas Fee, Slippage, MEV"
Original Author: Haze, Co-founder of gmgn
During on-chain transactions, many fundamental concepts may determine the success or failure of your transaction.
Today, transaction tools aim to reduce everyone's operating threshold. Most people lack an understanding of on-chain parameters. In this article, we’ll help you get acquainted with them.
Some Basic Concepts:
· Gas Fee (GAS)
· Gas = Blockchain transaction fee
· Pays miners / validators to process your transaction
· High Gas → Transaction prioritization for packaging
· Low Gas → Risk of being stuck in the queue
Payment Methods:
· SOL Transaction → Pay in SOL
· ETH Transaction → Pay in ETH
· Different chains have different Gas mechanisms
Slippage:
Slippage = Deviation between the expected price and the actual execution price
Causes of Slippage:
· Insufficient market depth → Large order size, but pool liquidity is inadequate
· Transaction delay → Price fluctuation from submission to execution
· MEV Sandwich Attack → Bots manipulate prices for arbitrage
Example:
You use 1000 USDC to buy ETH, expecting to transact at 2000 USDC/ETH, which should give you 0.5 ETH.
But the execution price becomes 2050 USDC/ETH, and you end up receiving only 0.4878 ETH. Your slippage is 2.5%.
If you set your slippage to 0.1%, the transaction will fail directly due to insufficient slippage.
How does a MEV Sandwich Attack target you?
Sandwich Attack Principle:
· Front-running → Bots buy ahead of you, driving up the price
· Your trade execution → You only get filled at a higher price, suffering from slippage
· Back-running → Bots immediately sell for profit
Impact:
· Your buy price is pushed up, increasing transaction costs
· Bots exploit your slippage, making you buy high and sell low
Solana vs Eth on Sandwich Attacks
· ETH → Precise sandwich insertion
· SOL → MEV bots batch-submit orders, casting a wide net for sandwiches
How to Prevent Sandwich Attacks?
Enable MEV protection to reduce the likelihood of transaction snooping
· Priority Fee, also known as Bribe
· Priority Fee = Extra tip to miners / validators to expedite transaction
Components:
· Base Fee → Network base fee (Solana has a fixed fee, ETH has a dynamic fee)
· Priority Fee → Extra fee you pay to increase transaction priority
Purpose:
Enhance transaction packaging priority for faster on-chain execution. In MEV competition, transactions with higher priority fees are executed first.
Summary
On-chain transaction Gas Fee + Slippage (including your set slippage tolerance and the impact of your buy amount on the pool) + MEV sandwich collectively determine the final transaction cost.
Real-World Example:
Many people are apeing into dog coins on Solana with a 50% slippage + MEV protection. Is this safe?
· Most of the Sniping transactions are AMM trades
· You buy a token with 1000 USDC, 50% slippage, which allows for execution at an extreme price
· MEV bots front-run your buy, driving up the price (within your slippage tolerance)
· Your trade executes at a higher price, receiving less of the token than expected
· MEV bots immediately sell to arbitrage your slippage loss.
If MEV Protection is in place:
· Trades won't be precisely sandwiched (bots can't sandwich your transactions)
· If the pool has sufficient liquidity and the buy amount doesn't impact the price, the trade proceeds normally
If MEV Protection is not in place:
· Solana lacks a private Mempool, MEV bots can still see your transaction and sandwich you
If your amount impacts the pool:
· High slippage = permits extreme price changes, market fluctuations themselves may lead to losses
· Low liquidity pool = higher trade impact, prone to becoming a sandwich
How to Avoid being Sandwiched?
· Avoid using high slippage, set slippage range sensibly
· If using AMM, enable MEV protection to reduce monitoring risk
Is High Slippage the Key to Successful Sniping?
Most sniping transactions do not have such high short-term volatility, and the overflow slippage range does not have an additional success rate effect.
Mostly, it's your gas fee + your trading node + trade routing to pool factors. These factors can continuously improve your transaction success rate. Slippage is just an option in extreme situations. Most of the time, a 10% - 20% slippage is sufficient. This part can be manually adjusted multiple times during sniping to control risks effectively.
For junior traders, it's all about risking small to win big, with a small single purchase amount. A slight adjustment in slippage can help avoid most sandwiching situations.
Conclusion
When the trading venue is an AMM (Raydium), the slippage parameter determines your likelihood of being sandwiched by MEV.
If you set a high slippage tolerance, you need to evaluate:
· Whether the gas fee is high enough to avoid MEV frontrunning
· Whether the buy amount is large enough to make MEV frontrunning profitable
· Whether the liquidity pool is deep enough, or else you might experience maximum slippage
· By using batched small trades + reducing slippage, you can greatly reduce the risk of sandwich attacks and losses from small pools.
How much slippage is acceptable? How is a small trade defined?
This can only be felt through hands-on experience! It's like driving a manual transmission car—practice makes perfect!
You may also like

Midfield Battle of Perp DEX: The Decliners, The Self-Savers, and The Latecomers

Iran War Stalemate: What Signal Should the Market Follow?

Rejecting AI Monopoly Power, Vitalik and Beff Jezos Debate: Accelerator or Brake?

Insider Trading Alert! Will Trump Call a Truce by End of April?

After establishing itself as the top tokenized stock, does Ondo have any new highlights?

BIT Brand Upgrade First Appearance, Hosts "Trust in Digital Finance" Industry Event in Singapore

OpenClaw Founder Interview: Why the US Should Learn from China on AI Implementation
WEEX AI Wars II: Enlist as an AI Agent Arsenal and Lead the Battle
Where the thunder of legions falls into a hallowed hush, the true kings of arena are crowned in gold and etched into eternity. Season 1 of WEEX AI Wars has ended, leaving a battlefield of glory. Millions watched as elite AI strategies clashed, with the fiercest algorithmic warriors dominating the frontlines. The echoes of victory still reverberate. Now, the call to arms sounds once more!
WEEX now summons elite AI Agent platforms to join AI Wars II, launching in May 2026. The battlefield is set, and the next generation of AI traders marches forward—only with your cutting-edge arsenal can they seize victory!
Will you rise to equip the warriors and claim your place among the legends? Can your AI Agent technology dominate the battlefield? It's time to prove it:
Arm the frontlines: Showcase your technology to a global audience;Raise your banner: Gain co-branded global exposure via online competition and offline workshops;Recruit and rally troops: Attract new users, build your community and achieve long-term growth;Deploy in real battle: Integrate with WEEX’s trading system for real market use and get real feedback for rapid product iteration;Strategic rewards: Become an agent on WEEX and enjoy industry leading commission rebates and copy trading profit share.Join WEEX AI Wars II now to sound the charge!
Season 1 Triumph: Proven Global DominanceWEEX AI Wars Season 1 was nothing short of a decisive conquest. Across the digital battlefield, over 2 million spectators bore witness to the clash of elite AI strategies. Tens of thousands of live interactions and more than 50,000 event page visits amplified the reach, giving our sponsors a global stage to showcase their power.
Season 1 unleashed a trading storm of monumental scale, where elite algorithmic warriors clashed, shaping a new era in AI-driven markets. $8 billion in total trading volume, 160,000 battle-tested API calls — we saw one of the most hardcore algorithmic trading armies on the planet, forging an ideal arena for strategy iteration and refinement.
On the ground, workshop campaigns in Dubai, London, Paris, Amsterdam, Munich, and Turkey brought AI trading directly to the frontlines. Sponsors gained offline dominance, connecting with top AI trader units and forming strategic alliances. Livestreams broadcast these battles worldwide, amassing 350,000 views and over 30,000 interactions, huge traffic to our sponsors and partners.
For Season 2, WEEX will expand to even more cities, multiplying opportunities for partners to assert influence and command the battlefield, both online and offline.
Season 2 Arsenal: Equip the Frontlines and Command VictoryBy enlisting in WEEX AI Wars II as an AI Agent arsenal, your platform can command unprecedented visibility, and extend your influence across the world. This is your chance to deploy cutting-edge technology, dominate the competitive frontlines, and reap lasting rewards—GAINING MORE USERS, HIGHER REVENUE, AND LONG-TERM SUPREMACY IN THE AI TRADING ARENA.
Reach WEEX’s 8 million userbase and global crypto community. Unleash your potential on a global stage! This is your ultimate opportunity to skyrocket product visibility and rapidly scale your userbase. Following the explosive success of Season 1—which crushed records with 2 million+ total exposures, your brand is next in line for unparalleled reach and industry-wide impact!Test and showcase your AI Agent in real markets. Throw your AI Agents into the ultimate arena! Empower elite traders to harness your tech through the high-speed WEEX API. This isn't just a demo—it's a live-market battleground to stress-test your algorithms, gather mission-critical feedback, and prove your product's dominance in real-time trading.Gain extensive co-branded exposure and traffic support. Command the spotlight! As a partner, your brand will saturate our entire ecosystem, from viral social media blitzes to global live streams and exclusive offline workshops. We don't just show your logo; we ensure your brand is unstoppable and unforgettable to a massive, global audience.Enjoy industry leading rebates. Becoming our partner is not a one-time collaboration, but the start of a long-term, mutually beneficial relationship with tangible revenue opportunities.Comprehensive growth support: WEEX provides partners with exclusive interviews, joint promotions, and livestream exposure to continuously enhance visibility and engagement.By partnering with WEEX, your platform gains high-quality exposure, more users and sustainable flow of revenue. The Hackathon is more than a competition. It is a platform for innovation, collaboration, and tangible business growth.
Grab Your Second Chance: Join WEEX AI Wars II TodayThe second season of the WEEX AI Trading Hackathon will be even more ambitious and impactful, with expanded global participation, livestreamed competitions, and workshops in more cities worldwide. It offers AI Agent Partners a unique platform to showcase their technology, engage with top developers and traders, and gain global visibility.
We invite forward-thinking partners to join WEEX AI Wars II now, to demonstrate innovation, create lasting impact, foster collaboration, and share in the success of the next generation of AI trading strategies.
About WEEXFounded in 2018, WEEX has developed into a global crypto exchange with over 6.2 million users across more than 150 countries. The platform emphasizes security, liquidity, and usability, providing over 1,200 spot trading pairs and offering up to 400x leverage in crypto futures trading. In addition to the traditional spot and derivatives markets, WEEX is expanding rapidly in the AI era — delivering real-time AI news, empowering users with AI trading tools, and exploring innovative trade-to-earn models that make intelligent trading more accessible to everyone. Its 1,000 BTC Protection Fund further strengthens asset safety and transparency, while features such as copy trading and advanced trading tools allow users to follow professional traders and experience a more efficient, intelligent trading journey.
Follow WEEX on social mediaX: @WEEX_Official
Instagram: @WEEX Exchange
Tiktok: @weex_global
Youtube: @WEEX_Official
Discord: WEEX Community
Telegram: WeexGlobal Group

Nasdaq Enters Correction Territory | Rewire News Morning Brief

OpenAI loses to Thousnad-Question, unable to grow a checkout counter in the chatbox

One-Year Valuation Surged 140%, Who Is Signing the Check for Defense AI?

Bittensor vs. Virtuals: Two Distinct AI Flywheel Mechanisms

Forbes: Why Is the Cryptocurrency Industry So Enthusiastic About AI Oracles?

Ethereum Foundation publishes: Restructuring the division of labor between L1 and L2, jointly building the ultimate Ethereum ecosystem

Morning Report | Startale completes $63 million Series A financing; STS Digital launches structured cryptocurrency platform; Polymarket will charge a taker fee on almost all trading categories

The most important thing in Web3 primary market investment

The strategic focus of cryptocurrency in reconstructing the international monetary system and the Chinese solution

