Skip to content

Commit

Permalink
kiirocoin added
Browse files Browse the repository at this point in the history
  • Loading branch information
expatjedi committed Dec 22, 2023
1 parent 8ab8dc0 commit ab5ef16
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 0 deletions.
Binary file added img/kiirocoin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ <h1 class="title">Cold Wallet Generator</h1><br><br><input id="searchInput" onke
<li><a href="mooncoin.html">Mooncoin (MOON)</a></li>
<li><a href="salus.html">SaluS (SLS)</a></li>
<li><a href="oduwacoin.html">Oduwacoin (OWC)</a></li>
<li><a href="kiirocoin.html">Kiirocoin (KIIRO)</a></li>
</ol><br><br>
<div align="center"><a href="https://github.com/expatjedi/cold-wallet-generator" target="blank">Source Code</a> |
<text id="myBtn">Instructions</text>
Expand Down
90 changes: 90 additions & 0 deletions kiirocoin.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=UTF-8>
<title>Kiirocoin Cold Wallet Generator</title>
<meta name=description content="A lightweight, client-side, reliable, fast, open-source universal cold wallet generator supporting almost every major cryptocurrency">
<meta name=keywords content="minimal, reliable, fast, universal, cold, wallet, generator, offline, kiiro, kiirocoin, cryptocurrency">
<meta name=viewport content="width=device-width, initial-scale=1">
<link rel=canonical href=https://thebestcoldwallet.com/kiirocoin.html>
<link rel="stylesheet" href="css/style2.css">
</head>
<body onload=generate()>
<div id=container>
<br>
<div class=noprint>
<button onclick=generate()>Generate</button>
<button onclick=window.print()>Print</button>
<a href=index.html>
<input type=button value=Home>
</a>
</div>
<img src=img/kiirocoin.png class=center alt=verge>
<table>
<tr>
<h1 class=titlemain>Kiirocoin Cold Wallet</h1>
</tr>
<tr>
<th class=grayHeaders>Public Address <span id=shareColor>(SHARE)</span>
</th>
</tr>
<tr>
<td>
<div id=public>Generating...</div>
</td>
</tr>
<tr>
<td>
<div id=public_qr></div>
</td>
</tr>
<tr>
<th class=grayHeaders>
<div id=secretLabel>Private Key <span id=secretColor>(SECRET)</span>
</div>
</th>
</tr>
<tr>
<td>
<div id=secret>Generating...</div>
</td>
</tr>
<tr>
<td>
<div id=secret_qr></div>
</td>
</tr>
</table>
</div>
<script src=js/bitcoinjs-lib.js></script>
<script src=js/qrcode.js></script>
<script>
function generate() {
const verge = bitcoin.networks.bitcoin;
verge.pubKeyHash = 0x2d;
verge.wif = 0xd2;
verge.scriptHash = 0x07;
const keyPair = bitcoin.ECPair.makeRandom();
const pubKey = keyPair.getAddress();
const privKey = keyPair.toWIF();
document.getElementById("public").textContent = pubKey;
document.getElementById("secret").textContent = privKey;
document.getElementById("public_qr").textContent = "";
document.getElementById("secret_qr").textContent = "";
new QRCode(document.getElementById("public_qr"), {
text: pubKey,
width: 128,
height: 128,
correctLevel: QRCode.CorrectLevel.H
});
new QRCode(document.getElementById("secret_qr"), {
text: privKey,
width: 128,
height: 128,
correctLevel: QRCode.CorrectLevel.H
});
}
document.getElementById("update").textContent = "Latest update: " + document.lastModified;
</script>
</body>
</html>

0 comments on commit ab5ef16

Please sign in to comment.