Flash Loan/Swap Solidity Devloper
Budget: $250 – $750 USD
Please read over the notes in the attached file.
I'm looking for a bot/script to routinely deploy flash loans/swaps.
While ETH seems to be the most logical, with a lot more options, in both BTC pegs and various stables, along with good pools on curve, and dydx flash fee of 2 wei (unless it's changed in version 2), the biggest problem is the high gas fee, which will cause the contract to run out of gas sooner, than later.
BSC seems to be a better option, overall. However, Polygon (Poly) has gas fees that are even lower than BSC, but has fewer pools, less BTC pegs (but decent stable coins).
The other issue is front running, MEV, sandwiching, etc. In the file, I list some of the possible options for dealing with these, such as Flashbots, XDN, BloxRoute, secret, and some others.
Not only will the flash loan/swap need to execute the trades, on the respective network, but need to be able to use the respective protection(s) to prevent the transactions from being stolen, or subject to other attacks.
I need someone with sufficient knowledge who can come up with the best balance of protecting the transactions, with the lowest gas fees.
As you see in the notes, the 2 main examples are between various stable coins, between multiple pools. With that in mind, doing the same thing between various BTC pegs should result in more profits, as the price flux between them is higher than stables, and the requirements of the flash loan/swap is to pay the loan back, the flash fee, and transaction fees, in one transaction, with a profit to go to the user. The preference for this bot/SC is to trade BTC pegs, for the wider price flux, and higher chance to profit, as opposed to stables.
UniSwap (and direct fork PancakeSwap), in their documents, are all Flash Swaps, and as I understand, don't require the flash swap to be repaid with the same token, just same amount, whereas a flash loan requires the flash to be repaid by the same token. The end goal remains to take out a loan, swap between different assets, and profit.
In your opinion, between ETH, BSC, and Polygon, which blockchain is best to use, and why? Should ETH's high gas fees eliminate it from consideration? Which MEV, front-running, and other attack solution(s) seems best?
Can you provide gas estimates, or ranges, in USD, for ETH, BSC, and Poly, for this bot/sc? At some point, will a new SC/bot need to be made, or is it possible to "refill the gas?"
I'm looking for a bot/script to routinely deploy flash loans/swaps.
While ETH seems to be the most logical, with a lot more options, in both BTC pegs and various stables, along with good pools on curve, and dydx flash fee of 2 wei (unless it's changed in version 2), the biggest problem is the high gas fee, which will cause the contract to run out of gas sooner, than later.
BSC seems to be a better option, overall. However, Polygon (Poly) has gas fees that are even lower than BSC, but has fewer pools, less BTC pegs (but decent stable coins).
The other issue is front running, MEV, sandwiching, etc. In the file, I list some of the possible options for dealing with these, such as Flashbots, XDN, BloxRoute, secret, and some others.
Not only will the flash loan/swap need to execute the trades, on the respective network, but need to be able to use the respective protection(s) to prevent the transactions from being stolen, or subject to other attacks.
I need someone with sufficient knowledge who can come up with the best balance of protecting the transactions, with the lowest gas fees.
As you see in the notes, the 2 main examples are between various stable coins, between multiple pools. With that in mind, doing the same thing between various BTC pegs should result in more profits, as the price flux between them is higher than stables, and the requirements of the flash loan/swap is to pay the loan back, the flash fee, and transaction fees, in one transaction, with a profit to go to the user. The preference for this bot/SC is to trade BTC pegs, for the wider price flux, and higher chance to profit, as opposed to stables.
UniSwap (and direct fork PancakeSwap), in their documents, are all Flash Swaps, and as I understand, don't require the flash swap to be repaid with the same token, just same amount, whereas a flash loan requires the flash to be repaid by the same token. The end goal remains to take out a loan, swap between different assets, and profit.
In your opinion, between ETH, BSC, and Polygon, which blockchain is best to use, and why? Should ETH's high gas fees eliminate it from consideration? Which MEV, front-running, and other attack solution(s) seems best?
Can you provide gas estimates, or ranges, in USD, for ETH, BSC, and Poly, for this bot/sc? At some point, will a new SC/bot need to be made, or is it possible to "refill the gas?"