TradersClubDev / bullet-app

Bullet Application
MIT License
1 stars 0 forks source link

All mempool snipes get first tx reverted #68

Closed DDbullet closed 1 year ago

DDbullet commented 1 year ago

641368a196a7c4fe8d3dea6f

icex commented 1 year ago

search: 641368a196a7c4fe8d3dea6f

No orders found..

icex commented 1 year ago

I've managed to check the logs and this is not correct, your settings were not correct and triggered a buy for addliq.

Here's my detailed analysis:

Error Message: Trading is not enabled - for your initial tx - this is normal as it was triggered by addLiquidity instead of open trading. Make sure you select method ID to avoid useless failed txs.

Then this got triggered - enabled trading: https://etherscan.io/tx/0xee3d6f4e6f6be9550ec894f12ecf9fbd2af408d9fe54b9c200b227957e453a9f Position In Block: 5

And your tx for it in the same block: https://etherscan.io/tx/0xe2a64509bfa194f01687e2e53c3a7be952ac160b30c1a539c20eb3e7a8b5a121 Position In Block: 109

Mev pushed you to the end of the block. Try to use Bullet router (even without split or safety check enabled), mevs cant read our router txs.

[2023-03-16T19:13:28.026Z] INFO api-354108/MEMPOOL-1: Mempool detected function:0x8a8c523c { chain: 1, id: '641368a196a7c4fe8d3dea6f', hash: '0xee3d6f4e6f6be9550ec894f12ecf9fbd2af408d9fe54b9c200b227957e453a9f' }

.. [2023-03-16T19:13:28.027Z] INFO api-354108/MEMPOOL-1: Buying Token Tatsu with slippage 90% { id: '641368a196a7c4fe8d3dea6f', chain: 1, address: '0xb076794db217da4304c839a922f834d219a1b44b' } .. [2023-03-16T19:13:28.034Z] INFO api-354108/MEMPOOL-1: buyCall Result - ws://... 641368a196a7c4fe8d3dea6f 0xe2a64509bfa194f01687e2e53c3a7be952ac160b30c1a539c20eb3e7a8b5a121

Buy time - ~1ms (time it took to send the buy request to the node) Buy response response tx time - ~8ms(time it took the node to return the tx hash)

So time is as low as possible, but as long as the block is not ordered by FIFO, speed doens't matter anymore. Mevs killed the game(the first buy is a MEV contract).