forked from ChillingSilence/DigiSweep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
130 lines (122 loc) · 6.39 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DigiSweep - DigiByte private key recovery tool</title>
</head>
<body>
<link rel="stylesheet" type="text/css" href="ratchet-css/ratchet.min.css">
<link rel="stylesheet" type="text/css" href="ratchet-css/ratchet-theme-ios.min.css">
<link rel="stylesheet" type="text/css" media="screen and (min-width: 460px)" href="style_big.css">
<link rel="stylesheet" type="text/css" media="screen and (max-width: 459px)" href="style_small.css">
<link rel="stylesheet" type="text/css" href="style.css">
<header class="bar bar-nav">
<h1 class="title">DigiSweep</h1>
</header>
<div id="pageIntro" class="page">
<img id="logo" src="logo.svg"><br>
Please note that your private keys never leave your machine or get saved anywhere.<br>
That said we recomend you read over the code <a href="https://github.com/DigiByte-Core/DigiSweep">on GitHub</a> and you can always run a copy of this locally on your own PC.<br><br>
<input type="button" page="pageKeys" class="next" value="Next">
</div>
<div id="pageKeys" class="page">
<h1>Step 1: Locating Funds</h1>
This app needs your private information in order to find and move your funds. It is safe to put your information here because it is not recorded or transmitted from your machine. Also when you are done you will have moved the funds to a new wallet so the information will not be helpful to hackers.<br>
<br>
If you have a recovery file use this to upload: <input type="file" id="keysFile"><br>
Most newer wallets use a 12 to 24 word seed phrase or a private key. Please enter below:<br>
<textarea id="wif" cols="40" rows="5"></textarea><br>
*Multiple keys can be entered with coma(,) or spaces in between.<br>
<br> <br>
Server: <select id="server">
<option value="https://digiexplorer.info/api/" selected>Main(DigiExplorer.info)</option>
<option value="https://explorer-1.us.digibyteservers.io/api/">Backup 1(explorer-1.us.digibyteservers.io)</option>
</select><br>
<input type="button" page="pageBalances" class="next" value="Find my funds">
</div>
<div id="pageBalances" class="page">
<h1>Step 2: Verify Balance</h1>
On the next page we will get where to send the funds to. For now please verify we have found all the funds you are trying to recover.<br>
<div id="balanceTable"></div>
<div id="balanceTotals">Total DGB Found: <span id="balanceTotal"></span> DGB</div>
<input id="export" type="button" value="Export Keys(not recommended) - Safer to click Next below"><br>
<h3>Please verify this is expected value</h3>
<br><input type="button" page="pageKeys" class="back" value="Add more wallets"><input type="button" page="pageRecipients" class="next" value="Set address to send recovered DigiByte to">
</div>
<div id="pageRecipients" class="page">
<h1>Step 3: Recipients</h1>
<h3>Pick up to 100 addresses to send the <span id="recipientTotal"></span> DGB to</h3>
<b>If you need a DigiByte wallet to send your DigiByte to, you can check out <a href="https://digibytewallets.com/" target="_blank">DigiByteWallets.com</a> or <a href="https://digibyte.io/digibyte-wallet-downloads" target="_blank">DigiByte.io</a>.</b><br>
Enter your new Address(Must start with S or D) to send your recovered DigiByte to: <input type="text" id="recipientsNew"><input type="button" id="recipientsAdd" value="Add"><br>
<div id="recipientsTable"></div>
<br><input type="button" page="pageBalances" class="back" value="Back"><input id="pageRecipientsNext" type="button" page="pageSent" class="next" value="Send" disabled>
</div>
<div id="pageSent" class="page">
<h1>Thanks for using DigiSweep</h1><br>
txid: <span id="sentTXID"></span><br> <br>
Donation Address for <a href="https://github.com/mctrivia/DigiSweep">mctrivia</a>, DigiSweep author:<br>
<img class="DigiQR" uri="D9RVKBjzRvnzUUTHxZBNZ3kfAHrmci1v76"><br>
D9RVKBjzRvnzUUTHxZBNZ3kfAHrmci1v76
</div>
<div id="shadow"></div>
<div id="window_wait" class="window">
<h1>Please Wait Processing</h1>
</div>
<div id="window_export" class="window">
<h1>Export Keys</h1>
<p>Warning the below file contains private data. Be very cerful how you store it.</p>
<a id="exportLink" download="keys.csv">CSV Key File</a><br><br>
<input type="button" class="close" value="Close">
</div>
<div id="window_paths" class="window">
<h1 id="common_path_header">Checking Common Paths:</h1>
<div id="pathsTable"></div>
</div>
<div id="window_bal" class="window">
<h1>Getting Balance:</h1>
Scanning balance of <span id="keyCount"></span> private keys
</div>
<div id="window_utxos" class="window">
<h1>Getting UTXOs:</h1>
Currently gathering all unspent outputs(UTXO) for the requested addresses.<br>
This may take a minute.
</div>
<div id="window_sending" class="window">
<h1>Sending:</h1>
Sending send command to server.<br>
Your private keys do not leave this machine<br>
only signatures proving you know them.
</div>
<div id="window_password" class="window">
<h1>Password Protected Input:</h1>
<h3>Please provide a list of passwords we should try. 1 per line.</h3>
<textarea id="passwords" cols="40" rows="5"></textarea><br>
<input type="submit" id="passwordTry" value="Try Passwords"> <input type="submit" id="passwordFail" value="Cancel">
</div>
<div id="window_password2" class="window">
<h1>Password Protected Input:</h1>
<h3 id="password2_key"></h3>
<h3>Please provide a list of passwords we should try. 1 per line.</h3>
<textarea id="passwords2" cols="40" rows="5"></textarea><br>
<input type="submit" id="passwordTry2" value="Try Passwords"> <input type="submit" id="passwordFail2" value="Cancel">
</div>
<div id="window_progress" class="window">
<h1>Decoding Key</h1>
<h3 id="progress">0%</h3>
</div>
<div id="window_unspendable" class="window">
<h1>Unspendable Coins Found</h1>
<p><span id="unspendableQuantity"></span> DGB was in UTXO that can not yet be spent. To send that part of the balance you will have to try again later. The rest can be sent now.</p>
<input type="button" class="close" value="OK">
</div>
<div id="window_error" class="window">
<h1>Error:</h1>
<span id="errorMessage"></span><br>
<input type="button" class="close" value="OK">
</div>
<script src="config.js"></script>
<script src="libraries.min.js"></script>
<script src="DigiByteTX.js"></script>
<script src="main.js"></script>
</body>
</html>