# Converting ERC20 to SPL tokens

{% hint style="info" %}
You can use the **convert** function to deposit ETH and ERC20 tokens to your [sollet.io](https://sollet.io) wallet.
{% endhint %}

To do so, click on the token you would like to deposit. When the deposit prompt appears, click on the **ERC20** Tab.

![Deposit ERC20 tab](/files/-MXQWgEjLEvqD3vItFYf)

Click on "**CONNECT TO METAMASK**". A **MetaMask** pop-up will open; click on **Confirm**.

Once your wallet is connected, enter the amount of **ERC20 token** you would like to convert and click on "**CONVERT**". A **MetaMask** pop-up will open, asking to confirm the transaction and set the gas fees:

![](/files/-MXQX3xQWtjDYMoOTwfq)

Next, wait for the transaction to be confirmed on the blockchain

![Depositing your ERC20](/files/-MXQXIUXn_bWv6CY5S2p)

Once the transaction is confirmed, the funds will be available in your wallet.

Now we have deposited some tokens in our [sollet.io](https://sollet.io) wallet. You are now ready to do a trade on Serum.


---

# 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.projectserum.com/guides/wallet-support/sol-wallet-serum-academy/converting-erc20-to-spl-tokens.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.
