# 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="https://269266869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkCojz7b5iZw9GcV2pjT%2Fuploads%2Fgit-blob-9421be3f359fba7e8b929653685c06041cb5d15a%2Fimage%20(9)%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>

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

<img src="https://269266869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkCojz7b5iZw9GcV2pjT%2Fuploads%2Fgit-blob-df23da743f615582fb13a52bd18427e35f018821%2Fimage%20(24).png?alt=media" alt="" data-size="original">

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

![](https://269266869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkCojz7b5iZw9GcV2pjT%2Fuploads%2Fgit-blob-26e8d0f8728e34160b798ce99573bfea9e295820%2Fimage%20\(23\)%20\(1\).png?alt=media)

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="https://269266869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkCojz7b5iZw9GcV2pjT%2Fuploads%2Fgit-blob-61cb29c901874f94f8c97987adab922c6469d5d2%2Fimage%20(22)%20(1).png?alt=media" 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

![](https://269266869-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRkCojz7b5iZw9GcV2pjT%2Fuploads%2Fgit-blob-73323d90696a04a532f7ffecd1951ce3360f3f7f%2Fimage%20\(16\).png?alt=media)

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

{% content-ref url="usdelm-magic-lp" %}
[usdelm-magic-lp](https://docs.talesofelleria.com/getting-started/liquidity/usdelm-magic-lp)
{% endcontent-ref %}
