Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 800 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 800 Bytes

Emulation of Automated Market Maker


"What I cannot create, I cannot understand"

Here is a simple implementation of AMM protocol to understand it better. Many things are not implemented like minting and burning of LP Tokens, Slippage, and Concentrated Liquidity to simplify the code and understand the overview of AMM better!

To Run


git clone https://github.com/RajeshRk18/automated-market-maker.git

cd automated-market-maker

cargo run

TODO

  • Fee mechanism
  • Slippage
  • LP Tokens
  • CLI Utility & Frontend (maybe..)

Resources

UniswapV3 whitepaper

Good explanation of AMM