spectrum-finance / ergo-dex

Smart contracts and specification of the AMM protocol on top of the Ergo blockchain
Creative Commons Zero v1.0 Universal
67 stars 9 forks source link

Concurreny with eUTXO model #6

Open PhilippeLeLong opened 3 years ago

PhilippeLeLong commented 3 years ago

How does ergo-dex address the concurrency problem with the eUTXO model? Is the DEX limited by one swap per block?

Maybe this information could be added to the readme.

LLcryin commented 3 years ago

https://github.com/ergoplatform/ergo/issues/279

It seems Ergo blockchain has enabled chaining transaction within one block. So it should be possible to do multiple swaps in one block.

This reddit thread has more discussions. https://www.reddit.com/r/ergonauts/comments/nz6lk0/dex_eutxo_and_scaling_problems/