How to swap on Loopring - Ethereum Layer 2 via OpenOcean
How to activate Layer-2 on OpenOcean.
Visit openocean.finance page and click "Go Pro". Connect your wallet in the top right corner and choose Metamask wallet on Ethereum network, or you can connect your wallet by scanning the QR code if you are choosing "WalletConnect", then choose Ethereum network on your wallet.
After connecting wallet, click "Activate Layer-2" on the top right corner.
In order to activate layer 2, deposit assets to your account and click “Deposit to activate Layer-2”. You can select the token you prefer. You only need to deposit once to permanently activate your Layer 2 account.
Enter the amount of tokens you wish to deposit. You can see your Ethereum Balance and Layer 2 Balance on the page. We suggest the deposit amount should be based on your planned transaction volume to avoid frequent depositing and paying multiple gas fees.
Note: Depositing from Layer 1 to Layer 2 will cost gas since it’s an Ethereum Layer 1 transaction. Please ensure you have enough Ethereum balance in your wallet for gas fee in order to successfully confirm this transaction. Pay this gas cost once, and then you are on Layer 2 with those assets, living gas-free for as long as you’d like.
After depositing successfully, please click "sign" on the wallet page. You do not have to pay any gas fees to sign the transaction.
Also, please click " sign " on the wallet page again.
Congratulations! You have successfully activated Layer 2 on OpenOcean!
Other functions on Layer-2
After activation, there are options under the account menu to allow you to check your layer 2 account details and perform other functions.
Select "Layer-2 Account" to view account information.
Select "Balances" to see the details of your assets of Ethereum and Layer 2 accounts.
Select "Deposits" to check the deposit history.
How to trade on Loopring Layer 2 via OpenOcean
Select the token pair that is supported for trading on Layer 2.
Select Loopring on Layer 2 .
Select buy or sell based on what you would like to trade.
Enter the amount of tokens you wish to buy or sell.
Below is the example of buying LRC with ETH on Layer 2 via OpenOcean.
Make sure the trade you entered is accurate, then click "Confirm".
How to view your Transaction History
Select "Layer2-Orders" in dropdown of your wallet address on the top right corner.
Select "Order History" to view your transaction history.
How to deposit assets to Layer2
Select "Layer-2 Deposit" in dropdown of your wallet address on the top right corner.
Select the token that you want to deposit to Layer 2.
Next, enter the amount of tokens you want to deposit. You can see your current balance of tokens in your connected wallet. Then enter the amount based on how much you want to deposit. Last, click “Deposit” and “Confirm”.
How to withdraw from Layer2
Select "Layer-2 Withdrawal" in dropdown of your wallet address on the top right corner.
Select token you would like to withdraw. Enter your Ethereum Layer 1 withdrawal address. By default, your own address is already entered. Then enter the amount and click “Withdraw” then “Sign” on the wallet page.
Note: The default withdrawal address is your current connected wallet address. But you can also withdraw to a different address that your own.