FLASHLOAN (AAVE) & ARBITRAGE (AAVE-DEX) SIMPLE BOT [SOLIDITY, PHP, BLOCKCHAIN, JS] [ETHEREUM BLOCKCHAIN]

Job ID: 33077806

Budget: $30 – $250 USD

Hello everybody,
Hope you are good ? ;)
I'm novice on Solidity, (like running npm install, launch a scrypt in a terminal, deploy a smart contract )
and i have always use a little bit but i need learn more and so, i'm asking for help right now to release this project and learning in sametime :D



______________________________________________________
________________ INFORMATION __________________
______________________________________________________


I'm seaching for pretty simple logic bot this is a mix from a FLASHLOAN bot

(like / https://github.com/brownie-mix/aave-flashloan-mix )



and add into this an "ARBITRAGE SCANNER". (like a current arbitrage bot work on a blockchain)

//////////////////////// NOTE ////////////////////////
I can provide you an example of an actual Arbitrage bot ...
//////////////////////////////////////////////////////////////////////////////////////

If you want create a new one this is not a problem.


___________
_________________
_________________________
______________________________________________________
________________ LOGICS(BOT) & REQUIREMENTS __________________
______________________________________________________
___________________________
_______________________



1. FLASHLOAN-BOT-START : The bot must scan for different "AMOUNT" & "BASEASSET" registered on AAVE (DAI, ETH, USDT etc...)
---------------- Explain me how to do for add someone assets later, if newer and that use too long work ------------


2. ARBITRAGE-SCAN: Scan between different DEX(ROUTERS) & (ASSETS) (ROUTES) registered on AAVE if there is an opportunity to make more token in a scrypt or smart contract

//////////////////////// NOTE ////////////////////////
I can provide you an example of an actual Arbitrage bot ...
//////////////////////////////////////////////////////////////////////////////////////


3. FLASHLOAN-BOT-END : The bot have found an opportunity and execute .


______________________________________________________
________________ EXAMPLE__________________ :D
______________________________________________________


EXAMPLE 1 and 2 = Bot have found an arbitrage oportunity to make profit between DEX so the bot calcul the current transfer fees from the blockchain then it borrow token from AAVE execute the contract and make a profit.

---------------------
For this example1 if the transaction fee = 0.05 ETH
The bot scan TO execute FLASHLOAN if it see this :
------------------------------------------
5000 DAI BORROW
> BUY 2.3 ETH (DEX1)
> SELL 5000 DAI for 2.4 ETH( DEX2)
> REFUND THE FLASH
= 0.1 - 0.05 (transfer and borrow fee) = + 0.05 ETH
(WE MAKE A PROFIT YAHOOOOOOOO)
:)


The bot scan and NOT execute ( maybe the flashload won't accept the borrow) if it see this :
For this example2 if the transaction fee = 0.15 ETH
The bot scan and see this
5000 DAI BORROW > BUY 2.3 ETH (DEX1) > SELL for 5010 DAI(DEX2) > REFUND THE FLASH =

0.1 - 0.15 (transfer and borrow fee) = >>>>>>> - 0.05 ETH <<<<<<<<<<<
(NOT EXECUTE)
___________________________



______________________________________________________
________________ IMPORTANT__________________
______________________________________________________

i'm seaching for someone understand the simple logic
- The bot CANNOT execute if the result = startBalance > endBalance (loosing trade) if bad the bot BURN THE WALLET in fees ... :(

- Fix minimum profit limit (need calcul the "GAS COST" fees & "FLASHLOAN" fees) and maximum profit limit too please, example = (minAmontProfit : 0.001 ETH) & (maxAmontProfit : 0.01 ETH)

- The bot need to run and scan H24 with the terminal ...
I need a way to make the terminal faster like a SUPERBOT

______________________________________________________________________________

Possibility to pay in cryptocurrency ;)
For every question just ask me i'm free to answer you :)

Sincerely
Related categories: PHP JavaScript Blockchain Solidity Smart Contracts