HomeKnowledge BaseHow to create a LVR Protected Liquidity Pool on CoW AMM

How to create a LVR Protected Liquidity Pool on CoW AMM

4 min read
·
Published Aug 21, 2024, 12:50 PM

How to create a LVR Protected Liquidity Pool on CoW AMM

Accessing the creation page UI

CoW AMM is a new type of AMM built from the group up to protect LPs from price exploitation in the form of LVR. Liquidity providers expect their tokens to earn yield, but most liquidity pools are actually not profitable after accounting for stale prices. Arbitrageurs exploit these stale prices at the expense of LPs. CoW AMM fixes LVR once and for all, with liquidity pools proven to outperform reference Balancer and Uniswap pools.

Now, you can create your own CoW AMM pools too! To get started, navigate to the Balancer CoW AMM pool creator.

You can access the pool creator in several ways. The first is to navigate to the CoW AMM liquidity pools page, scroll down to the bottom, and click “create a pool.”

Cowamm_poolguide_1.png Cowamm_poolguide_2.png

You can also open the pool creator from the banner on the CoW Swap homepage.

Cowamm_poolguide_3.png

The third way is to access the pool creator directly at https://pool-creator.balancer.fi/ and click the icon to enter the pool creation page.

Cowamm_poolguide_4.png

Once inside, you’ll see the following interface:

Cowamm_poolguide_5.png

Configuring your own LVR Protected pool for deployment

To get started, select the tokens you want to use to create your LVR-protected pool.

Cowamm_poolguide_6.png

After selecting your tokens, specify the deposit amounts. Keep in mind that the pool creator currently only supports 50/50 pools so add an equivalent dollar amount of both assets.

Cowamm_poolguide_7.png

After selecting your assets and amounts, tick the checkbox confirming that you understand assets must be added proportionally or you risk loss of funds via arbitrage. Once you’ve done this, click the “Preview” button.

Cowamm_poolguide_8.png

Deploying your LVR Protected pool onchain

Creating a pool requires several approval and swap steps through your wallet. The first is the actual pool creation, to initiate this click the “Create Pool” button and check your connected wallet interface.

Cowamm_poolguide_9.png

In your wallet, approve the pool creation by signing. Remember to double check that you are signing the correct transaction!

Cowamm_poolguide_9.1.png

Once you’ve created the pool, click “Approve” to approve the first token you want to create a pool for.

Cowamm_poolguide_9.2.png

Sign the transaction in your wallet.

Cowamm_poolguide_9.3.png

The next step is to approve the second asset you’re adding to the pool by clicking the “Approve” button once again.

Cowamm_poolguide_9.4.png

Sign the transaction in your wallet.

Cowamm_poolguide_9.5.png

The next transaction adds the initial funds for your first asset to the pool.

Cowamm_poolguide_9.6.png

Sign the transaction in your wallet.

Cowamm_poolguide_9.7.png

The transaction after that adds the initial funds for your second asset to the pool.

Cowamm_poolguide_9.8.png

Sign the transaction in your wallet.

Cowamm_poolguide_9.9.png

Almost there! The second to last transaction sets the swap fee for the pool. Currently, all CoW AMM pools must set the swap fee to the maximum amount (99.99%)

Cowamm_poolguide_9.91.png

Sign the transaction in your wallet.

Cowamm_poolguide_9.92.png

Last, click the “Finalize” button to make your last transaction and finalize the pool creation.

Cowamm_poolguide_9.93.png

Sign the transaction in your wallet.

Cowamm_poolguide_9.94.png

Once created, you can view your pool by clicking the “View on Balancer” button.

Cowamm_poolguide_9.95.png

Your new pool will now appear in the list of CoW AMM pools on Balancer! Once created, users can LP their own tokens, growing the size of the pool for the two assets you’ve selected.

Cowamm_poolguide_9.96.png

You can click on the pool to view its current size, APR, yield, and more.

Cowamm_poolguide_9.97.png

The interface also showcases the exact amount of liquidity you specifically have added out of everyone for this pool, as well as the pool composition split between assets.

Cowamm_poolguide_9.98.png Cowamm_poolguide_9.99.png

Congratulations! You’ve created your first CoW AMM Balancer pool.