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
DO NOT SHARE ANYTHING GENERATED BY THIS TOOL OR THE LOOPRING QR MIGRATON CODE WITH ANYONE AT ALL
- Visual Studio 2022 - only needed if you are building from this source code yourself. Otherwise grab a precompiled release here
- Loopring Migration QR Code - DO NOT SHARE THIS WITH ANYONE AT ALL
- Loopring App Passcode - DO NOT SHARE THIS WITH ANYONE AT ALL
-
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!!!
-
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.
-
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!!!
-
Enter your Loopring App Passcode into the second prompt. DO NOT SHARE THIS PASSCODE WITH ANYONE AT ALL!!!
-
Your recovery passphrase for the OWNER wallet should then be displayed. DO NOT SHARE THIS WITH ANYONE AT ALL
-
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.
-
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!!!
-
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.
-
Enter the QR Code JSON text into the first prompt. DO NOT SHARE THE QR CODE IMAGE/DECODED TEXT WITH ANYONE AT ALL!!!
-
Enter your Loopring App Passcode into the second prompt. DO NOT SHARE THIS PASSCODE WITH ANYONE AT ALL!!!
-
Your recovery passphrase for the OWNER wallet should then be displayed. DO NOT SHARE THIS WITH ANYONE AT ALL
-
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.
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!
Also thanks to Cobmin for help/testing with the QR Code Text Extraction.