0

ALL I WANT learn about smart contract trading. I see on etherscan many bot making big money daily with smart contract.

E.g

I see bot are work single transaction swap weth to token to Eth In than bot input 1 eth and out like 1 to 1.15 eth so in single transaction bot make profit 0.10 eth.

So I want find how work that I am not coder if anyone having information please share in simple form.

Simple web3 connection and interact with smart contract. See e.g. https://etherscan.io/tx/0x183fd2d3b5ac4eefa562978ec42f9b7e851da38b513ca132489710b580620a24 https://etherscan.io/tx/0xb318e7c7a698562a960c15a489e9cf5d58eb57999fe48c6b2c77a437df449064

1 Answer 1

6

That’s called arbitrage, you swap e.g. ETH for DAI on one exchange and then swap it back from DAI to ETH on another exchange. This works because the so called DEX’s (Decentralized exchanges like Uniswap) have sometimes different exchange rates for token pairs. There is also another version of arbitrage called triangular arbitrage where you swap e.g. ETH for DAI and DAI for Link and Link back to ETH. But there are following problems:

  1. Competition: Lots of other users too implemented a bot that does arbitrage trading already

    -> There are already open source arbitrage bots like this which also uses a Flash Loan to not risk any personal capital but if you don't understand what the bot is doing, I wouldn't recommend using it. Of course risking no capital doesn't mean not being able to lose money because you always have to pay the transaction fee even though the transaction fails.

  2. Time: These profitable opportunities often only last for a very short time.

    -> He tracked the profitable opportunities of triangular arbitrage and showed interesting data in his YouTube video.

  3. Gas Fees: The current situation on Ethereum makes the most arbitrage opportunities unprofitable because the gas fees are way to high.

    -> Check out the Etherscan Gas Tracker. Amongst lots of other informative data it also shows the cost for an Uniswap token swap.

  4. Front Running: Another big problem at Ethereum is front running which basically means that because all the unconfirmed/pending transactions are public, someone else can copy it and just put a slightly higher gas as you did. The transactions of the front runners go through first and you lose the gas fee which is as said before pretty high. The funny thing is that front runners also often get front runned and so on.

    -> Check out this YouTube video showing someone trying to get front runned (spoiler: he gets front runned)

Summary: There are lots of problems with arbitrage trading and it's not quite sure if you will make money at the end. Also I would say it's impossible creating an arbitrage bot without coding, at least I don't know any tools to use.

1
  • That video on front running was amazing.
    – Sileo
    Commented Mar 30, 2021 at 10:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.