mpizenberg / cardano_dex_poc

PoC contracts for a Cardano DEX
Apache License 2.0
1 stars 0 forks source link

cardano_dex_poc

The Idea

The white paper is available in issue 2. Below is a summary of the idea.

Current DEXs on cardano are of three kinds:

  1. constant product liquidity pool (minswap, sundae, spectrum, ...)
  2. simple order book (muesli, genius)
  3. complete but complex and expensive (axo)

I believe there is space for a new DEX that has the following characteristics:

These are all features that fit perfectly with Cardano's eUTxO model. I already have proofs of concept contracts for most of these. Any of the existing DEXes on Cardano have tradeoffs that make some of these properties impossible. For example batching prevents atomic composability. Axo's dedicated processing network makes it expensive and not as easily composable with other markets, etc.

This will benefit all Cardano users as it will make trades more capital-efficient and have a lower impact on the overall network block space.

Remark: This project has many similarities with the very recent beta-release of cardano-swaps, so I see potential collaborations.

Disclaimer

The validators in this repository are proofs of concept. As a consequence, they are not written in ways that prevent all known validator exploits, and will be exploited if you use them as-is. By using them, you agree to do so at your own risk. They are only public to showcase the key ideas behind them.