Skip to main content

Create a pool with initial liquidity

The first deposit sets the price. For example, depositing 1,000 ALPH and 50 USDT sets 1 ALPH = 0.05 USDT.
Creating a pair costs a 1 ALPH contract deposit.

Add liquidity to an existing pool

Let the user type one side, and derive the other side from the reserves:

Read a position

LP tokens are a regular fungible token whose ID is the pool ID:

Remove liquidity