scrtlabs / Grants

Repository for grant proposal submissions
42 stars 22 forks source link

Liquidity Book, highly-capital efficient Automated Market Maker #105

Open itsHaseebSaeed opened 1 year ago

itsHaseebSaeed commented 1 year ago

Project Description

Liquidity Book is an innovative Automated Market Maker (AMM) protocol designed to support high-volume trading with lower liquidity requirements. It introduces unique features that enhance the trading experience and optimize earnings for Liquidity Providers.

Screenshot 2023-06-11 at 11 23 50 PM Screenshot 2023-06-11 at 11 25 49 PM

HackSecret Winners.

Trader-crow won first prize at the HackSecret Hackathon, which helped us to unlock a grant of $20k to bring Liquidity-Book to a secret network. "A 20,000 USD grant denominated in SCRT for the hackathon winner to bring their application to mainnet"

Key Features

Comparing Liquidity Book and Uniswap V3

While both Liquidity Book and Uniswap V3 operate as concentrated liquidity AMMs, there are a few key differences:

Feature Liquidity Book Uniswap V3
Price Ranges Discretized into bins Utilizes ticks
Invariant used Constant sum Constant product
Bin Steps/Tick Sizes Can be more than 1 basis point Generally 1 basis point
Liquidity Aggregation Vertically aggregated Horizontally aggregated
Fungibility of Liquidity Positions Yes No
Liquidity Distribution Not restricted to uniform, can take any desired shape Typically uniform across price range
Swap Fees Fixed + variable pricing, allows higher fees during volatility Fixed pricing
Zero Slippage Yes No
Surge Pricing Yes No
High Capital Efficiency Yes Variable
Flexible Liquidity Distributions Yes Limited

Project Links

Demo website Github Repo

EVM Inspiration

Trader-Joe Website Trader-Joe Github Repo Trader-Joe Documentation

Team

Haseeb Saeed. Blockchain researcher turned Dev has contributed to the Secret network for almost 2 years. Core-Dev CryptoClerk.xyz. Some other unlaunched products with Shade protocol.

Twitter Github

Kent : Core-dev Amber and Fortress labs. Has contributed to Secret for more than 18 months. Twitter Github

Request / Grant Usage

Grant Timeline Total Estimate: ~5-7 weeks

Cosmwasm contracts - (LbPair contract + LbFactory + LbToken) (~2-3 weeks) Cosmwasm contracts testing (~1-2 weeks) Internal audits (~2-3 weeks)

Milestones

Start: $10k in SCRT Testnet Launch: $5k in SCRT Main-net Launch: $5k in SCRT Finish: Delivery of Liquidity-book on SCRT Networks.