@@ -10049,6 +10050,24 @@ ninja.wallets.paperwallet = {
document.getElementById("bulkarea").style.display = "none";
},
+ // use this function to download the bulk generated addresses
+ // parametrs:
+ // returns:
+ // save the generated addresses as the format of (index,bitcoinAddress,privateKeyWif)
+ // save as file name "BitcoinKeys.csv"
+ download: function () {
+ let csvContent = "data:text/csv;charset=utf-8,";
+ csvContent += document.getElementById("bulktextarea").value;
+
+ var encodedUri = encodeURI(csvContent);
+ var link = document.createElement("a");
+ link.setAttribute("href", encodedUri);
+ link.setAttribute("download", "BitcoinKeys.csv");
+ document.body.appendChild(link);
+
+ link.click();
+ },
+
// use this function to bulk generate addresses
// rowLimit: number of Bitcoin Addresses to generate
// startIndex: add this number to the row index for output purposes