Skip to content

Commit a358846

Browse files
committed
curecoin added
1 parent 93446ba commit a358846

File tree

3 files changed

+91
-0
lines changed

3 files changed

+91
-0
lines changed

curecoin.html

+90
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
<!DOCTYPE html>
2+
<html lang=en>
3+
<head>
4+
<meta charset=UTF-8>
5+
<title>CureCoin Cold Wallet Generator</title>
6+
<meta name=description content="A lightweight, client-side, reliable, fast, open-source universal cold wallet generator supporting almost every major cryptocurrency">
7+
<meta name=keywords content="minimal, reliable, fast, universal, cold, wallet, generator, offline, curecoin, cryptocurrency">
8+
<meta name=viewport content="width=device-width, initial-scale=1">
9+
<link rel=canonical href=https://thebestcoldwallet.com/curecoin.html>
10+
<link rel="stylesheet" href="css/style2.css">
11+
</head>
12+
<body onload=generate()>
13+
<div id=container>
14+
<br>
15+
<div class=noprint>
16+
<button onclick=generate()>Generate</button>
17+
<button onclick=window.print()>Print</button>
18+
<a href=index.html>
19+
<input type=button value=Home>
20+
</a>
21+
</div>
22+
<img src=img/curecoin.png class=center alt=curecoin>
23+
<table>
24+
<tr>
25+
<h1 class=titlemain>CureCoin Cold Wallet</h1>
26+
</tr>
27+
<tr>
28+
<th class=grayHeaders>Public Address <span id=shareColor>(SHARE)</span>
29+
</th>
30+
</tr>
31+
<tr>
32+
<td>
33+
<div id=public>Generating...</div>
34+
</td>
35+
</tr>
36+
<tr>
37+
<td>
38+
<div id=public_qr></div>
39+
</td>
40+
</tr>
41+
<tr>
42+
<th class=grayHeaders>
43+
<div id=secretLabel>Private Key <span id=secretColor>(SECRET)</span>
44+
</div>
45+
</th>
46+
</tr>
47+
<tr>
48+
<td>
49+
<div id=secret>Generating...</div>
50+
</td>
51+
</tr>
52+
<tr>
53+
<td>
54+
<div id=secret_qr></div>
55+
</td>
56+
</tr>
57+
</table>
58+
</div>
59+
<script src=js/bitcoinjs-lib.js></script>
60+
<script src=js/qrcode.js></script>
61+
<script>
62+
function generate() {
63+
const curecoin = bitcoin.networks.bitcoin;
64+
curecoin.pubKeyHash = 0x19;
65+
curecoin.scriptHash = 0x05;
66+
curecoin.wif = 0x99;
67+
const keyPair = bitcoin.ECPair.makeRandom();
68+
const pubKey = keyPair.getAddress();
69+
const privKey = keyPair.toWIF();
70+
document.getElementById("public").textContent = pubKey;
71+
document.getElementById("secret").textContent = privKey;
72+
document.getElementById("public_qr").textContent = "";
73+
document.getElementById("secret_qr").textContent = "";
74+
new QRCode(document.getElementById("public_qr"), {
75+
text: pubKey,
76+
width: 128,
77+
height: 128,
78+
correctLevel: QRCode.CorrectLevel.H
79+
});
80+
new QRCode(document.getElementById("secret_qr"), {
81+
text: privKey,
82+
width: 128,
83+
height: 128,
84+
correctLevel: QRCode.CorrectLevel.H
85+
});
86+
}
87+
document.getElementById("update").textContent = "Latest update: " + document.lastModified;
88+
</script>
89+
</body>
90+
</html>

img/curecoin.png

12.2 KB
Loading

index.html

+1
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ <h1 class="title">Cold Wallet Generator</h1><br><br><input id="searchInput" onke
7676
<li><a href="megacoin.html">Megacoin (MEC)</a></li>
7777
<li><a href="quark.html">Quark (QRK)</a></li>
7878
<li><a href="emercoin.html">Emercoin (EMC)</a></li>
79+
<li><a href="curecoin.html">Curecoin (CURE)</a></li>
7980
<li><a href="ecash.html">Ecash (XEC)</a></li>
8081
<li><a href="veruscoin.html">Veruscoin (VRSC)</a></li>
8182
<li><a href="cloakcoin.html">Cloakcoin (CLOAK)</a></li>

0 commit comments

Comments
 (0)