Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XGov80: Open source concentrated liqudity AMM #80

Merged
merged 6 commits into from Nov 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
97 changes: 97 additions & 0 deletions Proposals/xgov-80.md
@@ -0,0 +1,97 @@
---
id: 80
title: Open source concentrated liqudity AMM
author: Ludovit Scholtz (@scholtz)
discussions-to: https://github.com/algorandfoundation/xGov/pull/80
company_name: Scholtz & Co
category: dApps
focus_area: Defi
open_source: Yes
amount_requested: 300000
status: Final
---

## Abstract
We will improve Algorand's DeFi ecosystem and with concentrated liquidity AMM we will give users better swap quotes and liquidity providers better yields in comparision with using traditional AMMs.

This grant proposal aims to advance the development and open source implementation of Automated Market Makers (AMMs) with concentrated liquidity. AMMs have emerged as a crucial component of decentralized finance (DeFi), providing efficient and decentralized mechanisms for trading digital assets. However, traditional AMMs suffer from certain limitations, such as inefficient capital utilization and vulnerability to impermanent loss.

Concentrated liquidity models address these issues by allowing liquidity providers (LPs) to concentrate their funds within specific price ranges, thereby enhancing capital efficiency and reducing the risk of impermanent loss. This proposal seeks funding to support research, development, and implementation efforts focused on creating open source algorand AMM smart contract.

By supporting this grant proposal, you will contribute to the advancement of decentralized finance by addressing the limitations of traditional AMMs and enhancing capital efficiency and risk management through the implementation of concentrated liquidity models. This research and development effort will foster innovation, attract liquidity providers, and improve the overall user experience in the rapidly evolving Algorand DeFi ecosystem.

## Team
Scholtz - Product owner. Active on <a href="https://forum.algorand.org/u/scholtz/summary">Algorand forum</a>, runs a few projects in Algorand ecosystem such as the <a href="https://www.vote-coin.com">VoteCoin</a>, <a href="https://www.a-wallet.net">A-Wallet</a>, <a href="https://aramid.finance">Aramid Bridge</a>, <a href="https://stabilitas.finance">Stabilitas</a>, <a href="https://www.asa.gol">ASA.Gold</a>. Has been winner in few hackathons, such as Algorand encode hack 2021, EUvsVirus, Swiss blockchain hackathon 2021, Bitcoin bankathon, Encode DAO hack, Algo HackJam, Greenhouse hack III, Mega Ace Hackathon, ...

## Experience with Algorand
Scholtz & Co is relay node runner.

We provide many open source tools to help algorand communities - https://github.com/scholtz?tab=repositories&q=algorand

<a href="https://youtube.com/@EverydayAlgonaut">Everyday Algonaut channel</a>

## Present Proposal
We will build Open source concentrated liqudity AMM integrated to at least one of the Algorand's DEX aggregotors.

With concentrated liquidity people get better swapping quotes, and liquidity providers will get higher returns on their investments.

### Roadmap

We will work using LeSS principles, with 2w sprints & product increments.

Estimated project delivery is 3 months from the project funding.

#### Milestone 1 - Project approved (prepayment)

Date: T
Amount: 100000 ALGO

Description: We require half of the funds to be prepaid, so that we can pay salaries for developers

#### Milestone 2 - Smart contract delivery

Date: T + 3 months
Amount: 200000 ALGO

#### Milestone 3 - Integration to DEX aggregator

Date: T + 6 months
Amount: 200000 ALGO

#### Milestone 4 - Audits (not in scope of current grant round)

Date: T + 18 months
Amount: TBE

Description: We will deliver smart contract and web with abilities to open new lp pool with concentrated liquidity, do swaps and manage the liqudity

### Community

Please join our discord at https://discord.com/invite/Z3yQkU3kbT

### White Paper

https://cloudflare-ipfs.com/ipfs/QmagzMhx2dqgAH9YePwx2UhgnMdvNG3whauLZriUunufTH

### Video presentation

https://www.youtube.com/watch?v=wqZYZzO059M

## Benefits for the community
The Algorand community stands to benefit significantly from the development and implementation of an open-source Automated Market Maker (AMM) with concentrated liquidity. Here are some key benefits that such a project can bring to the Algorand ecosystem:
- Enhanced Liquidity Efficiency: AMMs with concentrated liquidity allow liquidity providers (LPs) to optimize their capital utilization by concentrating funds within specific price ranges. This concentration leads to increased liquidity depth and reduced slippage, ultimately improving the overall efficiency of the Algorand ecosystem. Traders will experience improved trade execution and reduced trading costs, attracting more participants to the platform.
- Mitigation of Impermanent Loss: Impermanent loss is a common concern for liquidity providers in traditional AMMs. Concentrated liquidity models help mitigate this risk by allowing LPs to focus their funds on price ranges where they are more comfortable with the potential price volatility. This reduced exposure to impermanent loss makes liquidity provision more attractive and sustainable, incentivizing more LPs to participate in the Algorand ecosystem.
- Diverse Investment Opportunities: The introduction of an open-source AMM with concentrated liquidity on Algorand will create new investment opportunities for LPs. By concentrating funds in specific price ranges, LPs can capitalize on market trends, volatility, and arbitrage opportunities. This flexibility encourages LPs to actively engage in liquidity provision and brings a wider range of investment strategies to the Algorand community.
- Deeper DeFi Integration: The availability of an open-source AMM with concentrated liquidity will strengthen the DeFi ecosystem on Algorand. It will enable seamless integration with other DeFi protocols, such as lending platforms, decentralized exchanges, and yield farming protocols. This integration will enhance interoperability, allowing users to easily move their assets across various decentralized applications, thereby expanding the use cases and liquidity within the Algorand ecosystem.
- Community-driven Development and Innovation: The open-source nature of the proposed AMM encourages community participation, collaboration, and innovation. It provides an opportunity for developers within the Algorand community to contribute to the project, propose improvements, and build additional features. This fosters a sense of ownership, transparency, and decentralization within the Algorand ecosystem, leading to a more vibrant and thriving community.
- Attracting Liquidity Providers: The introduction of an AMM with concentrated liquidity on Algorand will attract liquidity providers from other blockchain ecosystems. LPs are always seeking platforms that offer capital-efficient and risk-mitigating solutions. By providing a robust and efficient concentrated liquidity AMM, Algorand can position itself as an attractive destination for LPs, driving liquidity inflow, and promoting the growth of the ecosystem.

In conclusion, the development of an open-source AMM with concentrated liquidity brings several benefits to the Algorand community. It enhances liquidity efficiency, mitigates impermanent loss, expands investment opportunities, strengthens DeFi integration, fosters community-driven development, and attracts liquidity providers. These benefits contribute to the growth, competitiveness, and resilience of the Algorand ecosystem, positioning it as a leading platform for decentralized finance.

## Additional information

We seek to establish new legal entity for this project and comply with MiCA regulations.

This grant request does not include audits, however we are open to cooperate with any auditors on audits. We assume in next period we will request funding for audits.

We have created project discord - https://discord.com/invite/Z3yQkU3kbT . Please sign in and lets have a chat.