> For the complete documentation index, see [llms.txt](https://docs.talesofelleria.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.talesofelleria.com/getting-started/liquidity/how-to-use-magicswap.md).

# How to use MagicSwap

MagicSwap acts as a gateway to the cross-game ecosystem, built for and by the[ Treasure DAO](https://twitter.com/Treasure_DAO) community. Use MagicSwap to obtain $ELM, sell $ELM, and provide liquidity.

## How to Swap $MAGIC to $ELM

1. Head to <https://magicswap.lol/?input=MAGIC&output=ELM>
2. Connect to your wallet holding either $MAGIC that you would like to swap
3. Enter the amount of $MAGIC you would like to swap to

<figure><img src="/files/2ohyiLbvial7Bf3DvAIq" alt=""><figcaption></figcaption></figure>

4\. Press swap and approve your $MAGIC to swap, then sign the transaction

<img src="/files/qZOouVluWm74RkIdlsTj" alt="" data-size="original">

5\. Click on confirm swap and pay gas to transact

![](/files/eHbAEJQnvfWfF8hC3RLU)

Congratulations! You now have $ELM.

## How to Provide Liquidity

1. Ensure that you have sufficient $ELM and $MAGIC in your wallet that you would like to pair\
   (If you do not, refer to the instructions above on how to obtain $ELM/MAGIC)
2. Head to <https://magicswap.lol/> and click on "pool" at the bottom of the page
3. Enter the amount of $MAGIC/$ELM you would like to pair

<figure><img src="/files/VHFFiCRZepRI7uyX6QZ5" alt=""><figcaption><p>The pool will calculate the pair accordingly, just fill in either your desired $ELM or $MAGIC amount</p></figcaption></figure>

4\. Click on 'Add Liquidity' and execute the transaction to provide liquidity and obtain LP tokens.\
(Note: You will need to execute 2 transactions approving $MAGIC and $ELM if it is your first time adding liquidity)

5\. Congratulations! You have now provided Liquidity and own MagicSwap LP tokens

![](/files/W6HnhP4BgMpBWAsCh8w5)

### Read more on how you can use MagicSwap LP tokens in Elleria!

{% content-ref url="/pages/Qu1Nm2muHeuN9WBswyQg" %}
[$ELM-MAGIC LP](/getting-started/liquidity/usdelm-magic-lp.md)
{% endcontent-ref %}
