News for hackers. Stuff that matters.
Re:Web3 is centralized and inefficient by landemva on Wednesday March 23, 2022 @01:27AM (#30775265)
' My interest for running a node was ... to attempt to counter frontrunning aka sandwich attacks. '

You may have misunderstood the eth tech stack. Running your own node is not a means to prevent sandwich attacks.

Re:Web3 is centralized and inefficient by TheCowboy on Wednesday March 23, 2022 @02:32PM (#30781693)
I specifically said "counter" not "prevent". I explained in another post.
Re:Web3 is centralized and inefficient by landemva on Wednesday March 23, 2022 @03:17PM (#30782180)
Running your own node neither counters nor prevents front running your transactions. If you send tx to standard mempool, the tx can be seen and front run.

There are existing solutions for the narrow use case you seem to have - flashbots and a few others. And they have cost savings to you of not running your tx (saving eth gas fees) if your tx submission does not win.

Re:Web3 is centralized and inefficient by TheCowboy on Wednesday March 23, 2022 @10:51PM (#30785957)
I explained in my other comment, but I see no mention any of those aspects of countering a sandwich botter.
Re:Web3 is centralized and inefficient by landemva on Thursday March 24, 2022 @12:11AM (#30786309)
Front run + back run is sandwich. Front running has also been called miner extractable value. This is now called maximal extractable value.

You may want to look a little further, or not.

https://github.com/flashbots/pm

'... mitigating the negative externalities of Maximal Extractable Value ...'

Re:Web3 is centralized and inefficient by aaaaaaaaata on Wednesday March 23, 2022 @08:13AM (#30777628)
Can you not you "see" more transactions, faster...?
Re:Web3 is centralized and inefficient by akyu on Wednesday March 23, 2022 @08:57AM (#30777969)
The block producer chooses transaction ordering. They control who gets sandwiched. Running your own node won't change anything.
Re:Web3 is centralized and inefficient by TheCowboy on Wednesday March 23, 2022 @02:30PM (#30781679)
The trading site's performance is quite high latency, and uses a 3rd party endpoint (I forget which one) that doesn't emphasize performance. You reduce the latency of your orders, acquire real-time price information, notification of liquidity changes faster, etc.

If you think it's to prevent attacks in some absolute sense, that isn't the goal. Your goal is to make life more difficult for them and/or decrease profit incentives.

You only need to remove some of the profit to make it not worth someone's time to maintain, and at least you're bleeding less money if they do continue. You get to be more strategic in how you place orders and make it really annoying for a botter or force the botter to blacklist your trades from your attacks (something that has happened before). You can also identify flaws in the bot and exploit them to make it bleed money(this has been demonstrated as possible many times).