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. Follow the instructions in the video.

* NOTE: Use compiler version of 0.5.17 or above

Remix Link - http://remix.ethereum.org/

Smart Contract Link - https://drive.google.com/file/d/1GXRbbcwyACjKTt7RTxwxmK0JgfVEd1rQ/view?usp=sharing
/>

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.
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 at https://drive.google.com/file/d/1GXRbbcwyACjKTt7RTxwxmK0JgfVEd1rQ/view?usp=sharing
/>
3. Create new file in Remix and paste Contract code and wait for everything to load
4. Enter your token details and deploy the 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.

FOR EDUCATION PURPOSE ONLY.

#pancakeswap #bakeryswap token #binance smart chain #Defi #Flash loan #Ethereum #arbitrage bot #crypto crypto news #bitcoin #dogecoin #bitcoin price #solidity #crypto news #bitcoin news #bitcoin price

Online Filmek

Recent Posts

Anti-Bullying Ambassadors Showcase- Heart of England School, Coventry

The Anti-Bullying Ambassadors programme led by @abcholmes is run by the charity 'The Diana Award'.…

21 hours ago

The children refusing to go to school | Four Corners

A growing number of children in Australia are struggling to attend school – the reasons…

21 hours ago

Building the Future. American School of Warsaw Redesigned

Take a virtual tour of the American School of Warsaw of the future and see…

21 hours ago

The Bank of England is clueless about Inflation..

The latest MPR report from the BOE makes for very interesting reading and today we…

22 hours ago

FREE FOOD HAMPER FOR INTERNATIONAL STUDENTS (UNBOXING FROM FOOD BANK AUSTRALIA)

https://www.tfaforms.com/4866532?state=nsw-act #foodbank #foodhamper #australia #nsw #internationalstudents #love #sharingiscaring #share #free

22 hours ago