> For the complete documentation index, see [llms.txt](https://xdex.gitbook.io/xdex/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://xdex.gitbook.io/xdex/star-here/accounts-and-wallets/why-do-i-have-to-enable-usdc-to-deposit.md).

# Why do I have to "Enable USDC" to deposit?

Tokens on Xlayer have a built in security mechanism called "allowance". Before our smart contracts can interact with your tokens, you must give the smart contracts permission to do so. Enabling an asset is also commonly called "setting allowance".

<div align="left"><figure><img src="https://4044384595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmKAADDJlqS6BoEpWBaWI%2Fuploads%2F6xJObUjz3HY0UoGGqVdm%2Fimg_v3_02au_dde90b14-e463-4338-9283-d5d664cb6cdh.jpg?alt=media&amp;token=e1d5db86-2cb5-4934-850c-9810ce614231" alt="" width="375"><figcaption></figcaption></figure></div>

You have to set allowance exactly once, per asset you would like to deposit. Once the transaction has confirmed, you can freely deposit as many times as you would like.

<div align="left"><figure><img src="https://4044384595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmKAADDJlqS6BoEpWBaWI%2Fuploads%2FakNiOoeAEQhW1hdmiSB3%2Fimg_v3_02au_93fb70e3-c585-4fd0-a46f-e9741030430h.jpg?alt=media&amp;token=4ef6a370-d1c2-4a91-9cbc-2c5a7e6161be" alt="" width="361"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://4044384595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmKAADDJlqS6BoEpWBaWI%2Fuploads%2FJQGggEEqegiqV4Tk3Bpn%2Fimg_v3_02au_e0a35640-ded7-43e1-b01b-ef45389c451h.jpg?alt=media&amp;token=2654da1f-d8fc-43f0-a5c9-6ea7904b189f" alt="" width="354"><figcaption></figcaption></figure></div>

<div align="left"><figure><img src="https://4044384595-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmKAADDJlqS6BoEpWBaWI%2Fuploads%2FFlzDJafetX9XTwkBGEWI%2Fimg_v3_02au_89180929-cd41-4e5e-a319-80efe376bf5h.jpg?alt=media&amp;token=c432cd0b-b52d-47c9-bc32-45c04a6de71b" alt="" width="375"><figcaption></figcaption></figure></div>

{% hint style="info" %}
*Pro tip: Take advantage of our gasless deposits! With gasless deposits, XDEX pays the gas fees for your deposit. Now, the only gas you have to pay to use XDEX is when enabling an asset for the first time.*
{% endhint %}
