> For the complete documentation index, see [llms.txt](https://derpdex.gitbook.io/home/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://derpdex.gitbook.io/home/getting-started/bridge/zksync-era.md).

# zkSync Era

To do any transaction on zkSync or Base chain, you will need to have ETH and other tokens on the zkSync or Base. As zkSync and Base are Layer 2 network, we can bring tokens from layer 1 chain to layer 2(that means - from Ethereum to zkSync/Base chain). Both zkSync and base have it's own bridge which can be used for bridging tokens between L1 ↔️ L2.&#x20;

If you have ETH on Ethereum Mainnet, you can use DerpDEX's own bridge to bridge tokens from L1(Ethereum) to L2(zkSync/base). The bridge allows the user to simply deposit or withdraw the token from one chain to other. Bridging have two parts - Deposit and Withdraw. Deposit refers to the bridging of ETH from Ethereum network to L2 and Withdrawing is bridging ETH from L2 to Etherem network. Click on the below link to access the DerpDEX bridge(ETH<->zkSync) and connect your wallet.

{% embed url="<https://app.derpdex.com/#/bridge>" %}

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

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

## ETH <-> zkSync

### Deposit

1. To Deposit, head over to the Bridge and select deposit. Make sure to switch to Ethereum mainnet and input the amount to deposit.<br>

   <figure><img src="/files/3wLXpV71TVes53VaKrKi" alt=""><figcaption></figcaption></figure>
2. Click on Deposit and then confirm transaction on the wallet.<br>

   <figure><img src="/files/NnBa75E1tCHouzfzxXEr" alt=""><figcaption></figcaption></figure>
3. The transaction will get confirmed in about 5 minutes and ETH will be received on zkSync chain.

### Withdraw

1. To Withdraw, head over to the Bridge and select Withdraw. Make sure to switch to zkSync mainnet and input the amount to withdraw.<br>

   <figure><img src="/files/sjq6TwdqCtdmwIJrIqRM" alt=""><figcaption></figcaption></figure>
2. Click on Withdraw and then confirm the transaction on the wallet.<br>

   <figure><img src="/files/mUpOhFHaLQahwv8lCt4z" alt=""><figcaption></figcaption></figure>
3. The transaction will get confirmed in about 24 hours and ETH will be received on Ethereum chain.
4. To withdraw any other token, you have to just select the token from the dropdown menu by clicking on the ETH button.\
   \
   NOTE: Only **ETH** is released automatically to the user wallet, other tokens are needed to be claimed.<br>

   <figure><img src="/files/K0AhcP85L1XPZFcu5Tmf" alt=""><figcaption></figcaption></figure>
5. But, the token will not be transferred automatically to the L1 (Ethereum), you have to click on the \`CLAIM\` button on the bottom-left corner once the transaction is verified after processed the transaction in **next 24 hours**. <br>

   <figure><img src="/files/z4WBmVk29qCRYVISCcBr" alt=""><figcaption></figcaption></figure>
6. Once the `CLAIM` button is clicked, you will receive the token on the Ethereum network.
