Autopilot — fully automatic
One switch: the bot auto-builds the opportunity watchlist (liquid pairs + discovered triangles for the current network), scans every interval, and auto-executes the most profitable trade — hands-off. It keeps the watchlist fresh automatically. On mainnet this uses real gas and funds. یک سوییچ: ربات خودش فهرست فرصتها را میسازد (جفتهای لیکوئید + مثلثهای کشفشده برای شبکهی فعلی)، هر بازه اسکن میکند و سوددهترین معامله را خودکار اجرا میکند — بدون دخالت. فهرست را هم خودکار تازه نگه میدارد. روی mainnet از gas و پول واقعی استفاده میکند.
Wallet & Contract
Live status
Concept & story — learn it properly
The story
Imagine the same token (say WETH) is priced slightly differently on two exchanges — 1590 USDC on one, 1595 on the other. You could buy low and sell high and pocket the difference. The problem: you need a lot of capital to make the tiny gap worth it. Flash loans solve exactly this.
What is a flash loan?
A flash loan lets you borrow a huge amount with no collateral — on one condition: you must repay it within the same transaction. A blockchain transaction is atomic: either every step succeeds, or the whole thing is undone as if it never happened. So if you can't repay, the transaction reverts and you simply lose the gas fee — never the principal.
The full cycle (one transaction)
- Borrow e.g. 100,000 USDC from Aave (flash loan).
- Buy WETH on the cheaper DEX.
- Sell that WETH on the dearer DEX → get more USDC back.
- Repay the 100,000 + a tiny fee (Aave 0.05%).
- Keep the difference as profit. If steps 2–4 don't produce enough to repay, the whole transaction reverts.
The hard limit (why most gaps aren't profitable)
Every swap charges a fee (Uniswap V2 = 0.30%). A round trip = 2 swaps = 0.60%, plus the 0.05% flash fee = a ~0.65% floor. If the price gap is smaller than that, no trade size can be profitable — it's the exchanges' fee, not a bug. To beat it: use lower-fee venues (Uniswap V3 0.05%, Curve ~0.04%) or three-token triangular cycles.
The competition (MEV)
On mainnet, professional "MEV" bots watch the public mempool and grab opportunities in milliseconds, often front-running you. Flashbots private submission hides your transaction from them — it goes straight to block builders, never the public mempool, and is only included if it succeeds.
This bot's strategies
- Direct: two DEXes, same pair. Each leg can be Uniswap V2 or V3.
- Triangular: a 3-token loop (A→B→C→A) on one or more DEXes.
- Optimal sizing: the bot computes the borrow amount that maximizes profit (not too small, not so big that slippage eats the gap).
داستان ماجرا
تصور کن یک توکن (مثلاً WETH) روی دو صرافی کمی قیمت متفاوت دارد — ۱۵۹۰ USDC در یکی، ۱۵۹۵ در دیگری. میتوانی ارزان بخری و گران بفروشی و اختلاف را برداری. مشکل: برای اینکه این شکاف کوچک بصرفد به سرمایهی زیاد نیاز داری. وامهای Flash دقیقاً همین را حل میکنند.
Flash Loan چیست؟
وام Flash به تو اجازه میدهد مبلغ هنگفتی بدون وثیقه قرض بگیری — به یک شرط: باید آن را در همان تراکنش پس بدهی. تراکنش بلاکچین اتمیک است: یا همهی مراحل موفق میشوند، یا کل ماجرا انگار اصلاً اتفاق نیفتاده برمیگردد. پس اگر نتوانی پس بدهی، تراکنش revert میشود و فقط کارمزد gas را از دست میدهی — هیچوقت اصل پول را.
چرخهی کامل (یک تراکنش)
- مثلاً ۱۰۰٬۰۰۰ USDC از Aave وام بگیر (Flash Loan).
- WETH را روی صرافی ارزانتر بخر.
- همان WETH را روی صرافی گرانتر بفروش → USDC بیشتری بگیر.
- ۱۰۰٬۰۰۰ + یک کارمزد کوچک (Aave ۰.۰۵٪) را پس بده.
- اختلاف را بهعنوان سود نگه دار. اگر مراحل ۲ تا ۴ بهاندازهی بازپرداخت تولید نکنند، کل تراکنش revert میشود.
محدودیت سخت (چرا اکثر شکافها سودده نیستند)
هر swap کارمزد دارد (Uniswap V2 = ۰.۳۰٪). یک رفتوبرگشت = ۲ swap = ۰.۶۰٪ بهعلاوهی ۰.۰۵٪ کارمزد Flash = کف حدود ۰.۶۵٪. اگر شکاف قیمت از این کمتر باشد، هیچ اندازهای سودده نمیشود — این کارمزد صرافیهاست، نه باگ. برای عبور: صرافیهای کمکارمزد (Uniswap V3 ۰.۰۵٪، Curve ~۰.۰۴٪) یا چرخهی سهتوکنهی مثلثی.
رقابت (MEV)
روی mainnet رباتهای حرفهای «MEV» mempool عمومی را میپایند و فرصتها را در میلیثانیه میقاپند و اغلب جلوی تو میزنند. ارسال خصوصی Flashbots تراکنش تو را از آنها مخفی میکند — مستقیم به سازندهی بلاک میرود، نه mempool عمومی، و فقط اگر موفق باشد include میشود.
استراتژیهای این ربات
- مستقیم: دو صرافی، یک جفت. هر طرف میتواند Uniswap V2 یا V3 باشد.
- مثلثی: حلقهی سهتوکنه (A→B→C→A) روی یک یا چند صرافی.
- اندازهی بهینه: ربات مقدار وامی را حساب میکند که سود را حداکثر کند (نه خیلی کوچک، نه آنقدر بزرگ که slippage شکاف را بخورد).
Step-by-step setup guide
In a single transaction this bot takes a flash loan, arbitrages between DEXes, repays the loan and keeps the profit. If there is no profit the transaction reverts and your principal is never at risk. Just 6 steps:
Get some testnet ETH (for gas)
Open the official Google faucet (opens in a new tab):
Choose the Ethereum Sepolia network and paste this wallet address:
Click Receive and wait a few minutes.
Confirm the funds arrived
Open Network & Wallet → Refresh balances. ETH should be above zero.
Build & wire the whole system in one click
Open Contract & Wiring → Build & wire the whole system. It deploys tokens, DEXes (direct + triangular), a lending pool and both arbitrage contracts on Sepolia, then auto-fills every setting (~1–2 min, progress in the live log).
Pick a strategy & check the quote
In Strategy choose Direct (2-DEX) or Triangular (3-token). Then in Bot & Logs click Get quote to see the optimal borrow size and net profit.
Start the bot
In Bot & Logs, turn on Auto-execute if you want automatic trading, then Start bot.
Withdraw the profit
Profit accumulates in the contract. The Withdraw profit button on the Contract & Wiring page sends it to your wallet.
این ربات در یک تراکنش وام Flash میگیرد، بین صرافیها آربیتراژ میکند، وام را پس میدهد و سود را نگه میدارد. اگر سودی نباشد تراکنش revert میشود و اصل پولت هیچوقت در خطر نیست. فقط ۶ گام:
کمی ETH تستنت بگیر (برای gas)
فاوست رسمی گوگل را باز کن (در تب جدید):
شبکهی Ethereum Sepolia را انتخاب کن و این آدرس کیفپول را بچسبان:
روی Receive بزن و چند دقیقه صبر کن.
مطمئن شو پول رسید
شبکه و کیفپول → بروزرسانی موجودی. موجودی ETH باید بیشتر از صفر شود.
کل سیستم را با یک کلیک بساز و راهاندازی کن
قرارداد و راهاندازی → ساخت و راهاندازی کل سیستم. توکنها، صرافیها (مستقیم + مثلثی)، استخر وام و هر دو قرارداد آربیتراژ را روی Sepolia مستقر میکند و همهی تنظیمات را خودکار پر میکند (~۱ تا ۲ دقیقه، پیشرفت در لاگ زنده).
یک استراتژی انتخاب کن و مظنه را ببین
در استراتژی حالت مستقیم (دو صرافی) یا مثلثی (سهتوکنه) را انتخاب کن. سپس در ربات و لاگها دکمهی گرفتن مظنه را بزن تا اندازهی بهینهی وام و سود خالص را ببینی.
ربات را روشن کن
در ربات و لاگها، اگر میخواهی خودکار معامله شود اجرای خودکار را روشن کن، سپس شروع ربات.
سود را برداشت کن
سود داخل قرارداد جمع میشود. دکمهی برداشت سود در صفحهی «قرارداد و راهاندازی» آن را به کیفپولت میفرستد.
Connect to a REAL network (mainnet) — full walkthrough
This is the precise path from zero to a live bot on Ethereum or Arbitrum. Do every step. Start tiny.
Make a dedicated wallet
Create a brand-new wallet (e.g. a fresh MetaMask account) — never your main one. Export its private key. Only keep a little money in it.
Fund it with REAL ETH (gas)
Send a small amount of ETH (e.g. 0.03–0.1) from an exchange to the wallet. On Arbitrum gas is much cheaper than Ethereum — good for starting.
Configure the panel
Open Network & Wallet → pick the Ethereum or Arbitrum preset → Apply. Paste your RPC URL (optional) and your private key. Click Save. Then Refresh balances and confirm your ETH shows.
Deploy the contracts
On Contract & Wiring, click Deploy direct contract and Deploy V2+V3 contract (each costs gas, wait for confirmation). They’re deployed against the real Aave provider.
Pick what to scan
On Strategy set the token pair & DEX kinds (the preset already fills USDC/WETH on Uniswap V2/V3), or on Bot & Logs → Multi-route scanner use AI: find opportunities to auto-fill liquid pairs/venues, and Auto-discover triangles.
Safety + go live
On Bot & Logs: turn on Flashbots (anti-MEV), set a Max gas price cap, a small Max borrow, and Auto-execute. Press Get quote / Scan now to confirm, then Start bot. Watch Trade history & P&L.
این مسیر دقیقِ صفر تا صدِ زندهکردن ربات روی اتریوم یا آربیتروم است. همهی گامها را انجام بده. خیلی کوچک شروع کن.
یک کیفپول اختصاصی بساز
یک کیفپول کاملاً جدید بساز (مثلاً یک اکانت تازه در MetaMask) — هرگز کیفپول اصلیات. کلید خصوصیاش را استخراج کن. فقط کمی پول در آن نگه دار.
با ETH واقعی شارژش کن (gas)
مقدار کمی ETH (مثلاً ۰.۰۳ تا ۰.۱) از یک صرافی به کیفپول بفرست. روی آربیتروم gas خیلی ارزانتر از اتریوم است — برای شروع عالی است.
پنل را تنظیم کن
شبکه و کیفپول → پیشتنظیم اتریوم یا آربیتروم → اعمال. آدرس RPC (اختیاری) و کلید خصوصیات را بچسبان. ذخیره بزن. سپس بروزرسانی موجودی و مطمئن شو ETH نمایش داده میشود.
قراردادها را مستقر کن
در قرارداد و راهاندازی، استقرار قرارداد مستقیم و استقرار قرارداد V2+V3 را بزن (هرکدام gas میبرد، منتظر تأیید بمان). روی Aave واقعی مستقر میشوند.
انتخاب کن چه چیزی اسکن شود
در استراتژی جفتتوکن و نوع صرافی را تنظیم کن (پیشتنظیم خودش USDC/WETH روی Uniswap V2/V3 را پر میکند)، یا در ربات و لاگها → اسکنر چند-مسیره از AI: یافتن فرصتها برای پرکردن خودکار جفتها/venueها و کشف خودکار مثلثها استفاده کن.
ایمنی + زنده شدن
در ربات و لاگها: Flashbots (ضد MEV) را روشن کن، یک سقف قیمت gas و سقف وام کوچک بگذار و اجرای خودکار را فعال کن. گرفتن مظنه / Scan now را بزن تا مطمئن شوی، سپس شروع ربات. تاریخچهی معاملات و سود/زیان را ببین.
All required addresses
11155111Deployed addresses (after wiring)
Network & Wallet
Wallet status
Build & wire the whole system
One click deploys the whole scene on-chain and auto-fills every setting: USDC, WETH & DAI tokens, DEXes for direct and triangular, a lending pool, and both arbitrage contracts. Needs some gas. با یک کلیک کل صحنه روی زنجیره مستقر و همهی تنظیمات خودکار پر میشود: توکنهای USDC، WETH و DAI، صرافیها برای مستقیم و مثلثی، یک استخر وام، و هر دو قرارداد آربیتراژ. کمی gas لازم است.
Contracts & withdrawal
Strategy mode
Tokens & routers
Optimizer & limits
Strategy Designer — named profiles
Save the current settings as a reusable rule profile, then load it anytime.تنظیمات فعلی را بهعنوان یک پروفایلِ قابلاستفادهی مجدد ذخیره کن، بعداً هر وقت خواستی بارگذاری کن.
AI Strategy Assistant
Discuss and optimize your strategy. The assistant sees your current settings and last quote. If it proposes parameter changes it returns a JSON block you can apply. دربارهی استراتژیات گفتگو و بهینهسازی کن. دستیار تنظیمات فعلی و آخرین مظنه را میبیند. اگر تغییری پیشنهاد دهد یک بلوک JSON میدهد که میتوانی اعمال کنی.
How the AI optimization works
- The assistant is given your live context: current strategy config, the last quote (borrow size, gross/gas/net profit), bot stats (checks, executions, errors) and the recent log tail.
- It analyzes why the bot is or isn't profitable against the hard fee floor (2×DEX fee + flash fee), and which lever moves the result most.
- It proposes concrete, prioritized changes — mode (direct/triangular), DEX kind (V2/V3 fee tier), token pair, min-profit, max borrow, gas handling.
- When it suggests parameter changes it returns a JSON block; click Apply to strategy and the settings update in one step.
- You then re-quote to see the effect, and iterate. The model is a strong analytical model (gpt-4o).
Live quote
Bot control
Multi-route scanner
Scan many token pairs and DEX/fee-tier combinations at once and rank by net profit. When enabled, the bot trades the single best opportunity each tick. Targets & venues are JSON lists. دهها جفتتوکن و ترکیب DEX/fee-tier را یکجا اسکن و بر اساس سود خالص رتبهبندی کن. وقتی فعال باشد، ربات هر بار بهترین فرصت را معامله میکند. Targets و venues فهرستهای JSON هستند.
Private submission — Flashbots (anti-MEV)
When enabled on Ethereum mainnet, transactions are sent privately via the Flashbots Protect RPC: they never hit the public mempool, are only included if they don't revert, and are shielded from front-running/sandwich MEV bots. (Mainnet only; ignored on testnets/L2 without a relay.) وقتی روی اتریوم mainnet فعال باشد، تراکنشها بهصورت خصوصی از طریق Flashbots Protect ارسال میشوند: هیچوقت وارد mempool عمومی نمیشوند، فقط در صورت revertنشدن include میشوند، و از رباتهای MEV (front-running/sandwich) محافظت میشوند. (فقط mainnet؛ روی تستنت/L2 بدون relay نادیده گرفته میشود.)
https://rpc.flashbots.net/fast · https://rpc.mevblocker.ioTrade history & P&L
Live log
Report a bug or request
Pick a type, write what happened or what you want, and submit. Entries are stored on the server for review and fixing. یک نوع انتخاب کن، بنویس چه اتفاقی افتاد یا چه میخواهی، و ثبت کن. موارد روی سرور برای بررسی و رفع ذخیره میشوند.