Skip to content

Extract the Recovery Phrase and L1 Private Key for the OWNER wallet of a Loopring Smart Wallet via the Loopring Migration QR Code.

Notifications You must be signed in to change notification settings

fudgebucket27/LoopringSmartWalletRecoveryPhraseExtractor

Repository files navigation

LoopringSmartWalletRecoveryPhraseExtractor

What is this?

This is a tool to extract the Recovery Phrase and L1 Private Key for the OWNER wallet of a Loopring Smart Wallet via the Loopring Migration QR Code.

Behind every Loopring Smart Wallet(Counterfactual & Layer 1 activated) is a hidden wallet known as an owner. This owner wallet has control over your Loopring smart wallet and even has a layer 1 private key. You can use this layer 1 private key to sign requests on behalf of your Loopring smart wallet to the Loopring API and in Loopring airdrop tools like Maize

Important

DO NOT SHARE ANYTHING GENERATED BY THIS TOOL OR THE LOOPRING QR MIGRATON CODE WITH ANYONE AT ALL

Requirements

  1. Visual Studio 2022 - only needed if you are building from this source code yourself. Otherwise grab a precompiled release here
  2. Loopring Migration QR Code - DO NOT SHARE THIS WITH ANYONE AT ALL
  3. Loopring App Passcode - DO NOT SHARE THIS WITH ANYONE AT ALL

How to use v2.x.x

  1. Generate the Migration QR Code image via the Loopring Smart Wallet app and save it to a location on the PC that will be running this tool. DO NOT SHARE THE QR CODE IMAGE WITH ANYONE AT ALL!!!

  2. If building from source, clone this repo and run this solution in Visual Studio. Otherwise grab a precompiled release here,unzip and run the executable file.

  3. Enter the full file path of the Migration QR Code image into the first prompt. DO NOT SHARE THE QR CODE IMAGE/DECODED TEXT WITH ANYONE AT ALL!!!

  4. Enter your Loopring App Passcode into the second prompt. DO NOT SHARE THIS PASSCODE WITH ANYONE AT ALL!!!

  5. Your recovery passphrase for the OWNER wallet should then be displayed. DO NOT SHARE THIS WITH ANYONE AT ALL

  6. Your L1 Private key of the OWNER wallet will then be displayed. You can use this L1 Private Key of the OWNER wallet to sign requests for your Loopring Smart Wallet with the Loopring API that need ECDSA. You can also use this L1 Private Key of the OWNER wallet with Loopring Airdrop tools like Maize for your Loopring Smart Wallet. DO NOT SHARE THE L1 PRIVATE KEY WITH ANYONE AT ALL. A MALICIOUS USER COULD DO A WITHDRAWAL/TRANSFER OF YOUR ASSETS FROM LOOPRING LAYER 2 INTO ANY LOOPRING LAYER 2/ETHEREUM LAYER 1 ADDRESS WITH IT.

How to use v1.x.x

  1. Generate the Migration QR Code image via the Loopring Smart Wallet app and extract the QR Code JSON text using a code reader. DO NOT SHARE THE QR CODE IMAGE/TEXT WITH ANYONE AT ALL!!!

  2. If building from source, clone this repo and run this solution in Visual Studio. Otherwise grab a precompiled release here,unzip and run the executable file.

  3. Enter the QR Code JSON text into the first prompt. DO NOT SHARE THE QR CODE IMAGE/DECODED TEXT WITH ANYONE AT ALL!!!

  4. Enter your Loopring App Passcode into the second prompt. DO NOT SHARE THIS PASSCODE WITH ANYONE AT ALL!!!

  5. Your recovery passphrase for the OWNER wallet should then be displayed. DO NOT SHARE THIS WITH ANYONE AT ALL

  6. Your L1 Private key of the OWNER wallet will then be displayed. You can use this L1 Private Key of the OWNER wallet to sign requests for your Loopring Smart Wallet with the Loopring API that need ECDSA. You can also use this L1 Private Key of the OWNER wallet with Loopring Airdrop tools like Maize for your Loopring Smart Wallet. DO NOT SHARE THE L1 PRIVATE KEY WITH ANYONE AT ALL. A MALICIOUS USER COULD DO A WITHDRAWAL/TRANSFER OF YOUR ASSETS FROM LOOPRING LAYER 2 INTO ANY LOOPRING LAYER 2/ETHEREUM LAYER 1 ADDRESS WITH IT.

Credits

Huge thanks to Folays in the Loopring discord for the original process which I converted into C#. Here's his post where he figured this out! image

Also thanks to Cobmin for help/testing with the QR Code Text Extraction.

About

Extract the Recovery Phrase and L1 Private Key for the OWNER wallet of a Loopring Smart Wallet via the Loopring Migration QR Code.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages