Skip to content

Instantly share code, notes, and snippets.

@y12studio
Created February 4, 2019 06:56
Show Gist options
  • Save y12studio/6bac280e2529c93d7184d58fdd729b00 to your computer and use it in GitHub Desktop.
Save y12studio/6bac280e2529c93d7184d58fdd729b00 to your computer and use it in GitHub Desktop.
blockchain.info qr code version of WalletGenerator
diff --git a/index.html b/index.html
index cc26810..683ffa4 100755
--- a/index.html
+++ b/index.html
@@ -12355,7 +12355,7 @@ ninja.wallets.singlewallet = {
                        document.getElementById("btcaddress").innerHTML = bitcoinAddress;
                        document.getElementById("btcprivwif").innerHTML = privateKeyWif;
                        var keyValuePair = {
-                               "qrcode_public": bitcoinAddress,
+                               "qrcode_public": 'https://www.blockchain.com/btc/address/'+bitcoinAddress,
                                "qrcode_private": privateKeyWif
                        };
                        ninja.qrCode.showQrCode(keyValuePair, 4);
@@ -12511,8 +12511,8 @@ ninja.wallets.paperwallet = {

        showArtisticWallet: function (idPostFix, bitcoinAddress, privateKey) {
                var keyValuePair = {};
-               keyValuePair["qrcode_public" + idPostFix] = bitcoinAddress;
-               ninja.qrCode.showQrCode(keyValuePair, 3.5);
+               keyValuePair["qrcode_public" + idPostFix] = 'https://www.blockchain.com/btc/address/'+bitcoinAddress;
+               ninja.qrCode.showQrCode(keyValuePair, 2.8);

         var keyValuePair = {};
         keyValuePair["qrcode_private" + idPostFix] = privateKey;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment