alephium / ralph-example

0 stars 5 forks source link

[StableSwap] Issue 1: Liquidity Pool Implementation #31

Open polarker opened 6 days ago

polarker commented 6 days ago

Parent issue: https://github.com/alephium/ralph-example/issues/24

Objective:

Develop core functionalities for creating and managing liquidity pools in the StableSwap protocol within Ralph.

Description:

This issue focuses on enabling users to deposit and withdraw similarly-valued assets (e.g., stablecoins) into/from liquidity pools. It also involves managing pool reserves and LP tokens.

Tasks:

  1. Implement functions for users to deposit assets into a liquidity pool.
  2. Enable users to withdraw assets from the pool while accounting for reserve balances.
  3. Add support for multiple similarly-valued assets in a single pool.
  4. Develop a mechanism to track pool reserves and issue/manage LP tokens for liquidity providers.
  5. Write unit tests to validate deposit, withdrawal, and reserve tracking functionalities.

Acceptance Criteria:

Akshola00 commented 1 day ago

@polarker would love to work on this one Pls kindly assign :)

mimisavage commented 1 day ago

Can I try solving this issue?

BrunoAmbricca commented 1 day ago

I would like to work on this issue

ShantelPeters commented 1 day ago

Can I handle this task?

ptisserand commented 23 hours ago

Can I contribute to this one? I'm a cairo/linux developer and I would like to use this issue to learn more about Ralph and Alephium ecosystem.

Supa-mega commented 23 hours ago

I’d like to help with this.