# Adding liquidity to Dfyn AMM from Ethereum network

Since Dfyn AMM works on top of Matic (now Polygon) network, adding liquidity to Dfyn AMM from Ethereum network requires you to complete a few steps. Take a look at this guide to learn how to add liquidity to Dfyn AMM from your Ethereum wallet.&#x20;

## Transferring funds from Ethereum network to Matic network

**Step 1:** Go to <https://wallet.matic.network/> and click on "Move funds on Matic Mainnet."

![](/files/-M_NPzBUoL3Z6IuXbSMT)

The following screen should open up which will have an interface to transfer funds from Ethereum to Matic.

![](/files/-M_UyE_r-ocTJsM4qiWB)

**Step 2:** Click on the dropdown to select the asset to transfer.

![](/files/-M_UyL1lnTBCiLq9Q4cs)

{% hint style="info" %}
Ensure that your MetaMask is connected to the Ethereum network.&#x20;
{% endhint %}

**Step 3:** After clicking on the dropdown, search for the asset you want to transfer. In this guide we will be transferring ETH from Ethereum to Matic.

![](/files/-M_UyQQgcDWyqvLacxiG)

**Step 4:** Enter the amount of funds you want to transfer and click on Transfer.

![](/files/-M_UyWChxSHAq5g7m3L6)

{% hint style="info" %}
Note that the transfer mode should say PoS Bridge instead of Plasma.
{% endhint %}

**Step 5:** The following screen with some important notes will open up. After reading these notes, click on Continue.

![](/files/-M_Uybr7GBtWmGmcwqIG)

**Step 6:** A screen showing the estimated gas costs will open up. Click on continue.

![](/files/-M_Uz3Cz0hVUMAHl2Nxz)

{% hint style="info" %}
The cost shown on this screen is just an estimate. The actual gas costs may vary. It is a good practice to have a little more than the estimated gas cost in your wallet.
{% endhint %}

**Step 7:** Review the transaction and click on Continue.

![](/files/-M_NSLy3lS7z7YMXBbyR)

Upon clicking on Continue, the process initiates the interaction with MetaMask.

**Step 8:** A MetaMask popup will open up showing the actual gas costs. Review the total amount (gas + transfer value) before clicking on confirm.

![](/files/-M_NUE4V0yTjAJe-pt7G)

{% hint style="warning" %}
You will have to bear the gas fees on Ethereum when doing this transfer. MetaMask will show both — the Gas fees as well as the total transfer including the gas fees.
{% endhint %}

**Step 9:** Confirm this transaction and wait for the $ETH to be transferred to the Matic Mainnet.

![](/files/-M_WBRhfUtxXkrCZH2lX)

Now that we have loaded the funds to the Matic Network, we can now add liquidity to Dfyn AMM.&#x20;

{% hint style="info" %}
You can exit funds from Matic to Ethereum in a similar way. On the Matic wallet page, choose the asset you want to exit to Ethereum and click on Withdraw. It will open up the same bridge, but this time the bridge will point from Matic to Ethereum.&#x20;
{% endhint %}

## **Configuring MetaMask to work with Matic Mainnet** <a href="#id-518d" id="id-518d"></a>

**Step 1:** When you go to [exchange.dfyn.network](https://exchange.dfyn.network), click on the option to "Switch to Matic" on the top right.&#x20;

![](/files/-MZQeqiabYRIcx8wqQqS)

**Step 2:** If you don't already have the Matic Mainnet configured on MetaMask, Dfyn will add the Matic network configuration to MetaMask for you. The following dialog should open up.

![](/files/-MZQfTzPHlTUY0D_VLqV)

Click on "Approve" to allow Dfyn to add Matic network to your MetaMask wallet.

{% hint style="info" %}
This step is required only if you don't already have Matic network set up on MetaMask.
{% endhint %}

**Step 3:** Next, allow Dfyn to switch the network to Matic.

![](/files/-MZQgeshfi6kKCrYYPYl)

## Adding Liquidity to Dfyn AMM <a href="#e0e8" id="e0e8"></a>

**Step 1:** Head to <https://exchange.dfyn.network/> and add liquidity for your desired pair. In this guide, we are adding liquidity for Matic and USDT.

![](https://miro.medium.com/max/660/1*oFitWSeShWicPfN3ZOhEVg.png)

**Step 2:** Now Approve transaction for spending USDT/other crypto. Once that is done, the Supply button will be enabled. Then click on Supply and will you have to sign transactions on MetaMask as usual.

![](https://miro.medium.com/max/762/1*NLhCwc29J1idi2I1tJblDw.png)

After you add liquidity it will show your added liquidity and share of the pool.


---

# 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.dfyn.network/guides/adding-liquidity-from-ethereum-to-dfyn-amm.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.
