Transfer Funds to / from Layer 2

This document applies to the current testnet version of Perpetual Protocol. Our current state of rapid development means details may be inaccurate or out of date.

Overview

The perp.exchange trading platform operates on the xDai layer 2 network to save you fees and increase the speed of trading. This requires moving funds from Ethereum layer 1 to layer 2, but don't worry, it's quick, secure and simple.

Your funds remain in the control of your own wallet at every point of your interaction with Perpetual Protocol. Perpetual Protocol never takes custody of your funds.

Deposit to Layer 2 ⬆️

Move funds from Ethereum (Layer 1) up to the xDai network (Layer 2).

  1. Click Deposit

  2. Enter the amount to deposit and click Next _waitforimage

  3. Approve the action in Metamask

    The deposit will take a few seconds to confirm on layer 1 and then layer 2

  4. Approve the funds for use on the exchange platform

Metamask will show a warning that you are signing a message that is not 'human readable'. Perpetual Protocol has been audited by two independent audit firms, including incremental audits by PeckShield, so you can proceed with confidence.

Withdraw from Layer 2 ⬇️

Move funds from the xDai network down to Ethereum (Layer 1).

  1. Click Withdraw

  2. Enter the amount to withdraw

  3. Approve the action in Metamask

  4. The withdraw process will take a few seconds...

You've transferred your funds back to layer 1!