# Migration

PolyDEX is deccentralised exchange where liquidity plays vital role in facilitating efficient and more price accurate token swaps. PolyDEX has a migration feature where existing liquidity providers on existing DEXes can migrate the liquidity easily and participate in yield farming easily.

### How Migration Works?

The process takes the LP tokens from other DEXes into the contract. Contract takes care of converting these LP tokens into PolyDEX-LP tokens for the same pair. Once PolyDEX-LP tokens are created, they are automatically staked in the respective farm for the pair. Thats it!

Lets say that we have LP tokens i.e we have provided liquidity for Sushiswap's ETH-AAVE.&#x20;

* Go to [Migrate Page](https://app.polydex.org/migrate)
* It will auto detect the existing LP tokens in your wallet for the pairs which already have a farm on PolyDEX.

![](/files/-MfglbHjUpxm7YKeFPx4)

* If the LP tokens are auto-detected, you can import the LP tokens. Click on Import button at the bottom. It will display this:<br>

![](/files/-MfggmdhoqYMv2tMwU3K)

* Select the tokens from the drop downs whose pair needs to migrated. You will see a message **Pool Found!** and LP token balance below.

![](/files/-MfgmmTUitqfXE30_-GW)

* Go back and you will see this pool already detected in [Migration Page](https://app.polydex.org/migrate) now <br>
* Click on the Pair. It will expand show you the details. Click **Approve**.<br>

![](/files/-Mfgn_CGIacXU03p2PHy)

* Send the approval transaction. After the transaction is processed, **Migrate + Farm** will become active.<br>

![](/files/-MfgoTEQtKWaJMHCCSV7)

* Migrate + Farm will directly migrate your liquidty and stake your LP tokens in respective Farm.<br>
* Migrate will just convert existing LP tokens to PolyDEX LPs and give it back into your wallet. You will have to manually go to [Farms page](https://app.polydex.org/farms) to participate in farming.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cryption.network/products/migration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
