-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
380 lines (359 loc) · 16.6 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!DOCTYPE html>
<html lang="en" translate="no">
<head>
<!-- Preview Meta Tags -->
<meta name="description" content="Calculate the mining profitability for coins on the Blake2b algorithm.">
<!-- Google / Search Engine Tags -->
<meta itemprop="name" content="Blake2b Mining Calculator">
<meta itemprop="description" content="Calculate the mining profitability for coins on the Blake2b algorithm.">
<meta itemprop="image" content="https://www.blakemining.com/Images/Blake2bIMG.jpg">
<!-- Facebook Meta Tags -->
<meta property="og:url" content="https://www.blakemining.com/">
<meta property="og:type" content="website">
<meta property="og:title" content="Blake2b Mining Calculator">
<meta property="og:description" content="Calculate the mining profitability for coins on the Blake2b algorithm.">
<meta property="og:image" content="https://www.blakemining.com/Images/Blake2bIMG.jpg">
<!-- Twitter Meta Tags -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Blake2b Mining Calculator">
<meta name="twitter:description" content="Calculate the mining profitability for coins on the Blake2b algorithm.">
<meta name="twitter:image" content="https://www.blakemining.com/Images/Blake2bIMG.jpg">
<meta name="twitter:image:alt" content="Profitability for coins on the Blake2b Algorithm">
<!-- Preview Meta Tags end -->
<meta charset="UTF-8">
<link rel="shortcut icon" href="Images/Calculator Icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="style.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:300' rel='stylesheet'>
<title>Blake2b Mining Calculator</title>
</head>
<body onload="setTimeout(liveHashrate, 4000)">
<nav>
<a href="https://www.kizmotek.com/" target="_none"><img src="Images/Calculator Icon.png"></a>
<a href="https://www.blakemining.com/">
<h1>Blake2b Mining Calculator</h1>
</a>
<div id="api">
<h2>API Status: </h2>
<h2 id="apiStatus">Loading</h2>
</div>
</nav>
<main>
<div id="calcPosition">
<!-- Preset Miners -->
<h2 style="font-size: 32px;">Preset Miners</h2>
<div id="presetMiners">
<div class="minerRow">
<div class="miners">
<h3>Antminer A3</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners">
<h3>Baikal BK-B</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners">
<h3>Dragonmint B52</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners">
<h3>iBeLink DSM7T</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
</div>
<div class="minerRow">
<div class="miners">
<h3>Innosilicon S11</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners">
<h3>StrongU STU-U2</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners siaMiner">
<h3>Obelisk SC1</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners siaMiner">
<h3>ePic SC200</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
</div>
</div>
<div class="minerRow Goldshell">
<div class="miners siaMiner">
<h3>Goldshell HS3-SE</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners siaMiner">
<h3>Goldshell HS3</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
<div class="miners siaMiner">
<h3>Goldshell HS5</h3>
<input type="text" value="0" oninput="presetUpdate()">
</div>
</div>
<!-- Custom Values -->
<h2 style="font-size: 32px;" id="customValuesText">Mining Values</h2>
<div id="customValues">
<div class="customRow">
<div class="customInput">
<h3>Hashrate</h3>
<input type="text" value="0" style="border-radius: 4px 0 0 4px;" oninput="clearPreset(); liveHashrate();">
<select oninput="clearPreset(); liveHashrate();">
<option value="Giga">Gh/s</option>
<option value="Tera">Th/s</option>
</select>
</div>
<div class="customInput">
<h3>Add to difficulty</h3>
<input type="checkbox" id="difficultyToggle" checked oninput="calcDiff();">
</div>
<div class="customInput">
<h3>Reject Rate (%)</h3>
<input type="text" value="0" oninput="liveHashrate();">
</div>
</div>
<div class="customRow">
<div class="customInput">
<h3>Pool Fee (%)</h3>
<input type="text" value="1" oninput="liveHashrate();">
</div>
<div class="customInput">
<h3>Cost per kWh ($)</h3>
<input type="text" value="0.10" oninput="liveHashrate();">
</div>
<div class="customInput">
<h3>Power (W)</h3>
<input type="text" value="0" id="powerWatts" oninput="liveHashrate();">
</div>
</div>
</div>
<div id="mainDisclaimer">
<h3>The results are calculated from live data</h3>
<p>Keep in mind that if a coin with low volume has sudden price increases, it may appear artificially profitable.<br>Please do your research before investing!</p>
</div>
<div id="currencyToggle">
<h2>Currency</h2>
<div>
<h2>USD</h2>
<input type="checkbox" id="currencyToggleSwitch" oninput="toggleCurrency()">
<h2>BTC</h2>
</div>
</div>
<!-- Results -->
<div id="results">
<div id="resultTabs">
<div id="showAllTab" class="selectedTab" onclick="changeTab('showAll')">
<h2>Show All</h2>
</div>
<div id="scpTab" class="selectedTab" onclick="changeTab('scp')">
<h2>ScPrime</h2>
</div>
<div id="cash2Tab" class="selectedTab" onclick="changeTab('cash2')">
<h2>Cash2</h2>
</div>
<div id="siaTab" class="selectedTab" onclick="changeTab('sia')">
<h2>Sia</h2>
</div>
</div>
<div id="resultDisplay">
<div id="resultTableInfo">
<div class="coinName">
<h2>Coin Name</h2>
<h4>(Tag)</h4>
</div>
<div>
<h3>Block Reward</h3>
<h4>Block Height</h4>
<h5>Block Time</h5>
</div>
<div>
<h3>Network Hashrate</h3>
<h4>Difficulty</h4>
</div>
<div>
<h3>Exchange Rate</h3>
<h4>24Hr Volume</h4>
<h5>Market Cap</h5>
</div>
<div>
<h3>Income</h3>
<h3>Hour | Day</h3>
<h3>Week | Month</h3>
</div>
<div>
<h3>Income</h3>
<h3>Hour | Day</h3>
<h3>Week | Month</h3>
</div>
<div>
<h3>Profit</h3>
<h3>Hour | Day</h3>
<h3>Week | Month</h3>
</div>
</div>
<div class="resultPositioning" id="SCP">
<a href="https://scpri.me/" target="_none" class="coinName">
<img src="Images/primeLogo.png">
<h2>ScPrime</h2>
<h4>(SCP)</h4>
</a>
<a href="https://www.coingecko.com/en/coins/scprime" target="_none">
<h3>0</h3>
<h4>0</h4>
<h5>10 minutes</h5>
</a>
<a href="https://miningpoolstats.stream/scprime" target="_none">
<h3>0</h3>
<h4>0</h4>
</a>
<a href="https://www.coingecko.com/en/coins/scprime" target="_none">
<h3>0</h3>
<h4>0</h4>
<h5>0</h5>
</a>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4>SCP</h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText"></h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText"></h4>
</div>
</div>
<div class="resultPositioning" id="CASH2">
<a href="https://cash2.org/" target="_none" class="coinName">
<h4 class="disclaimer">Low Volume</h4>
<img src="Images/cash2.png">
<h2>Cash2</h2>
<h4>(CASH2)</h4>
</a>
<a href="https://www.coingecko.com/en/coins/cash2" target="_none">
<h3>0</h3>
<h4>0</h4>
<h5>9 Seconds</h5>
</a>
<a href="https://miningpoolstats.stream/cash2" target="_none">
<h3 style="color: red;">Not Implemented</h3>
<h4>0</h4>
</a>
<a href="https://www.coingecko.com/en/coins/cash2" target="_none">
<h3>0</h3>
<h4>0</h4>
<h5>0</h5>
</a>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4>Cash2</h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText"></h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText"></h4>
</div>
</div>
<div class="resultPositioning" id="SC">
<a href="https://sia.tech/" target="_none" class="coinName">
<img src="Images/siaLogo.png">
<h2>Sia</h2>
<h4>(SC)</h4>
</a>
<a href="https://www.coingecko.com/en/coins/siacoin" target="_none">
<h3>0</h3>
<h4>0</h4>
<h5>10 minutes</h5>
</a>
<a href="https://miningpoolstats.stream/siacoin" target="_none">
<h3>0</h3>
<h4>0</h4>
</a>
<a href="https://www.coingecko.com/en/coins/siacoin" target="_none">
<h3>0</h3>
<h4>0</h4>
<h5>0</h5>
</a>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4>SC</h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText"></h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText"></h4>
</div>
</div>
<div class="resultPositioning">
<div id="PowerCost">
<div class="coinName">
<img src="Images/electricityIcon.png">
<h2>Power Cost</h4>
</div>
<div>
<h3>0 | 0</h3>
<h3>0 | 0</h3>
<h4 class="currencyText">USD</h4>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="rightBar">
<div>
<h3 style="margin-bottom: 5px; color: red;">DISCLAIMER</h3>
<p id="disclaimerText">The numbers used for USD and BTC conversions are taken from Coingecko.<br>They are believed to be true but no warranty of correctness and usability can be assumed.<br>Please do your research before investing!</p>
</div>
<article>
<a href="https://bit.ly/336zKeZ" target="_none" style="display: none !important;">
<div class="aBar">
<div class="sText">Sponsored</div>
<img src="Images/cash2casino.png" class="aSpot">
</div>
</a>
<a href="https://siagear.tech/" target="_none">
<div class="aBar">
<div class="sText">Sponsored</div>
<img src="Images/siagear.png" class="aSpot">
</div>
</a>
</article>
<div id="apiLinks">
<a href="https://keops.cc/" target="_none">Keops</a>
<a href="https://www.coingecko.com/en/api" target="_none">Coin Gecko</a>
<a href="https://github.com/KizmoTek/Blake2b-Mining-Calculator" target="_none">GitHub Repository</a>
</div>
</div>
</main>
<footer>
<p>Website designed and created by <a href="https://www.kizmotek.com/" target="_none">KizmoTek</a></p>
<p>Credit to <a href="https://github.com/MasterHW" target="_none">MasterHW</a> for helping with calculations and <a href="https://keops.cc/" target="_none">Hakkane</a> for the API Setup</p>
</footer>
</body>
<script src="moment.js"></script>
<!-- <script src="sia.js"></script> -->
<script src="scp.js"></script>
<!-- <script src="cash2.js"></script> -->
<script src="tabs.js"></script>
</html>