Wpis z mikrobloga

Dobry tweetstorm od @cryptofish Warto poczytać. Temat znany ale ładnie streszczony

But what the juice is MEV?

In this thread I explain:
- MEV
- Why gas fees are so high on $ETH
- Sandwich attacks
- Dark Forests
- Flashbots
- And how all this relates to $AVAX

MEV stands for Miner Extractable Value.

On Eth, each tx has a fee and miners can choose which tx's to put in each block in whatever order they want.

MEV is the profit miners can make by including or re-ordering tx's into the block they mine.


E.g, say there's a $10,000 arbitrage opportunity on Uniswap.

A bot submits a tx for it with a $10 gas fee to the miner.

One of two things may happen:
1. Miner executes the transaction themselves.
2. Other bots notice the tx and offer a higher gas fee to frontrun that tx.

Scenario 2 is the one most often played out.

And this causes gas bidding wars which result in network congestion and skyhigh gas fees.

If you've ever paid high gas fees on eth, this is why.

Because all pending tx's can be viewed in the public mempool, bots have been sniping large tx's with "sandwich attacks" for profit.

A sandwich attack is when you place a tx before and after the one u are targetting:

- Before Tx (frontrun)
- Targetted Tx
- After Tx (backrun)
In simple terms, you see that someone is buying a large amount of token.

So first you buy it to artificially inflate the price (frontrun).

And then sell it later to make profit (backrun).

This is the high frequency trading equivalent on the blockchain.
Previously it was thought that miners behaved altruistically.

But there has been increasing evidence that they have been selling direct access to traders, allowing them to bypass the mempool and frontrunners completely in a pay-to-play model.

This has been coined the "Dark Forest" and it paints a reality that is far from the open, decentralized world we envisioned.

Luckily, many projects are addressing this issue.
Flashbots is a research project aimed to mitigate this problem.

It works by allowing users to "bundle" transactions off-chain with a "tip" to the miner.
Each bundle is an ordering of tx's that you want executed. These can be your own and other users'.

The miner receives bundles and includes the one that has the highest tip.
If your bundle is not chosen, then it is not included in the block.

And because this is all done off-chain, you don't lose money on gas.
Since launching, flashbots has seen increasing adoption by both miners and traders.

In their March report, they reported that 12 mining pools accounting for almost 60% of hash rate was using flashbots.

Increased adoption has lead to a reduction in MEV as you can see in the chart below on the left.

You may have also noticed gas prices are much lower recently too, such as today.

Other projects that are aiming to solve this problem include:
- @Archer_DAO
- @MEVprotection

I won't cover them in this thread but implore you to check them out.
So how does this all relate to $AVAX?

For starters, finalization time is so quick it's almost physically impossible for bots to conduct sandwich attacks.

Secondly, #avalanche doesn't have any miners or designated block producers!
So the conclusion?

MEV does not exist on Avalanche.

We are #safu.

#ethereum #kryptowaluty #bitcoin
  • 21
@atari_xd: jeśli dotrzesz ze swoją transakcją szybciej do większości nodów to będzie wcześniej, więc mając sieć dystrybucji na cały świat z mniejszym opóźnieniem i połączeniem do głównych nodów można robić frontrunning.

W praktyce tylko 20% ava było sprzedane publicznie, więc jak wyślesz do głównych nodów fundacji z większością stake to oni mają kontrolę i mogą zrobić frontrunning albo nie, ale to odporność oparta na zaufaniu i centralizacji a nie na protokole.
@megaloxantha: ale skąd chcesz wiedzieć że masz zrobić frontrunnig, przecież jeżeli twój node dostaje tx którą chcesz frontrunnować to już większość nodów ją ma i rozpoczyna się głosowanie nad jej ważnością, czy tam ważnością bloku, zanim wyślesz swoją to już reszta nodów będzie po głosowaniu, stake nie działa do końca tak jak napisałeś, większy stake powoduje jedynie że dany node jest częściej odpytywany podczas głosowania, jest z tym pewien problem jeden
a.....d - @megaloxantha: ale skąd chcesz wiedzieć że masz zrobić frontrunnig, przecie...

źródło: comment_1622664567n8fPDiq4gu6KloaGYg0t27.jpg

Pobierz
@atari_xd:

przecież jeżeli twój node dostaje tx którą chcesz frontrunnować to już większość nodów ją ma


błąd w założeniu, żeby robić frontrunning na ethereum trzeba było mieć masę nodów z dobrymi połączeniami na całym świecie, tak samo jest w ava i wszędzie. Protokół p2p ma swoje opóźnienia i tworząc sieć tylko do szybkiego transferu danych będziesz pierwszy.

jest z tym pewien problem jeden koleś nawet robi regularnie analizę tego i są
@WakeupPoland:?

+----------+-------------------+------------------------+
| Chain : Transaction Type | Transaction Fee (AVAX) |
+----------+-------------------+------------------------+
| P : Create Blockchain | 0.01 |
+----------+-------------------+------------------------+
| P : Add Validator | 0 |
+----------+-------------------+------------------------+
| P : Add Delegator | 0 |
+----------+-------------------+------------------------+
| P : Create Subnet | 0.01 |
+----------+-------------------+------------------------+
| P : Import AVAX | 0.001 |
+----------+-------------------+------------------------+
| P : Export AVAX | 0.001 |
+----------+-------------------+------------------------+
| X : Send
@WakeupPoland: poza tym nie wiem jaka jest tokenomika solany ale w avalanche całe fee jest palone, co pośrednio wpływa na wartość tokenu, fee już było jraz zmniejszane o połowę, myślę że wraz ze wzrostem wartości będzie zmniejszane, jakies ratio zmniejszania podaży sobie wymyślili, poza tym fee jest też blokadą przed spamowaniem sieci, solana przy takim fee można ubić ddosem za małe pieniądze