# Zap-to-Earn

Zap-to-Earn can help user to add liquidity to the pool with just single token in one transaction. With Zap-to-Earn, DerpDEX automatically swap 50% of the token supplied by user to any of the selected token pair. Below are the steps to add liquidity using Zap-to-Earn.

1. Select the token that you want to provide and the token pair on which you want to provide liquidity.

<figure><img src="/files/4pvcb3OeBWCzfiEcJc4X" alt=""><figcaption></figcaption></figure>

2. Select the LP pair from the provided list to which you want to zap. DerpDEX will automatically convert input token to liquidity pair tokens in equal percentage and provide the liquidity to the pool. The liquidity will be set to **Full Range** for this.

<figure><img src="/files/KaYuBXkJddIfNHGGQhnn" alt=""><figcaption></figcaption></figure>

3. Input the amount and then click on Zap button below.

<figure><img src="/files/XAIPNEEYJqFLKAisSmkq" alt=""><figcaption></figcaption></figure>

4. Verify your amount of input token and the LP pair and click on `Confirm Zap` to continue. Your wallet will popup to confirm the transaction after this.

<figure><img src="/files/YmxqQFZp4UBDhL28k7hq" alt=""><figcaption></figcaption></figure>

5. Confirm the transaction on wallet and liquidity will be added to DerpDEX.

<figure><img src="/files/i61cPQNR3ROlp6Irlunq" alt=""><figcaption></figcaption></figure>

This way the user can add liquidity to the pool with just one asset in their wallet. Using Zap-to-Earn, user can provide liquidity to different pools with just single asset. This allows user to save `gas fee` of multiple swaps as DerpDEX automatically do this at smart contract level.

**Notes:**\
Please see [here](https://derpdex.gitbook.io/home/products/genesis-pools/terminology#apr-calculator) to learn more about the terms and how the projected earnings and rewards are calculated.


---

# 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://derpdex.gitbook.io/home/products/zap-to-earn.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.
