paperbulk
This commit is contained in:
parent
72aefc03e0
commit
6cf1d3b734
4 changed files with 20 additions and 0 deletions
|
@ -6447,6 +6447,8 @@ input[type=checkbox] { position: relative; z-index: 20; }
|
|||
-o-transform-origin:top left; -o-transform:rotate(-90deg);
|
||||
transform-origin:top left; transform:rotate(-90deg);
|
||||
}
|
||||
#paperbulkarea { padding: 50px; 0 0 0; }
|
||||
#paperbulktextarea { font-size: 90%; width: 98%; margin: 4px 0 0 0; }
|
||||
#bulkarea .body { padding: 5px 0 0 0; }
|
||||
#bulkarea .format { font-style: italic; font-size: 90%; }
|
||||
#bulktextarea { font-size: 90%; width: 98%; margin: 4px 0 0 0; }
|
||||
|
@ -6585,6 +6587,7 @@ input[type=checkbox] { position: relative; z-index: 20; }
|
|||
#singlesafety { border: 0; }
|
||||
#paperarea .keyarea:first-child { border-top: 2px solid #009900; }
|
||||
#paperarea .keyarea.art:first-child { border: 0; }
|
||||
#paperbulkarea { display: none; }
|
||||
.pagebreak { height: 1px; }
|
||||
.paper #logo { display: none; }
|
||||
.menu, .footer, .commands, #tagline, #faqs, #culturemenu { display: none; }
|
||||
|
@ -6698,6 +6701,9 @@ input[type=checkbox] { position: relative; z-index: 20; }
|
|||
</div>
|
||||
</div>
|
||||
<div id="paperkeyarea"></div>
|
||||
<div id="paperbulkarea">
|
||||
<textarea rows="20" cols="40" id="paperbulktextarea" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="bulkarea" class="walletarea">
|
||||
|
@ -9821,6 +9827,7 @@ ninja.wallets.paperwallet = {
|
|||
ninja.wallets.paperwallet.useArtisticWallet = useArtisticWallet;
|
||||
ninja.wallets.paperwallet.pageBreakAt = pageBreakAt;
|
||||
document.getElementById("paperkeyarea").innerHTML = "";
|
||||
document.getElementById("paperbulktextarea").value = "";
|
||||
if (ninja.wallets.paperwallet.encrypt) {
|
||||
if (passphrase == "") {
|
||||
alert(ninja.translator.get("bip38alertpassphraserequired"));
|
||||
|
@ -9876,6 +9883,7 @@ ninja.wallets.paperwallet = {
|
|||
// generate bitcoin address, private key, QR Code and update information in the HTML
|
||||
// idPostFix: 1, 2, 3, etc.
|
||||
generateNewWallet: function (idPostFix) {
|
||||
var paperBulkTextArea = document.getElementById("paperbulktextarea");
|
||||
if (ninja.wallets.paperwallet.encrypt) {
|
||||
var compressed = true;
|
||||
ninja.privateKey.BIP38GenerateECAddressAsync(ninja.wallets.paperwallet.intermediatePoint, compressed, function (address, encryptedKey) {
|
||||
|
@ -9886,6 +9894,7 @@ ninja.wallets.paperwallet = {
|
|||
else {
|
||||
ninja.wallets.paperwallet.showWallet(idPostFix, address, encryptedKey);
|
||||
}
|
||||
paperBulkTextArea.value += address + "\n";
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
@ -9899,6 +9908,7 @@ ninja.wallets.paperwallet = {
|
|||
else {
|
||||
ninja.wallets.paperwallet.showWallet(idPostFix, bitcoinAddress, privateKeyWif);
|
||||
}
|
||||
paperBulkTextArea.value += bitcoinAddress + "\n";
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -208,6 +208,9 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="paperkeyarea"></div>
|
||||
<div id="paperbulkarea">
|
||||
<textarea rows="20" cols="40" id="paperbulktextarea" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="bulkarea" class="walletarea">
|
||||
|
|
|
@ -88,6 +88,8 @@ input[type=checkbox] { position: relative; z-index: 20; }
|
|||
-o-transform-origin:top left; -o-transform:rotate(-90deg);
|
||||
transform-origin:top left; transform:rotate(-90deg);
|
||||
}
|
||||
#paperbulkarea { padding: 50px; 0 0 0; }
|
||||
#paperbulktextarea { font-size: 90%; width: 98%; margin: 4px 0 0 0; }
|
||||
#bulkarea .body { padding: 5px 0 0 0; }
|
||||
#bulkarea .format { font-style: italic; font-size: 90%; }
|
||||
#bulktextarea { font-size: 90%; width: 98%; margin: 4px 0 0 0; }
|
||||
|
@ -226,6 +228,7 @@ input[type=checkbox] { position: relative; z-index: 20; }
|
|||
#singlesafety { border: 0; }
|
||||
#paperarea .keyarea:first-child { border-top: 2px solid #009900; }
|
||||
#paperarea .keyarea.art:first-child { border: 0; }
|
||||
#paperbulkarea { display: none; }
|
||||
.pagebreak { height: 1px; }
|
||||
.paper #logo { display: none; }
|
||||
.menu, .footer, .commands, #tagline, #faqs, #culturemenu { display: none; }
|
||||
|
|
|
@ -44,6 +44,7 @@ ninja.wallets.paperwallet = {
|
|||
ninja.wallets.paperwallet.useArtisticWallet = useArtisticWallet;
|
||||
ninja.wallets.paperwallet.pageBreakAt = pageBreakAt;
|
||||
document.getElementById("paperkeyarea").innerHTML = "";
|
||||
document.getElementById("paperbulktextarea").value = "";
|
||||
if (ninja.wallets.paperwallet.encrypt) {
|
||||
if (passphrase == "") {
|
||||
alert(ninja.translator.get("bip38alertpassphraserequired"));
|
||||
|
@ -99,6 +100,7 @@ ninja.wallets.paperwallet = {
|
|||
// generate bitcoin address, private key, QR Code and update information in the HTML
|
||||
// idPostFix: 1, 2, 3, etc.
|
||||
generateNewWallet: function (idPostFix) {
|
||||
var paperBulkTextArea = document.getElementById("paperbulktextarea");
|
||||
if (ninja.wallets.paperwallet.encrypt) {
|
||||
var compressed = true;
|
||||
ninja.privateKey.BIP38GenerateECAddressAsync(ninja.wallets.paperwallet.intermediatePoint, compressed, function (address, encryptedKey) {
|
||||
|
@ -109,6 +111,7 @@ ninja.wallets.paperwallet = {
|
|||
else {
|
||||
ninja.wallets.paperwallet.showWallet(idPostFix, address, encryptedKey);
|
||||
}
|
||||
paperBulkTextArea.value += address + "\n";
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
@ -122,6 +125,7 @@ ninja.wallets.paperwallet = {
|
|||
else {
|
||||
ninja.wallets.paperwallet.showWallet(idPostFix, bitcoinAddress, privateKeyWif);
|
||||
}
|
||||
paperBulkTextArea.value += bitcoinAddress + "\n";
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue