You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: LoopringSmartWalletPassphraseExtractor/Program.cs
+38-14Lines changed: 38 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
usingLoopringSmartWalletRecoveryPhraseExtractor;
2
2
usingNethereum.HdWallet;
3
3
usingNewtonsoft.Json;
4
+
usingOpenCvSharp;
4
5
usingSystem.Security.Cryptography;
5
6
usingSystem.Text;
6
7
@@ -9,22 +10,45 @@ internal class Program
9
10
privatestaticvoidMain(string[]args)
10
11
{
11
12
QrCodeJsonqrCodeJson=null;
12
-
stringloopringMigrationCodeQrText="";//the text of your Loopring migration qr code in JSON Format, eg: {"wallet":"0x99","iv":"2IcZe","mnemonic":"uvkZ","ens":"fudgey.loopring.eth","isCounterFactual":false,"register":"61,","type":"LoopringWalletSmart","setting":3232,"salt":"ikq","network":"ETHEREUM"}
13
-
while(qrCodeJson==null)
13
+
14
+
// Path to the image
15
+
stringimagePath="";
16
+
while(string.IsNullOrEmpty(imagePath))
14
17
{
15
-
Console.WriteLine("Enter your Loopring Migration QR Code Text in JSON Format: ");
0 commit comments